export type ChartType = 'candlestick' | 'bar' | 'line' | 'area' | 'baseline';
export type Theme = 'dark' | 'light';

export interface OHLCVBar {
  time:   number;
  open:   number;
  high:   number;
  low:    number;
  close:  number;
  volume: number;
}

export interface IndicatorParam {
  name:    string;
  type:    'number' | 'string' | 'boolean';
  default: number | string | boolean;
  min?:    number;
  max?:    number;
}

export interface IndicatorConfig {
  id:     string;
  type:   string;
  params: Record<string, number | string | boolean>;
  plots?:  import('./indicatorRegistry').PlotDef[];
  hlines?: import('./indicatorRegistry').HLineDef[];
}
