export declare function useErrorBoundary(): {
    throwError: (err: Error) => void;
    resetError: () => void;
};
