/** * CandlestickChart - OHLC (open/high/low/close), bougies vertes/rouges. * API canonique (référence Svelte, React/Vue doivent s'aligner) * * Props obligatoires : * data CandlestickChartDatum[] - tableau {label, open, high, low, close} * label string * * Props optionnelles : * width number (défaut 480) * height number (défaut 240) * annotations ChartAnnotation[] - overlay support/résistance/zones/events * dataLabels boolean | { format?, position? } - étiquette close par bougie * hoverKey string | null - crosshair contrôlé (clé = date/catégorie) * onHoverKeyChange (key) => void - émet la date survolée (ou null) * keyboardNav boolean - navigation clavier (roving tabindex) * onSelectKey (key) => void - sélection clavier (Enter/Space) ; null = Escape * class string */ export type CandlestickChartDatum = { label: string; open: number; high: number; low: number; close: number; }; import { type ChartAnnotation } from "./chartAnnotations.js"; import { type DataLabelsProp } from "./chartDataLabels.js"; type CandlestickChartProps = { data: CandlestickChartDatum[]; label: string; width?: number; height?: number; annotations?: ChartAnnotation[]; dataLabels?: DataLabelsProp; hoverKey?: string | null; onHoverKeyChange?: (key: string | null) => void; keyboardNav?: boolean; onSelectKey?: (key: string | null) => void; class?: string; }; declare const CandlestickChart: import("svelte").Component; type CandlestickChart = ReturnType; export default CandlestickChart; //# sourceMappingURL=CandlestickChart.svelte.d.ts.map