import { CatchResult } from './CatchResult'; import { IErrorEventHandler } from './ErrorEventHandler'; type UseErrorEventCatcherProps = { apiUrl: string; enabled?: boolean; loading?: boolean; catcherFn?: (error: string | any) => CatchResult; errorHandler?: IErrorEventHandler; }; declare function useErrorEventCatcher({ enabled, apiUrl, loading, catcherFn, ...props }: UseErrorEventCatcherProps): boolean; export { useErrorEventCatcher }; //# sourceMappingURL=useErrorEventCatcher.d.ts.map