import { type LocaleCode } from "../localization/shared.js"; import type { AuthPageProps, ResetPasswordPageProps } from "../shared/auth-page-types.js"; import { type GoogleAuthMode } from "./google-auth-mode.js"; export declare function workspaceBasePathFromRequest(requestPath: string | undefined): string; export interface SignupLegalNoticeOptions { termsUrl: string; privacyUrl: string; termsLabel?: string; privacyLabel?: string; prefix?: string; connector?: string; suffix?: string; } export interface OnboardingHtmlOptions { googleOnly?: boolean; googleScopes?: string[]; authMode?: "magic-link" | "password"; initialPrompt?: boolean; marketing?: false | { appName: string; tagline: string; description?: string; features?: string[]; learnMoreUrl?: string; }; requestHost?: string; /** @deprecated Browser SSO was removed. The fields are retained for patch compatibility. */ identitySsoRequestHost?: string; /** @deprecated Browser SSO was removed. The field is retained for patch compatibility. */ identitySsoRequestProtocol?: string; requestPath?: string; requestOrigin?: string; signupLegalNotice?: SignupLegalNoticeOptions | false; googleAuthMode?: GoogleAuthMode; renderSignInPage?: (props: AuthPageProps) => string; } export declare function getOnboardingHtml(opts?: OnboardingHtmlOptions): string; export declare function getResetPasswordHtml(requestPath?: string, renderResetPasswordPage?: (props: ResetPasswordPageProps) => string): string; export interface DeploySettingsRequiredHtmlOptions { /** The env keys to name, from `getSignInBlockingSettingKeys()`. */ keys: readonly string[]; locale: LocaleCode; dir: "ltr" | "rtl"; requestPath?: string; } /** * The page served in place of sign-in while the deploy is missing a setting * that accounts need. It has no form and no client script: nothing on it can * work until the setting is added and the app redeployed. */ export declare function getDeploySettingsRequiredHtml({ keys, locale, dir, requestPath, }: DeploySettingsRequiredHtmlOptions): string;