import { ReactNode } from 'react'; import { QueryLoadResult } from '../ChartRenderer/ChartRenderer'; type ChartRendererStateProviderProps = { children: ReactNode; }; export declare function ChartRendererStateProvider({ children, }: ChartRendererStateProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useChartRendererState(queryId: string): { isChartRendererReady: boolean; queryStatus: QueryLoadResult | null; resultSetExists: boolean; isQueryLoading: boolean; queryError: any; isBuildInProgress: boolean; slowQuery: boolean; slowQueryFromCache: boolean; queryRequestId: string; }; export declare function useChartRendererStateMethods(): { setChartRendererReady: (queryId: string, isReady: boolean) => void; setQueryStatus: (queryId: string, status: QueryLoadResult | null) => void; setResultSetExists: (queryId: string, exists: boolean) => void; setQueryLoading: (queryId: string, loading: boolean) => void; setQueryError: (queryId: string, error: Error | null) => void; setBuildInProgress: (queryId: string, inProgress: boolean) => void; setSlowQuery: (queryId: string, isSlow: boolean) => void; setSlowQueryFromCache: (queryId: string, isSlow: boolean) => void; setQueryRequestId: (queryId: string, requestId: string) => void; }; export {};