import { QueryClient } from '@tanstack/react-query'; import { ReactNode } from 'react'; import { AthenaAuthRoutingDebugConfig } from '../../auth/routing-debug.js'; import { AthenaAuthUiOptions } from '../../lib/auth/core/ui-options.js'; import { AthenaUiRootClient, CompatibleAuthClient } from './auth-provider.js'; export interface AthenaProvidersAuthShellProps { authProviderClientProps: { client: AthenaUiRootClient; } | { authClient: CompatibleAuthClient; }; children: ReactNode; defaultRoutingConfig?: AthenaAuthRoutingDebugConfig; explicitPresentation: Record; navigate: (args: { replace?: boolean; to: string; }) => void | Promise; queryClient: QueryClient; resetRoutingConfig: () => void; routingConfig?: AthenaAuthRoutingDebugConfig; routingDebug?: { publicUpstreamUrl?: string; }; routingEnabled: boolean; setRoutingConfig: (next: AthenaAuthRoutingDebugConfig) => void; toastProvider?: boolean; ui?: AthenaAuthUiOptions; } /** * Inner shell so `useAthenaCapabilities` runs under AthenaClientProvider. * * Loads DevTools via `lazy()` so the overlay is not a static import in the * same Vite chunk as `queryClient` (Next/Turbopack can collapse those * minified bindings and treat the overlay as undefined). `React.lazy` only * reads `module.default`; the loader wraps the named overlay export even * when Rolldown unwraps it to a function. */ export declare function AthenaProvidersAuthShell({ children, authProviderClientProps, explicitPresentation, navigate, queryClient, toastProvider, ui, routingEnabled, routingDebug, routingConfig, defaultRoutingConfig, resetRoutingConfig, setRoutingConfig, }: AthenaProvidersAuthShellProps): import("react").JSX.Element;