import { ReactNode } from 'react';
import { ChartProps, FallbackProps, QueryConfig, StylesProps } from '../modal/props';
type ChartWrapperProps = {
    children: (props: ChartProps) => ReactNode;
    height?: number | string;
    width?: number | string;
} & ChartProps & QueryConfig & StylesProps & FallbackProps;
export declare function ChartWrapper({ endpoint, token, error, loading, data, children, height, width, colorPalette, borderColor, borderRadius, boxShadow, padding, backgroundColor, textColor, fontFamily, fontSize, fallbackError, fallbackLoading, fetcher, onError, onSuccess, refreshInterval, ...rest }: ChartWrapperProps): JSX.Element;
export {};
