import { ScaleConfig } from '@visx/scale'; import React from 'react'; import { AxisScaleOutput } from '@visx/axis'; import { ResizeObserverPolyfill } from '@visx/responsive/lib/types'; import { XYChartTheme } from '../types'; import { Dimensions } from '../hooks/useDimensions'; /** Props that can be passed to initialize/update the provider config. */ export declare type DataProviderProps, YScaleConfig extends ScaleConfig> = { initialDimensions?: Partial; theme?: XYChartTheme; xScale: XScaleConfig; yScale: YScaleConfig; children: React.ReactNode; horizontal?: boolean | 'auto'; /** * Optionally set the resizeObserverPolyfill context, which will be available to * ParentSize, Tooltip, and AnnotationLabel components. */ resizeObserverPolyfill?: ResizeObserverPolyfill; }; export default function DataProvider, YScaleConfig extends ScaleConfig, Datum extends object>({ initialDimensions, theme: propsTheme, xScale: xScaleConfig, yScale: yScaleConfig, children, horizontal: initialHorizontal, resizeObserverPolyfill, }: DataProviderProps): JSX.Element; //# sourceMappingURL=DataProvider.d.ts.map