import type { SnapStrategy } from '@primeui/chart-core'; import type { ChartText, AnimatedPropertyStoreLike, AnyFeatureProps, CanvasCompositorLike, BandScale, BoxArea, CandlestickHitTestResult, CandlestickProps, CandlestickRenderData, CartesianHitTestResult, CartesianLayoutData, ChartTheme, CrosshairSeriesHit, DatasetRegistration, FeatureType, HoverConfig, LinearScale } from '@primeui/chart-types'; import type { ComputedRef, Ref, ShallowRef } from 'vue'; export type ChartCandlestickProps = CandlestickProps; export interface UseCandlestickRendererOptions { chartArea: ComputedRef; renderer: 'svg' | 'canvas'; canvasEl: Ref | ShallowRef; datasets: ComputedRef>; datasetVisibility: ComputedRef>; features: ComputedRef>; hover: ComputedRef<{ datasetId: string | null; index: number | null; }>; hoverConfig: ComputedRef; chartId: string; width: ComputedRef; height: ComputedRef; categoryScale: ComputedRef; valueScales: ComputedRef | undefined>; firstValueAxisId: ComputedRef; layoutData: ComputedRef; compositor?: CanvasCompositorLike; theme: ComputedRef>; text: ComputedRef; numberFormat: ComputedRef; locale: Ref; } export interface UseCandlestickRendererResult { groupRef: Ref; hitTest: (x: number, y: number) => CandlestickHitTestResult | null; findAllNearest: (x: number, y: number, snap?: SnapStrategy, shared?: boolean) => { primary: CartesianHitTestResult; allSeries: CrosshairSeriesHit[]; } | null; candlestickLayouts: Map; applyPropertyAnimations: (store: AnimatedPropertyStoreLike) => void; renderFrameCycle: () => void; syncWithAnimatedScale: (categoryScale: BandScale, valueScales?: Map) => void; }