/** * @import * as _ from "./modules/leeoniya-ufuzzy/1.0.19/dist/uFuzzy.d.ts" * * @import { IChartApi, ISeriesApi as _ISeriesApi, SeriesDefinition, SingleValueData as _SingleValueData, CandlestickData as _CandlestickData, BaselineData as _BaselineData, HistogramData as _HistogramData, SeriesType as LCSeriesType, IPaneApi, LineSeriesPartialOptions as _LineSeriesPartialOptions, HistogramSeriesPartialOptions as _HistogramSeriesPartialOptions, BaselineSeriesPartialOptions as _BaselineSeriesPartialOptions, CandlestickSeriesPartialOptions as _CandlestickSeriesPartialOptions, WhitespaceData, DeepPartial, ChartOptions, Time, LineData as _LineData, createChart as CreateChart, LineStyle } from './modules/lightweight-charts/5.0.9/dist/typings.js' * * @import { Signal, Signals, Accessor } from "./signals.js"; * * @import { BrkClient, CatalogTree_Computed_Distribution_UtxoCohorts as UtxoCohortTree, CatalogTree_Computed_Distribution_AddressCohorts as AddressCohortTree, CatalogTree_Computed_Distribution_UtxoCohorts_All as AllUtxoPattern, _10yTo12yPattern as MinAgePattern, _0satsPattern2 as UtxoAmountPattern, _0satsPattern as AddressAmountPattern, Ratio1ySdPattern, Dollars, Price111dSmaPattern as EmaRatioPattern, Index, BlockCountPattern, BitcoinPattern, BlockSizePattern, BlockIntervalPattern, CoinbasePattern, ActivePriceRatioPattern, _0satsPattern, UnclaimedRewardsPattern as ValuePattern, SentPattern as RewardPattern, Metric, MetricPattern, AnyMetricPattern, MetricEndpoint, MetricData, AnyMetricEndpoint, AnyMetricData, DollarsPattern, CountPattern2 } from "./modules/brk-client/index.js" * * @import { Resources, MetricResource } from './resources.js' * * @import { Valued, SingleValueData, CandlestickData, Series, ISeries, HistogramData, LineData, BaselineData, LineSeriesPartialOptions, BaselineSeriesPartialOptions, HistogramSeriesPartialOptions, CandlestickSeriesPartialOptions, CreateChartElement, Chart, Legend } from "./chart/index.js" * * @import { Color, ColorName, Colors } from "./utils/colors.js" * * @import { WebSockets } from "./utils/ws.js" * * @import { Option, PartialChartOption, ChartOption, AnyPartialOption, ProcessedOptionAddons, OptionsTree, SimulationOption, AnySeriesBlueprint, SeriesType, AnyFetchedSeriesBlueprint, TableOption, ExplorerOption, UrlOption, PartialOptionsGroup, OptionsGroup, PartialOptionsTree, UtxoCohortObject, AddressCohortObject, CohortObject, UtxoCohortGroupObject, AddressCohortGroupObject, CohortGroupObject, FetchedLineSeriesBlueprint, FetchedHistogramSeriesBlueprint, PartialContext, AgeCohortObject, AmountCohortObject, AgeCohortGroupObject, AmountCohortGroupObject } from "./options/partial.js" * * @import { UnitObject as Unit } from "./utils/units.js" * * @import { ChartableIndexName } from "./panes/chart/index.js"; */ // import uFuzzy = require("./modules/leeoniya-ufuzzy/1.0.19/dist/uFuzzy.d.ts"); /** * @typedef {typeof import("./lazy")["default"]} Modules * @typedef {[number, number, number, number]} OHLCTuple * * @typedef {InstanceType["INDEXES"]} Indexes * @typedef {Indexes[number]} IndexName * @typedef {InstanceType["POOL_ID_TO_POOL_NAME"]} PoolIdToPoolName * @typedef {keyof PoolIdToPoolName} PoolId * * Pattern unions by cohort type * @typedef {AllUtxoPattern | MinAgePattern | UtxoAmountPattern} UtxoCohortPattern * @typedef {AddressAmountPattern} AddressCohortPattern * @typedef {UtxoCohortPattern | AddressCohortPattern} CohortPattern * * Capability-based pattern groupings (patterns that have specific properties) * @typedef {AllUtxoPattern | MinAgePattern | UtxoAmountPattern} PatternWithRealizedPrice * @typedef {AllUtxoPattern} PatternWithFullRealized * @typedef {AllUtxoPattern | MinAgePattern | UtxoAmountPattern} PatternWithNupl * @typedef {AllUtxoPattern | MinAgePattern | UtxoAmountPattern} PatternWithCostBasis * @typedef {AllUtxoPattern | MinAgePattern | UtxoAmountPattern} PatternWithActivity * @typedef {AllUtxoPattern | MinAgePattern} PatternWithCostBasisPercentiles * * Cohort objects with specific pattern capabilities * @typedef {{ name: string, title: string, color: Color, tree: PatternWithRealizedPrice }} CohortWithRealizedPrice * @typedef {{ name: string, title: string, color: Color, tree: PatternWithFullRealized }} CohortWithFullRealized * @typedef {{ name: string, title: string, color: Color, tree: PatternWithNupl }} CohortWithNupl * @typedef {{ name: string, title: string, color: Color, tree: PatternWithCostBasis }} CohortWithCostBasis * @typedef {{ name: string, title: string, color: Color, tree: PatternWithActivity }} CohortWithActivity * @typedef {{ name: string, title: string, color: Color, tree: PatternWithCostBasisPercentiles }} CohortWithCostBasisPercentiles * * Tree branch types * @typedef {InstanceType["tree"]["computed"]["market"]} Market * @typedef {Market["movingAverage"]} MarketMovingAverage * @typedef {Market["dca"]} MarketDca * * Generic tree node type for walking * @typedef {AnyMetricPattern | Record} TreeNode * * Chartable index IDs (subset of IndexName that can be charted) * @typedef {"height" | "dateindex" | "weekindex" | "monthindex" | "quarterindex" | "semesterindex" | "yearindex" | "decadeindex"} ChartableIndex */ // DO NOT CHANGE, Exact format is expected in `brk_bundler` // @ts-ignore import("./main.js");