import type { ScaleBand } from '@mui/x-charts-vendor/d3-scale'; import type { D3ContinuousScale } from '@mui/x-charts/internals'; import type { ChartDrawingArea } from '@mui/x-charts/hooks'; import type { DefaultizedOHLCSeriesType } from "../models/index.mjs"; export interface CandlestickPlotData { candleCenters: Float32Array; candleHeights: Float32Array; candleColors: Uint8ClampedArray; wickCenters: Float32Array; wickHeights: Float32Array; wickColors: Uint8ClampedArray; } export declare function useCandlestickPlotData(drawingArea: ChartDrawingArea, series: DefaultizedOHLCSeriesType, xScale: ScaleBand<{ toString(): string; }>, yScale: D3ContinuousScale): CandlestickPlotData;