import { AthenaProvidersProps } from '../components/auth/athena-providers.js'; import { AthenaNextAuthRouting } from './routing.js'; /** * Next App Router client shell. * * `./next` remains the server-safe path/proxy entry. This module is the * client provider that uses `router.push` / `router.replace` so Auth UI * navigation does not full-document-reload. * * Optional `routing` is a Next-only façade. When omitted, props are forwarded * unchanged (existing Better Auth `/auth/*` topology). * * `routing.routes` is a partial overlay: list only the pages you host. * Unspecified keys keep current defaults (no `flat` / `auth` preset). * * `routing.continuation` is the only path that mounts `Suspense` and * `useSearchParams`. Omit it to keep the previous static-rendering shape. * * @example * ```tsx * * {children} * * ``` */ export type AthenaNextAuthProviderProps = Omit & { routing?: AthenaNextAuthRouting; }; export { parseAthenaRedirectTarget, resolveAthenaRedirectTarget } from '../lib/athena/redirect-target.js'; export type { AthenaNextAuthRouting, AthenaNextAuthRoutingContinuation, AthenaNextAuthRoutingPageRoutes } from './routing.js'; export declare function AthenaNextAuthProvider(props: AthenaNextAuthProviderProps): import("react").JSX.Element; export { UserButton } from '../components/auth/user/user-button.js'; export { AthenaNextSettingsShell } from './settings-shell.js';