import { ReactNode } from 'react';
import { UseReportProps, UseReportReturn } from '../hooks/use-report';

export type ReportContextValue = UseReportReturn;
declare const useReportContext: <Selected = UseReportReturn>(selector?: ((value: UseReportReturn) => Selected) | undefined, eqlFn?: import('../utils').EqualityFn<Selected> | undefined) => Selected, ReportContext: import('use-context-selector').Context<UseReportReturn>, useReportContextOptional: <Selected = UseReportReturn>(selector?: ((value: UseReportReturn | undefined) => Selected) | undefined, eqlFn?: import('../utils').EqualityFn<Selected> | undefined) => Selected | undefined;
export { useReportContext, useReportContextOptional, ReportContext };
interface ReportProviderProps {
    children: ReactNode;
    report: UseReportProps['report'];
    onReportUpdate: UseReportProps['onReportUpdate'];
    isAutoRunEnabled?: UseReportProps['isAutoRunEnabled'];
    onError?: (error: Error) => void;
}
export declare function ReportProvider({ children, report, onReportUpdate, isAutoRunEnabled, onError, }: ReportProviderProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ReportProvider.d.ts.map