import type { ScaleLinear } from 'd3-scale'; import type { PropsWithChildren } from 'react'; export interface ScaleLinearNumberOptions { spectrumId?: number | null | string; customDomain?: number[]; } export type ScaleLinearNumberFunction = (options?: ScaleLinearNumberOptions) => ScaleLinear; interface ScaleState { scaleX: ScaleLinearNumberFunction | null; scaleY: ScaleLinearNumberFunction | null; shiftY: number; spectraBottomMargin: number; } export declare function useScale(): ScaleState; type CheckedScaleState = { [key in keyof ScaleState]: Exclude; }; export declare function useScaleChecked(): CheckedScaleState; export declare function ScaleProvider({ children }: Required): import("react").JSX.Element; export {}; //# sourceMappingURL=ScaleContext.d.ts.map