export type AuthView = "sign-in" | "sign-up" | "forgot-password" | "reset-password" | "reset-email-sent" | "check-email" | "accept-invitation" | "logout"; export declare const AUTH_DEFAULT_VIEW = "sign-in"; export declare const AUTH_VIEW_BY_SEGMENT: Readonly>; export declare const AUTHENTICATED_REDIRECT_VIEW_SET: Set; export declare function resolveAuthViewFromSegment(segment: string | undefined): AuthView | null; export declare function shouldRedirectAuthenticatedAuthView(view: AuthView): boolean; export declare const AUTH_ROUTES: { readonly acceptInvitation: "/auth/accept-invitation"; readonly appHome: "/"; readonly checkEmail: "/auth/check-email"; readonly forgotPassword: "/auth/forgot-password"; readonly logout: "/auth/logout"; readonly resetEmailSent: "/auth/reset-email-sent"; readonly resetPassword: "/auth/reset-password"; readonly signIn: "/auth/sign-in"; readonly signUp: "/auth/sign-up"; }; export type AuthRoutes = Record; export declare function createAuthRoutes(overrides?: Partial): AuthRoutes; export interface AuthModeRedirects { readonly "forgot-password": string; readonly login: string; readonly logout: string; readonly "reset-password": string; readonly signup: string; } export declare function createAuthModeRedirects(routes?: AuthRoutes): AuthModeRedirects; export declare const AUTH_MODE_REDIRECTS: AuthModeRedirects; export type AuthMode = keyof AuthModeRedirects; export declare const AUTH_MODE_SET: Set; export declare const AUTHENTICATED_REDIRECT_MODE_SET: Set;