/** @noSelfInFile */ export declare const useErrorBoundary: (callback?: ((err: unknown) => void) | undefined) => [error: unknown, clearError: () => void];