import { type ConnectorMetadata, type GoogleOneTapConfig } from '@logto/connector-kit'; import { z } from 'zod'; import { type CustomProfileField, type SignInExperience } from '../db-entries/index.js'; import { CaptchaType, RecaptchaEnterpriseMode } from '../foundations/jsonb-types/index.js'; import { type SsoConnectorMetadata } from './sso-connector.js'; type ForgotPassword = { phone: boolean; email: boolean; }; /** * Basic information about a social connector for sign-in experience rendering. This type can avoid * the need to load the full connector metadata that is not needed for rendering. */ export type ExperienceSocialConnector = Omit; export type FullSignInExperience = Omit & { socialConnectors: ExperienceSocialConnector[]; ssoConnectors: SsoConnectorMetadata[]; forgotPassword: ForgotPassword; isDevelopmentTenant: boolean; /** * The Google One Tap configuration if the Google connector is enabled and configured. * * @remarks * We need to use a standalone property for the Google One Tap configuration because it needs * data from database entries that other connectors don't need. Thus we manually extract the * minimal data needed here. */ googleOneTap?: GoogleOneTapConfig & { clientId: string; connectorId: string; }; captchaConfig?: { type: CaptchaType; siteKey: string; domain?: string; mode?: RecaptchaEnterpriseMode; }; customProfileFields?: Readonly; }; export declare const fullSignInExperienceGuard: z.ZodObject; id: z.ZodType; color: z.ZodType<{ primaryColor: string; isDarkModeEnabled: boolean; darkPrimaryColor: string; }, z.ZodTypeDef, { primaryColor: string; isDarkModeEnabled: boolean; darkPrimaryColor: string; }>; branding: z.ZodType<{ logoUrl?: string | undefined; darkLogoUrl?: string | undefined; favicon?: string | undefined; darkFavicon?: string | undefined; }, z.ZodTypeDef, { logoUrl?: string | undefined; darkLogoUrl?: string | undefined; favicon?: string | undefined; darkFavicon?: string | undefined; }>; hideLogtoBranding: z.ZodType; languageInfo: z.ZodType<{ autoDetect: boolean; fallbackLanguage: "af-ZA" | "am-ET" | "ar" | "ar-AR" | "as-IN" | "az-AZ" | "be-BY" | "bg-BG" | "bn-IN" | "br-FR" | "bs-BA" | "ca-ES" | "cb-IQ" | "co-FR" | "cs" | "cs-CZ" | "cx-PH" | "cy-GB" | "da-DK" | "de" | "de-DE" | "el-GR" | "en" | "en-GB" | "en-US" | "eo-EO" | "es" | "es-ES" | "es-419" | "et-EE" | "eu-ES" | "fa-IR" | "ff-NG" | "fi" | "fi-FI" | "fo-FO" | "fr" | "fr-CA" | "fr-FR" | "fy-NL" | "ga-IE" | "gl-ES" | "gn-PY" | "gu-IN" | "ha-NG" | "he-IL" | "hi-IN" | "hr-HR" | "ht-HT" | "hu-HU" | "hy-AM" | "id-ID" | "ik-US" | "is-IS" | "it" | "it-IT" | "iu-CA" | "ja" | "ja-JP" | "ja-KS" | "jv-ID" | "ka-GE" | "kk-KZ" | "km-KH" | "kn-IN" | "ko" | "ko-KR" | "ku-TR" | "ky-KG" | "lo-LA" | "lt-LT" | "lv-LV" | "mg-MG" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "ms-MY" | "mt-MT" | "my-MM" | "nb-NO" | "ne-NP" | "nl" | "nl-BE" | "nl-NL" | "nn-NO" | "or-IN" | "pa-IN" | "pl-PL" | "ps-AF" | "pt" | "pt-BR" | "pt-PT" | "ro-RO" | "ru" | "ru-RU" | "rw-RW" | "sc-IT" | "si-LK" | "sk-SK" | "sl-SI" | "sn-ZW" | "sq-AL" | "sr-RS" | "sv" | "sv-SE" | "sw-KE" | "sy-SY" | "sz-PL" | "ta-IN" | "te-IN" | "tg-TJ" | "th" | "th-TH" | "tl-PH" | "tr" | "tr-TR" | "tt-RU" | "tz-MA" | "uk-UA" | "ur-PK" | "uz-UZ" | "vi-VN" | "zh" | "zh-CN" | "zh-HK" | "zh-MO" | "zh-TW" | "zz-TR"; }, z.ZodTypeDef, { autoDetect: boolean; fallbackLanguage: "af-ZA" | "am-ET" | "ar" | "ar-AR" | "as-IN" | "az-AZ" | "be-BY" | "bg-BG" | "bn-IN" | "br-FR" | "bs-BA" | "ca-ES" | "cb-IQ" | "co-FR" | "cs" | "cs-CZ" | "cx-PH" | "cy-GB" | "da-DK" | "de" | "de-DE" | "el-GR" | "en" | "en-GB" | "en-US" | "eo-EO" | "es" | "es-ES" | "es-419" | "et-EE" | "eu-ES" | "fa-IR" | "ff-NG" | "fi" | "fi-FI" | "fo-FO" | "fr" | "fr-CA" | "fr-FR" | "fy-NL" | "ga-IE" | "gl-ES" | "gn-PY" | "gu-IN" | "ha-NG" | "he-IL" | "hi-IN" | "hr-HR" | "ht-HT" | "hu-HU" | "hy-AM" | "id-ID" | "ik-US" | "is-IS" | "it" | "it-IT" | "iu-CA" | "ja" | "ja-JP" | "ja-KS" | "jv-ID" | "ka-GE" | "kk-KZ" | "km-KH" | "kn-IN" | "ko" | "ko-KR" | "ku-TR" | "ky-KG" | "lo-LA" | "lt-LT" | "lv-LV" | "mg-MG" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "ms-MY" | "mt-MT" | "my-MM" | "nb-NO" | "ne-NP" | "nl" | "nl-BE" | "nl-NL" | "nn-NO" | "or-IN" | "pa-IN" | "pl-PL" | "ps-AF" | "pt" | "pt-BR" | "pt-PT" | "ro-RO" | "ru" | "ru-RU" | "rw-RW" | "sc-IT" | "si-LK" | "sk-SK" | "sl-SI" | "sn-ZW" | "sq-AL" | "sr-RS" | "sv" | "sv-SE" | "sw-KE" | "sy-SY" | "sz-PL" | "ta-IN" | "te-IN" | "tg-TJ" | "th" | "th-TH" | "tl-PH" | "tr" | "tr-TR" | "tt-RU" | "tz-MA" | "uk-UA" | "ur-PK" | "uz-UZ" | "vi-VN" | "zh" | "zh-CN" | "zh-HK" | "zh-MO" | "zh-TW" | "zz-TR"; }>; termsOfUseUrl: z.ZodType; privacyPolicyUrl: z.ZodType; agreeToTermsPolicy: z.ZodType; signIn: z.ZodType<{ methods: { password: boolean; identifier: import("../foundations/jsonb-types/sign-in-experience.js").SignInIdentifier; verificationCode: boolean; isPasswordPrimary: boolean; }[]; }, z.ZodTypeDef, { methods: { password: boolean; identifier: import("../foundations/jsonb-types/sign-in-experience.js").SignInIdentifier; verificationCode: boolean; isPasswordPrimary: boolean; }[]; }>; signUp: z.ZodType; socialSignIn: z.ZodType; socialSignInConnectorTargets: z.ZodType; signInMode: z.ZodType; customCss: z.ZodType; customContent: z.ZodType, z.ZodTypeDef, Record>; customUiAssets: z.ZodType<{ id: string; createdAt: number; } | null, z.ZodTypeDef, { id: string; createdAt: number; } | null>; passwordPolicy: z.ZodType<{ length?: { min?: number | undefined; max?: number | undefined; } | undefined; characterTypes?: { min?: number | undefined; } | undefined; rejects?: { pwned?: boolean | undefined; repetitionAndSequence?: boolean | undefined; userInfo?: boolean | undefined; words?: string[] | undefined; } | undefined; }, z.ZodTypeDef, { length?: { min?: number | undefined; max?: number | undefined; } | undefined; characterTypes?: { min?: number | undefined; } | undefined; rejects?: { pwned?: boolean | undefined; repetitionAndSequence?: boolean | undefined; userInfo?: boolean | undefined; words?: string[] | undefined; } | undefined; }>; mfa: z.ZodType; adaptiveMfa: z.ZodType; singleSignOnEnabled: z.ZodType; supportEmail: z.ZodType; supportWebsiteUrl: z.ZodType; unknownSessionRedirectUrl: z.ZodType; captchaPolicy: z.ZodType<{ enabled?: boolean | undefined; }, z.ZodTypeDef, { enabled?: boolean | undefined; }>; sentinelPolicy: z.ZodType; emailBlocklistPolicy: z.ZodType; forgotPasswordMethods: z.ZodType; passkeySignIn: z.ZodType; }, "forgotPasswordMethods"> & { socialConnectors: z.ZodArray; description: z.ZodType; logo: z.ZodString; logoDark: z.ZodNullable; readme: z.ZodString; configTemplate: z.ZodOptional; formItems: z.ZodOptional; required: z.ZodOptional; defaultValue: z.ZodOptional; showConditions: z.ZodOptional; }, "strip", z.ZodTypeAny, { targetKey: string; expectValue?: unknown; }, { targetKey: string; expectValue?: unknown; }>, "many">>; description: z.ZodOptional; tooltip: z.ZodOptional; isConfidential: z.ZodOptional; isDevFeature: z.ZodOptional; type: z.ZodLiteral; selectItems: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select; selectItems: { value: string; title: string; }[]; key: string; label: string; placeholder?: string | undefined; required?: boolean | undefined; defaultValue?: unknown; showConditions?: { targetKey: string; expectValue?: unknown; }[] | undefined; description?: string | undefined; tooltip?: string | undefined; isConfidential?: boolean | undefined; isDevFeature?: boolean | undefined; }, { type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select; selectItems: { value: string; title: string; }[]; key: string; label: string; placeholder?: string | undefined; required?: boolean | undefined; defaultValue?: unknown; showConditions?: { targetKey: string; expectValue?: unknown; }[] | undefined; description?: string | undefined; tooltip?: string | undefined; isConfidential?: boolean | undefined; isDevFeature?: boolean | undefined; }>, z.ZodObject<{ key: z.ZodString; label: z.ZodString; placeholder: z.ZodOptional; required: z.ZodOptional; defaultValue: z.ZodOptional; showConditions: z.ZodOptional; }, "strip", z.ZodTypeAny, { targetKey: string; expectValue?: unknown; }, { targetKey: string; expectValue?: unknown; }>, "many">>; description: z.ZodOptional; tooltip: z.ZodOptional; isConfidential: z.ZodOptional; isDevFeature: z.ZodOptional; type: z.ZodLiteral; selectItems: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect; selectItems: { value: string; }[]; key: string; label: string; placeholder?: string | undefined; required?: boolean | undefined; defaultValue?: unknown; showConditions?: { targetKey: string; expectValue?: unknown; }[] | undefined; description?: string | undefined; tooltip?: string | undefined; isConfidential?: boolean | undefined; isDevFeature?: boolean | undefined; }, { type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect; selectItems: { value: string; }[]; key: string; label: string; placeholder?: string | undefined; required?: boolean | undefined; defaultValue?: unknown; showConditions?: { targetKey: string; expectValue?: unknown; }[] | undefined; description?: string | undefined; tooltip?: string | undefined; isConfidential?: boolean | undefined; isDevFeature?: boolean | undefined; }>, z.ZodObject<{ key: z.ZodString; label: z.ZodString; placeholder: z.ZodOptional; required: z.ZodOptional; defaultValue: z.ZodOptional; showConditions: z.ZodOptional; }, "strip", z.ZodTypeAny, { targetKey: string; expectValue?: unknown; }, { targetKey: string; expectValue?: unknown; }>, "many">>; description: z.ZodOptional; tooltip: z.ZodOptional; isConfidential: z.ZodOptional; isDevFeature: z.ZodOptional; type: z.ZodEnum<[import("@logto/connector-kit").ConnectorConfigFormItemType.Text, import("@logto/connector-kit").ConnectorConfigFormItemType.Number, import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText, import("@logto/connector-kit").ConnectorConfigFormItemType.Switch, import("@logto/connector-kit").ConnectorConfigFormItemType.Json]>; }, "strip", z.ZodTypeAny, { type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json; key: string; label: string; placeholder?: string | undefined; required?: boolean | undefined; defaultValue?: unknown; showConditions?: { targetKey: string; expectValue?: unknown; }[] | undefined; description?: string | undefined; tooltip?: string | undefined; isConfidential?: boolean | undefined; isDevFeature?: boolean | undefined; }, { type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json; key: string; label: string; placeholder?: string | undefined; required?: boolean | undefined; defaultValue?: unknown; showConditions?: { targetKey: string; expectValue?: unknown; }[] | undefined; description?: string | undefined; tooltip?: string | undefined; isConfidential?: boolean | undefined; isDevFeature?: boolean | undefined; }>]>, "many">>; customData: z.ZodOptional>; fromEmail: z.ZodOptional; } & { platform: z.ZodNullable>; isStandard: z.ZodOptional; isTokenStorageSupported: z.ZodOptional; }, "customData" | "description" | "readme" | "configTemplate" | "formItems">, "strip", z.ZodTypeAny, { name: { en: string; } & { "af-ZA"?: string | undefined; "am-ET"?: string | undefined; ar?: string | undefined; "ar-AR"?: string | undefined; "as-IN"?: string | undefined; "az-AZ"?: string | undefined; "be-BY"?: string | undefined; "bg-BG"?: string | undefined; "bn-IN"?: string | undefined; "br-FR"?: string | undefined; "bs-BA"?: string | undefined; "ca-ES"?: string | undefined; "cb-IQ"?: string | undefined; "co-FR"?: string | undefined; cs?: string | undefined; "cs-CZ"?: string | undefined; "cx-PH"?: string | undefined; "cy-GB"?: string | undefined; "da-DK"?: string | undefined; de?: string | undefined; "de-DE"?: string | undefined; "el-GR"?: string | undefined; "en-GB"?: string | undefined; "en-US"?: string | undefined; "eo-EO"?: string | undefined; es?: string | undefined; "es-ES"?: string | undefined; "es-419"?: string | undefined; "et-EE"?: string | undefined; "eu-ES"?: string | undefined; "fa-IR"?: string | undefined; "ff-NG"?: string | undefined; fi?: string | undefined; "fi-FI"?: string | undefined; "fo-FO"?: string | undefined; fr?: string | undefined; "fr-CA"?: string | undefined; "fr-FR"?: string | undefined; "fy-NL"?: string | undefined; "ga-IE"?: string | undefined; "gl-ES"?: string | undefined; "gn-PY"?: string | undefined; "gu-IN"?: string | undefined; "ha-NG"?: string | undefined; "he-IL"?: string | undefined; "hi-IN"?: string | undefined; "hr-HR"?: string | undefined; "ht-HT"?: string | undefined; "hu-HU"?: string | undefined; "hy-AM"?: string | undefined; "id-ID"?: string | undefined; "ik-US"?: string | undefined; "is-IS"?: string | undefined; it?: string | undefined; "it-IT"?: string | undefined; "iu-CA"?: string | undefined; ja?: string | undefined; "ja-JP"?: string | undefined; "ja-KS"?: string | undefined; "jv-ID"?: string | undefined; "ka-GE"?: string | undefined; "kk-KZ"?: string | undefined; "km-KH"?: string | undefined; "kn-IN"?: string | undefined; ko?: string | undefined; "ko-KR"?: string | undefined; "ku-TR"?: string | undefined; "ky-KG"?: string | undefined; "lo-LA"?: string | undefined; "lt-LT"?: string | undefined; "lv-LV"?: string | undefined; "mg-MG"?: string | undefined; "mk-MK"?: string | undefined; "ml-IN"?: string | undefined; "mn-MN"?: string | undefined; "mr-IN"?: string | undefined; "ms-MY"?: string | undefined; "mt-MT"?: string | undefined; "my-MM"?: string | undefined; "nb-NO"?: string | undefined; "ne-NP"?: string | undefined; nl?: string | undefined; "nl-BE"?: string | undefined; "nl-NL"?: string | undefined; "nn-NO"?: string | undefined; "or-IN"?: string | undefined; "pa-IN"?: string | undefined; "pl-PL"?: string | undefined; "ps-AF"?: string | undefined; pt?: string | undefined; "pt-BR"?: string | undefined; "pt-PT"?: string | undefined; "ro-RO"?: string | undefined; ru?: string | undefined; "ru-RU"?: string | undefined; "rw-RW"?: string | undefined; "sc-IT"?: string | undefined; "si-LK"?: string | undefined; "sk-SK"?: string | undefined; "sl-SI"?: string | undefined; "sn-ZW"?: string | undefined; "sq-AL"?: string | undefined; "sr-RS"?: string | undefined; sv?: string | undefined; "sv-SE"?: string | undefined; "sw-KE"?: string | undefined; "sy-SY"?: string | undefined; "sz-PL"?: string | undefined; "ta-IN"?: string | undefined; "te-IN"?: string | undefined; "tg-TJ"?: string | undefined; th?: string | undefined; "th-TH"?: string | undefined; "tl-PH"?: string | undefined; tr?: string | undefined; "tr-TR"?: string | undefined; "tt-RU"?: string | undefined; "tz-MA"?: string | undefined; "uk-UA"?: string | undefined; "ur-PK"?: string | undefined; "uz-UZ"?: string | undefined; "vi-VN"?: string | undefined; zh?: string | undefined; "zh-CN"?: string | undefined; "zh-HK"?: string | undefined; "zh-MO"?: string | undefined; "zh-TW"?: string | undefined; "zz-TR"?: string | undefined; }; id: string; logo: string; target: string; logoDark: string | null; platform: import("@logto/connector-kit").ConnectorPlatform | null; fromEmail?: string | undefined; isStandard?: boolean | undefined; isTokenStorageSupported?: boolean | undefined; }, { name: { en: string; } & { "af-ZA"?: string | undefined; "am-ET"?: string | undefined; ar?: string | undefined; "ar-AR"?: string | undefined; "as-IN"?: string | undefined; "az-AZ"?: string | undefined; "be-BY"?: string | undefined; "bg-BG"?: string | undefined; "bn-IN"?: string | undefined; "br-FR"?: string | undefined; "bs-BA"?: string | undefined; "ca-ES"?: string | undefined; "cb-IQ"?: string | undefined; "co-FR"?: string | undefined; cs?: string | undefined; "cs-CZ"?: string | undefined; "cx-PH"?: string | undefined; "cy-GB"?: string | undefined; "da-DK"?: string | undefined; de?: string | undefined; "de-DE"?: string | undefined; "el-GR"?: string | undefined; "en-GB"?: string | undefined; "en-US"?: string | undefined; "eo-EO"?: string | undefined; es?: string | undefined; "es-ES"?: string | undefined; "es-419"?: string | undefined; "et-EE"?: string | undefined; "eu-ES"?: string | undefined; "fa-IR"?: string | undefined; "ff-NG"?: string | undefined; fi?: string | undefined; "fi-FI"?: string | undefined; "fo-FO"?: string | undefined; fr?: string | undefined; "fr-CA"?: string | undefined; "fr-FR"?: string | undefined; "fy-NL"?: string | undefined; "ga-IE"?: string | undefined; "gl-ES"?: string | undefined; "gn-PY"?: string | undefined; "gu-IN"?: string | undefined; "ha-NG"?: string | undefined; "he-IL"?: string | undefined; "hi-IN"?: string | undefined; "hr-HR"?: string | undefined; "ht-HT"?: string | undefined; "hu-HU"?: string | undefined; "hy-AM"?: string | undefined; "id-ID"?: string | undefined; "ik-US"?: string | undefined; "is-IS"?: string | undefined; it?: string | undefined; "it-IT"?: string | undefined; "iu-CA"?: string | undefined; ja?: string | undefined; "ja-JP"?: string | undefined; "ja-KS"?: string | undefined; "jv-ID"?: string | undefined; "ka-GE"?: string | undefined; "kk-KZ"?: string | undefined; "km-KH"?: string | undefined; "kn-IN"?: string | undefined; ko?: string | undefined; "ko-KR"?: string | undefined; "ku-TR"?: string | undefined; "ky-KG"?: string | undefined; "lo-LA"?: string | undefined; "lt-LT"?: string | undefined; "lv-LV"?: string | undefined; "mg-MG"?: string | undefined; "mk-MK"?: string | undefined; "ml-IN"?: string | undefined; "mn-MN"?: string | undefined; "mr-IN"?: string | undefined; "ms-MY"?: string | undefined; "mt-MT"?: string | undefined; "my-MM"?: string | undefined; "nb-NO"?: string | undefined; "ne-NP"?: string | undefined; nl?: string | undefined; "nl-BE"?: string | undefined; "nl-NL"?: string | undefined; "nn-NO"?: string | undefined; "or-IN"?: string | undefined; "pa-IN"?: string | undefined; "pl-PL"?: string | undefined; "ps-AF"?: string | undefined; pt?: string | undefined; "pt-BR"?: string | undefined; "pt-PT"?: string | undefined; "ro-RO"?: string | undefined; ru?: string | undefined; "ru-RU"?: string | undefined; "rw-RW"?: string | undefined; "sc-IT"?: string | undefined; "si-LK"?: string | undefined; "sk-SK"?: string | undefined; "sl-SI"?: string | undefined; "sn-ZW"?: string | undefined; "sq-AL"?: string | undefined; "sr-RS"?: string | undefined; sv?: string | undefined; "sv-SE"?: string | undefined; "sw-KE"?: string | undefined; "sy-SY"?: string | undefined; "sz-PL"?: string | undefined; "ta-IN"?: string | undefined; "te-IN"?: string | undefined; "tg-TJ"?: string | undefined; th?: string | undefined; "th-TH"?: string | undefined; "tl-PH"?: string | undefined; tr?: string | undefined; "tr-TR"?: string | undefined; "tt-RU"?: string | undefined; "tz-MA"?: string | undefined; "uk-UA"?: string | undefined; "ur-PK"?: string | undefined; "uz-UZ"?: string | undefined; "vi-VN"?: string | undefined; zh?: string | undefined; "zh-CN"?: string | undefined; "zh-HK"?: string | undefined; "zh-MO"?: string | undefined; "zh-TW"?: string | undefined; "zz-TR"?: string | undefined; }; id: string; logo: string; target: string; logoDark: string | null; platform: import("@logto/connector-kit").ConnectorPlatform | null; fromEmail?: string | undefined; isStandard?: boolean | undefined; isTokenStorageSupported?: boolean | undefined; }>, "many">; ssoConnectors: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; logo: string; connectorName: string; darkLogo?: string | undefined; }, { id: string; logo: string; connectorName: string; darkLogo?: string | undefined; }>, "many">; forgotPassword: z.ZodObject<{ phone: z.ZodBoolean; email: z.ZodBoolean; }, "strip", z.ZodTypeAny, { email: boolean; phone: boolean; }, { email: boolean; phone: boolean; }>; isDevelopmentTenant: z.ZodBoolean; googleOneTap: z.ZodOptional; autoSelect: z.ZodOptional; closeOnTapOutside: z.ZodOptional; itpSupport: z.ZodOptional; } & { clientId: z.ZodString; connectorId: z.ZodString; }, "strip", z.ZodTypeAny, { connectorId: string; clientId: string; isEnabled?: boolean | undefined; autoSelect?: boolean | undefined; closeOnTapOutside?: boolean | undefined; itpSupport?: boolean | undefined; }, { connectorId: string; clientId: string; isEnabled?: boolean | undefined; autoSelect?: boolean | undefined; closeOnTapOutside?: boolean | undefined; itpSupport?: boolean | undefined; }>>; captchaConfig: z.ZodOptional; siteKey: z.ZodString; domain: z.ZodOptional; mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: CaptchaType; siteKey: string; domain?: string | undefined; mode?: RecaptchaEnterpriseMode | undefined; }, { type: CaptchaType; siteKey: string; domain?: string | undefined; mode?: RecaptchaEnterpriseMode | undefined; }>>; customProfileFields: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { id: string; tenantId: string; mfa: import("../foundations/jsonb-types/sign-in-experience.js").Mfa; color: import("../foundations/jsonb-types/sign-in-experience.js").Color; branding: import("../foundations/jsonb-types/sign-in-experience.js").Branding; customCss: string | null; termsOfUseUrl: string | null; privacyPolicyUrl: string | null; hideLogtoBranding: boolean; languageInfo: import("../foundations/jsonb-types/sign-in-experience.js").LanguageInfo; agreeToTermsPolicy: import("../db-entries/custom-types.js").AgreeToTermsPolicy; signIn: import("../foundations/jsonb-types/sign-in-experience.js").SignIn; signUp: import("../foundations/jsonb-types/sign-in-experience.js").SignUp; socialSignIn: import("../foundations/jsonb-types/sign-in-experience.js").SocialSignIn; socialSignInConnectorTargets: import("../foundations/jsonb-types/sign-in-experience.js").ConnectorTargets; signInMode: import("../db-entries/custom-types.js").SignInMode; customContent: import("../foundations/jsonb-types/sign-in-experience.js").CustomContent; customUiAssets: import("../foundations/jsonb-types/sign-in-experience.js").CustomUiAssets | null; passwordPolicy: import("../foundations/jsonb-types/logs.js").PartialPasswordPolicy; adaptiveMfa: import("../foundations/jsonb-types/sign-in-experience.js").AdaptiveMfa; singleSignOnEnabled: boolean; supportEmail: string | null; supportWebsiteUrl: string | null; unknownSessionRedirectUrl: string | null; captchaPolicy: import("../foundations/jsonb-types/sign-in-experience.js").CaptchaPolicy; sentinelPolicy: import("../foundations/jsonb-types/sign-in-experience.js").SentinelPolicy; emailBlocklistPolicy: import("../foundations/jsonb-types/sign-in-experience.js").EmailBlocklistPolicy; passkeySignIn: import("../foundations/jsonb-types/sign-in-experience.js").PasskeySignIn; socialConnectors: { name: { en: string; } & { "af-ZA"?: string | undefined; "am-ET"?: string | undefined; ar?: string | undefined; "ar-AR"?: string | undefined; "as-IN"?: string | undefined; "az-AZ"?: string | undefined; "be-BY"?: string | undefined; "bg-BG"?: string | undefined; "bn-IN"?: string | undefined; "br-FR"?: string | undefined; "bs-BA"?: string | undefined; "ca-ES"?: string | undefined; "cb-IQ"?: string | undefined; "co-FR"?: string | undefined; cs?: string | undefined; "cs-CZ"?: string | undefined; "cx-PH"?: string | undefined; "cy-GB"?: string | undefined; "da-DK"?: string | undefined; de?: string | undefined; "de-DE"?: string | undefined; "el-GR"?: string | undefined; "en-GB"?: string | undefined; "en-US"?: string | undefined; "eo-EO"?: string | undefined; es?: string | undefined; "es-ES"?: string | undefined; "es-419"?: string | undefined; "et-EE"?: string | undefined; "eu-ES"?: string | undefined; "fa-IR"?: string | undefined; "ff-NG"?: string | undefined; fi?: string | undefined; "fi-FI"?: string | undefined; "fo-FO"?: string | undefined; fr?: string | undefined; "fr-CA"?: string | undefined; "fr-FR"?: string | undefined; "fy-NL"?: string | undefined; "ga-IE"?: string | undefined; "gl-ES"?: string | undefined; "gn-PY"?: string | undefined; "gu-IN"?: string | undefined; "ha-NG"?: string | undefined; "he-IL"?: string | undefined; "hi-IN"?: string | undefined; "hr-HR"?: string | undefined; "ht-HT"?: string | undefined; "hu-HU"?: string | undefined; "hy-AM"?: string | undefined; "id-ID"?: string | undefined; "ik-US"?: string | undefined; "is-IS"?: string | undefined; it?: string | undefined; "it-IT"?: string | undefined; "iu-CA"?: string | undefined; ja?: string | undefined; "ja-JP"?: string | undefined; "ja-KS"?: string | undefined; "jv-ID"?: string | undefined; "ka-GE"?: string | undefined; "kk-KZ"?: string | undefined; "km-KH"?: string | undefined; "kn-IN"?: string | undefined; ko?: string | undefined; "ko-KR"?: string | undefined; "ku-TR"?: string | undefined; "ky-KG"?: string | undefined; "lo-LA"?: string | undefined; "lt-LT"?: string | undefined; "lv-LV"?: string | undefined; "mg-MG"?: string | undefined; "mk-MK"?: string | undefined; "ml-IN"?: string | undefined; "mn-MN"?: string | undefined; "mr-IN"?: string | undefined; "ms-MY"?: string | undefined; "mt-MT"?: string | undefined; "my-MM"?: string | undefined; "nb-NO"?: string | undefined; "ne-NP"?: string | undefined; nl?: string | undefined; "nl-BE"?: string | undefined; "nl-NL"?: string | undefined; "nn-NO"?: string | undefined; "or-IN"?: string | undefined; "pa-IN"?: string | undefined; "pl-PL"?: string | undefined; "ps-AF"?: string | undefined; pt?: string | undefined; "pt-BR"?: string | undefined; "pt-PT"?: string | undefined; "ro-RO"?: string | undefined; ru?: string | undefined; "ru-RU"?: string | undefined; "rw-RW"?: string | undefined; "sc-IT"?: string | undefined; "si-LK"?: string | undefined; "sk-SK"?: string | undefined; "sl-SI"?: string | undefined; "sn-ZW"?: string | undefined; "sq-AL"?: string | undefined; "sr-RS"?: string | undefined; sv?: string | undefined; "sv-SE"?: string | undefined; "sw-KE"?: string | undefined; "sy-SY"?: string | undefined; "sz-PL"?: string | undefined; "ta-IN"?: string | undefined; "te-IN"?: string | undefined; "tg-TJ"?: string | undefined; th?: string | undefined; "th-TH"?: string | undefined; "tl-PH"?: string | undefined; tr?: string | undefined; "tr-TR"?: string | undefined; "tt-RU"?: string | undefined; "tz-MA"?: string | undefined; "uk-UA"?: string | undefined; "ur-PK"?: string | undefined; "uz-UZ"?: string | undefined; "vi-VN"?: string | undefined; zh?: string | undefined; "zh-CN"?: string | undefined; "zh-HK"?: string | undefined; "zh-MO"?: string | undefined; "zh-TW"?: string | undefined; "zz-TR"?: string | undefined; }; id: string; logo: string; target: string; logoDark: string | null; platform: import("@logto/connector-kit").ConnectorPlatform | null; fromEmail?: string | undefined; isStandard?: boolean | undefined; isTokenStorageSupported?: boolean | undefined; }[]; ssoConnectors: { id: string; logo: string; connectorName: string; darkLogo?: string | undefined; }[]; forgotPassword: { email: boolean; phone: boolean; }; isDevelopmentTenant: boolean; customProfileFields: CustomProfileField[]; googleOneTap?: { connectorId: string; clientId: string; isEnabled?: boolean | undefined; autoSelect?: boolean | undefined; closeOnTapOutside?: boolean | undefined; itpSupport?: boolean | undefined; } | undefined; captchaConfig?: { type: CaptchaType; siteKey: string; domain?: string | undefined; mode?: RecaptchaEnterpriseMode | undefined; } | undefined; }, { id: string; tenantId: string; mfa: import("../foundations/jsonb-types/sign-in-experience.js").Mfa; color: import("../foundations/jsonb-types/sign-in-experience.js").Color; branding: import("../foundations/jsonb-types/sign-in-experience.js").Branding; customCss: string | null; termsOfUseUrl: string | null; privacyPolicyUrl: string | null; hideLogtoBranding: boolean; languageInfo: import("../foundations/jsonb-types/sign-in-experience.js").LanguageInfo; agreeToTermsPolicy: import("../db-entries/custom-types.js").AgreeToTermsPolicy; signIn: import("../foundations/jsonb-types/sign-in-experience.js").SignIn; signUp: import("../foundations/jsonb-types/sign-in-experience.js").SignUp; socialSignIn: import("../foundations/jsonb-types/sign-in-experience.js").SocialSignIn; socialSignInConnectorTargets: import("../foundations/jsonb-types/sign-in-experience.js").ConnectorTargets; signInMode: import("../db-entries/custom-types.js").SignInMode; customContent: import("../foundations/jsonb-types/sign-in-experience.js").CustomContent; customUiAssets: import("../foundations/jsonb-types/sign-in-experience.js").CustomUiAssets | null; passwordPolicy: import("../foundations/jsonb-types/logs.js").PartialPasswordPolicy; adaptiveMfa: import("../foundations/jsonb-types/sign-in-experience.js").AdaptiveMfa; singleSignOnEnabled: boolean; supportEmail: string | null; supportWebsiteUrl: string | null; unknownSessionRedirectUrl: string | null; captchaPolicy: import("../foundations/jsonb-types/sign-in-experience.js").CaptchaPolicy; sentinelPolicy: import("../foundations/jsonb-types/sign-in-experience.js").SentinelPolicy; emailBlocklistPolicy: import("../foundations/jsonb-types/sign-in-experience.js").EmailBlocklistPolicy; passkeySignIn: import("../foundations/jsonb-types/sign-in-experience.js").PasskeySignIn; socialConnectors: { name: { en: string; } & { "af-ZA"?: string | undefined; "am-ET"?: string | undefined; ar?: string | undefined; "ar-AR"?: string | undefined; "as-IN"?: string | undefined; "az-AZ"?: string | undefined; "be-BY"?: string | undefined; "bg-BG"?: string | undefined; "bn-IN"?: string | undefined; "br-FR"?: string | undefined; "bs-BA"?: string | undefined; "ca-ES"?: string | undefined; "cb-IQ"?: string | undefined; "co-FR"?: string | undefined; cs?: string | undefined; "cs-CZ"?: string | undefined; "cx-PH"?: string | undefined; "cy-GB"?: string | undefined; "da-DK"?: string | undefined; de?: string | undefined; "de-DE"?: string | undefined; "el-GR"?: string | undefined; "en-GB"?: string | undefined; "en-US"?: string | undefined; "eo-EO"?: string | undefined; es?: string | undefined; "es-ES"?: string | undefined; "es-419"?: string | undefined; "et-EE"?: string | undefined; "eu-ES"?: string | undefined; "fa-IR"?: string | undefined; "ff-NG"?: string | undefined; fi?: string | undefined; "fi-FI"?: string | undefined; "fo-FO"?: string | undefined; fr?: string | undefined; "fr-CA"?: string | undefined; "fr-FR"?: string | undefined; "fy-NL"?: string | undefined; "ga-IE"?: string | undefined; "gl-ES"?: string | undefined; "gn-PY"?: string | undefined; "gu-IN"?: string | undefined; "ha-NG"?: string | undefined; "he-IL"?: string | undefined; "hi-IN"?: string | undefined; "hr-HR"?: string | undefined; "ht-HT"?: string | undefined; "hu-HU"?: string | undefined; "hy-AM"?: string | undefined; "id-ID"?: string | undefined; "ik-US"?: string | undefined; "is-IS"?: string | undefined; it?: string | undefined; "it-IT"?: string | undefined; "iu-CA"?: string | undefined; ja?: string | undefined; "ja-JP"?: string | undefined; "ja-KS"?: string | undefined; "jv-ID"?: string | undefined; "ka-GE"?: string | undefined; "kk-KZ"?: string | undefined; "km-KH"?: string | undefined; "kn-IN"?: string | undefined; ko?: string | undefined; "ko-KR"?: string | undefined; "ku-TR"?: string | undefined; "ky-KG"?: string | undefined; "lo-LA"?: string | undefined; "lt-LT"?: string | undefined; "lv-LV"?: string | undefined; "mg-MG"?: string | undefined; "mk-MK"?: string | undefined; "ml-IN"?: string | undefined; "mn-MN"?: string | undefined; "mr-IN"?: string | undefined; "ms-MY"?: string | undefined; "mt-MT"?: string | undefined; "my-MM"?: string | undefined; "nb-NO"?: string | undefined; "ne-NP"?: string | undefined; nl?: string | undefined; "nl-BE"?: string | undefined; "nl-NL"?: string | undefined; "nn-NO"?: string | undefined; "or-IN"?: string | undefined; "pa-IN"?: string | undefined; "pl-PL"?: string | undefined; "ps-AF"?: string | undefined; pt?: string | undefined; "pt-BR"?: string | undefined; "pt-PT"?: string | undefined; "ro-RO"?: string | undefined; ru?: string | undefined; "ru-RU"?: string | undefined; "rw-RW"?: string | undefined; "sc-IT"?: string | undefined; "si-LK"?: string | undefined; "sk-SK"?: string | undefined; "sl-SI"?: string | undefined; "sn-ZW"?: string | undefined; "sq-AL"?: string | undefined; "sr-RS"?: string | undefined; sv?: string | undefined; "sv-SE"?: string | undefined; "sw-KE"?: string | undefined; "sy-SY"?: string | undefined; "sz-PL"?: string | undefined; "ta-IN"?: string | undefined; "te-IN"?: string | undefined; "tg-TJ"?: string | undefined; th?: string | undefined; "th-TH"?: string | undefined; "tl-PH"?: string | undefined; tr?: string | undefined; "tr-TR"?: string | undefined; "tt-RU"?: string | undefined; "tz-MA"?: string | undefined; "uk-UA"?: string | undefined; "ur-PK"?: string | undefined; "uz-UZ"?: string | undefined; "vi-VN"?: string | undefined; zh?: string | undefined; "zh-CN"?: string | undefined; "zh-HK"?: string | undefined; "zh-MO"?: string | undefined; "zh-TW"?: string | undefined; "zz-TR"?: string | undefined; }; id: string; logo: string; target: string; logoDark: string | null; platform: import("@logto/connector-kit").ConnectorPlatform | null; fromEmail?: string | undefined; isStandard?: boolean | undefined; isTokenStorageSupported?: boolean | undefined; }[]; ssoConnectors: { id: string; logo: string; connectorName: string; darkLogo?: string | undefined; }[]; forgotPassword: { email: boolean; phone: boolean; }; isDevelopmentTenant: boolean; customProfileFields: CustomProfileField[]; googleOneTap?: { connectorId: string; clientId: string; isEnabled?: boolean | undefined; autoSelect?: boolean | undefined; closeOnTapOutside?: boolean | undefined; itpSupport?: boolean | undefined; } | undefined; captchaConfig?: { type: CaptchaType; siteKey: string; domain?: string | undefined; mode?: RecaptchaEnterpriseMode | undefined; } | undefined; }>; export {};