export declare const next_withAuthErrorBoundary: (ErrorBoundary: React.ComponentType, { VerifyToken, UnauthorizedWhileLogout, Unauthorized, }?: { VerifyToken?: React.ComponentType; UnauthorizedWhileLogout?: React.ComponentType; Unauthorized?: React.ComponentType; }) => (props: any) => import("react/jsx-runtime").JSX.Element; /** * @deprecated Use `withAuthErrorBoundary` with the new signature instead. */ declare const legacy_withAuthErrorBoundary: (Unauthorized: React.ComponentType, ErrorBoundary: React.ComponentType) => (props: any) => import("react/jsx-runtime").JSX.Element; export declare function withAuthErrorBoundary(...args: Parameters | Parameters): (props: any) => import("react/jsx-runtime").JSX.Element; export declare function useIsUnauthorizedRouteError(): boolean; export declare function useHandleLogoutProtectedRoute(): boolean; export {};