import { BIASOptions, IndicatorType, MAOptions, RSIOptions, WROptions } from '../types'; /** 指标分组:主图叠加 / 独立副图 */ export type IndicatorGroup = 'main' | 'sub'; /** 单个指标的展示元信息 */ export interface IndicatorMeta { value: IndicatorType; /** 展示名(用于选择器、副图标题、tooltip 等) */ label: string; group: IndicatorGroup; } /** * 指标元信息的单一数据源。 * 选择器、副图标题、面板布局等所有需要「指标 → 名称 / 分组」的地方都从这里取, * 避免散落多份导致漂移。新增指标只需在此追加一行。 */ export declare const INDICATOR_META: IndicatorMeta[]; /** 指标 → 展示名 映射(派生自 INDICATOR_META) */ export declare const INDICATOR_LABELS: Record; /** 主图指标元信息列表 */ export declare const MAIN_INDICATOR_METAS: IndicatorMeta[]; /** 副图指标元信息列表 */ export declare const SUB_INDICATOR_METAS: IndicatorMeta[]; /** 主图指标 key 集合(用于快速判断分组) */ export declare const MAIN_INDICATOR_KEYS: IndicatorType[]; /** 判断指标属于主图还是副图 */ export declare function getIndicatorGroup(indicator: IndicatorType): IndicatorGroup; export declare function getMAPeriods(options?: MAOptions): number[]; export declare function getRSIPeriods(options?: RSIOptions): number[]; export declare function getWRPeriods(options?: WROptions): number[]; export declare function getBIASPeriods(options?: BIASOptions): number[]; export declare function getMetricEntries(record: Record | undefined, prefix: string): Array<[string, number | null | undefined]>; export declare function formatMetricLabel(key: string): string;