import type { ScaleLinear } from "d3-scale"; import React, { type PropsWithChildren } from "react"; interface CartesianChartContext { xScale: ScaleLinear; yScale: ScaleLinear; } declare const CartesianChartContext: React.Context; interface CartesianChartProviderProps { xScale: ScaleLinear; yScale: ScaleLinear; } export declare const CartesianChartProvider: (props: PropsWithChildren) => React.JSX.Element; export declare const useCartesianChartContext: () => CartesianChartContext; export {};