import { LineSeries, CommonLineProps, DataProps, InferX, InferY, InferSeriesId, LineSvgProps, LineGenerator, AreaGenerator, AllowedValue, ComputedSeries, Point, SliceData } from './types'; export declare function useLineGenerator(curve: CommonLineProps['curve']): LineGenerator; export declare function useAreaGenerator({ curve, yScale, areaBaselineValue, }: { curve: CommonLineProps['curve']; yScale: (y: Y) => number; areaBaselineValue: Y; }): AreaGenerator; export declare const useSlices: ({ componentId, enableSlices, points, width, height, }: { componentId: string; enableSlices: Exclude["enableSlices"], undefined>; points: Point[]; width: number; height: number; }) => SliceData[]; export declare const LINE_UNIQUE_ID_PREFIX = "line"; export declare const useLine: ({ data, xScale: xScaleSpec, xFormat, yScale: yScaleSpec, yFormat, width, height, colors, curve, areaBaselineValue, pointColor, pointBorderColor, enableSlices, initialHiddenIds, }: DataProps & Pick, "xScale" | "yScale" | "colors" | "curve" | "areaBaselineValue" | "pointColor" | "pointBorderColor"> & { xFormat?: CommonLineProps["xFormat"]; yFormat?: CommonLineProps["yFormat"]; } & Pick, "enableSlices" | "initialHiddenIds"> & { width: number; height: number; }) => { legendData: { id: InferSeriesId; label: string; color: string; hidden: boolean; }[]; toggleSeries: (id: InferSeriesId) => void; lineGenerator: LineGenerator; areaGenerator: AreaGenerator; getColor: (series: Series) => string; series: ComputedSeries[]; xScale: (x: InferX) => number; yScale: (y: InferY) => number; slices: SliceData[]; points: Point[]; }; //# sourceMappingURL=hooks.d.ts.map