import * as React from 'react'; export interface UiConfig { errorHandler(error: Error): void; } export declare function UiProvider({ children, ...config }: React.PropsWithChildren<{}> & Partial): React.JSX.Element; export declare function useUiConfig(): UiConfig;