import { ComponentProps } from 'react'; import { AuthComponentProps } from './components/auth/auth.js'; import { SettingsProps } from './components/auth/settings/settings.js'; import { AuthSurfaceVariant } from './lib/auth/core/resolve-auth-input-variant.js'; /** * How the auth route shell sizes itself. * * - `viewport`: standalone route owns the viewport (`min-h-svh`). * - `container`: fill a parent that already accounts for chrome (`h-full min-h-0`). */ export type AuthPageHeightMode = "viewport" | "container"; interface AuthPageContainerProps { authClassName?: string; containerClassName?: string; heightMode?: AuthPageHeightMode; } /** * Props for the route-ready auth page shell. * * `variant` is declared explicitly so IntelliSense shows it on ``. * It is forwarded to `` and then into SignIn/SignUp TextFields via * `resolveAuthInputVariant` (`primary` and `transparent` → primary fields). */ export type AuthPageProps = Omit & AuthPageContainerProps & { /** * Shell variant for the auth page. * Forwarded `AuthPage` → `Auth` → `SignIn` / `SignUp` → TextFields. * Accepts card variants plus `primary` (field bleed-through). */ variant?: AuthSurfaceVariant; }; /** Props for the route-ready settings page shell. */ export type SettingsPageProps = Omit & Omit, "children" | "className"> & { containerClassName?: string; settingsClassName?: string; }; /** Props for the importable ultra-minimal not-found page shell. */ export type NotFoundPageProps = Omit, "children" | "className" | "title"> & { actionHref?: string; actionLabel?: string; cardClassName?: string; containerClassName?: string; description?: string; descriptionClassName?: string; eyebrow?: string; eyebrowClassName?: string; secondaryActionHref?: string; secondaryActionLabel?: string; title?: string; titleClassName?: string; }; /** * Ready-to-mount auth route shell with the package's default centered page layout. * * `heightMode="viewport"` (default) owns the viewport for standalone routes. * `heightMode="container"` fills a parent that already represents remaining height. */ export declare function AuthPage({ authClassName, containerClassName, heightMode, ui, variant, ...props }: AuthPageProps): import("react").JSX.Element; /** * Ready-to-mount settings route shell with the package's default wide page layout. */ export declare function SettingsPage({ containerClassName, settingsClassName, ui, variant, path, view, hideNav, ...props }: SettingsPageProps): import("react").JSX.Element; /** * Route-ready 404 page with a quiet HeroUI surface and minimal Athena UI defaults. */ export declare function NotFoundPage({ actionHref, actionLabel, cardClassName, containerClassName, description, descriptionClassName, eyebrow, eyebrowClassName, secondaryActionHref, secondaryActionLabel, title, titleClassName, ...props }: NotFoundPageProps): import("react").JSX.Element; /** Props for the route-ready sign-in page. */ export type SignInPageProps = Omit; /** Ready-to-mount sign-in page shell. */ export declare function SignInPage(props: SignInPageProps): import("react").JSX.Element; /** Props for the route-ready sign-up page. */ export type SignUpPageProps = Omit; /** Ready-to-mount sign-up page shell. */ export declare function SignUpPage(props: SignUpPageProps): import("react").JSX.Element; /** Props for the route-ready forgot-password page. */ export type ForgotPasswordPageProps = Omit; /** Ready-to-mount forgot-password page shell. */ export declare function ForgotPasswordPage(props: ForgotPasswordPageProps): import("react").JSX.Element; /** Props for the route-ready reset-password page. */ export type ResetPasswordPageProps = Omit; /** Ready-to-mount reset-password page shell. */ export declare function ResetPasswordPage(props: ResetPasswordPageProps): import("react").JSX.Element; /** Props for the route-ready check-email page. */ export type CheckEmailPageProps = Omit; /** Ready-to-mount check-email page shell. */ export declare function CheckEmailPage(props: CheckEmailPageProps): import("react").JSX.Element; /** Props for the route-ready reset-email-sent page. */ export type ResetEmailSentPageProps = Omit; /** Ready-to-mount reset-email-sent page shell. */ export declare function ResetEmailSentPage(props: ResetEmailSentPageProps): import("react").JSX.Element; /** Props for the route-ready sign-out page. */ export type SignOutPageProps = Omit; /** Ready-to-mount sign-out page shell. */ export declare function SignOutPage(props: SignOutPageProps): import("react").JSX.Element; /** Props for the route-ready account settings page. */ export type AccountSettingsPageProps = Omit; /** Ready-to-mount account settings page shell. */ export declare function AccountSettingsPage(props: AccountSettingsPageProps): import("react").JSX.Element; /** Props for the route-ready security settings page. */ export type SecuritySettingsPageProps = Omit; /** Ready-to-mount security settings page shell. */ export declare function SecuritySettingsPage(props: SecuritySettingsPageProps): import("react").JSX.Element; /** Props for the route-ready billing settings page. */ export type BillingSettingsPageProps = Omit; /** * Ready-to-mount billing settings page shell (`/settings/billing`). * Customer cards via `billingPlugin()` (included by default). */ export declare function BillingSettingsPage(props: BillingSettingsPageProps): import("react").JSX.Element; /** Props for the route-ready operations billing page. */ export type OperationsBillingSettingsPageProps = Omit; /** * Operations billing console (`/settings/operations-billing`). * Requires `operationsBillingPlugin()`. */ export declare function OperationsBillingSettingsPage(props: OperationsBillingSettingsPageProps): import("react").JSX.Element; /** Props for the route-ready storage settings page. */ export type StorageSettingsPageProps = Omit; /** * User `/settings/storage` cards. Requires `storagePlugin()`. */ export declare function StorageSettingsPage(props: StorageSettingsPageProps): import("react").JSX.Element; export {};