import type { ScaleLinear } from 'd3-scale'; import type { PropsWithChildren } from 'react'; type ScaleLinearNumberFunction = (spectrumId?: number | null | string) => 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-runtime").JSX.Element; export {}; //# sourceMappingURL=ScaleContext.d.ts.map