import { S as StytchB2BProduct, a as StytchWebComponentConstructor, B as B2BIDPSDKConfig, b as B2BSDKConfig, c as B2BIDPConsentManifestGenerator, A as AuthTokenParams, d as StytchWebComponent, e as StytchB2BUIConfig, P as PresentationConfig } from '../themes-DrcCg4oZ.js'; export { f as defaultDarkTheme, g as defaultTheme, i as iconsBlack, h as iconsWhite, s as shadcnTheme } from '../themes-DrcCg4oZ.js'; import { r as StytchProjectConfiguration, s as Callbacks, t as StringsOptions, a as StytchProjectConfigurationInput, g as StytchClientOptions } from '../DFPProtectedAuthProvider-0rW0WKz_.js'; export { A as AccessTokenExchangeFactor, u as AmazonOAuthFactor, v as AppleOAuthFactor, w as AuthenticateResponse, x as AuthenticationFactor, y as AuthenticatorAppFactor, z as B2BAllowedAuthMethods, D as B2BAllowedMFAMethods, E as B2BAuthenticateResponse, F as B2BAuthenticateResponseWithMFA, G as B2BAuthenticationFactor, H as B2BDiscoveryAuthenticateResponse, J as B2BDiscoveryIntermediateSessionsExchangeOptions, K as B2BDiscoveryIntermediateSessionsExchangeResponse, L as B2BDiscoveryOTPEmailAuthenticateOptions, M as B2BDiscoveryOTPEmailAuthenticateResponse, N as B2BDiscoveryOTPEmailSendOptions, O as B2BDiscoveryOTPEmailSendResponse, P as B2BDiscoveryOrganizationsCreateOptions, Q as B2BDiscoveryOrganizationsCreateResponse, R as B2BDiscoveryOrganizationsResponse, T as B2BEmailFactor, U as B2BGitHubOAuthFactor, V as B2BGoogleOAuthFactor, W as B2BHubSpotOAuthFactor, X as B2BImpersonationAuthenticateOptions, Y as B2BImpersonationAuthenticateResponse, Z as B2BMagicLinkLoginOrSignupOptions, _ as B2BMagicLinkLoginOrSignupResponse, $ as B2BMagicLinksAuthenticateOptions, a0 as B2BMagicLinksAuthenticateResponse, a1 as B2BMagicLinksDiscoveryAuthenticateOptions, a2 as B2BMagicLinksDiscoveryAuthenticateResponse, a3 as B2BMagicLinksEmailDiscoverySendOptions, a4 as B2BMagicLinksEmailDiscoverySendResponse, a5 as B2BMagicLinksInviteOptions, a6 as B2BMagicLinksInviteResponse, a7 as B2BMicrosoftOAuthFactor, a8 as B2BOAuthAuthenticateOptions, a9 as B2BOAuthAuthenticateResponse, aa as B2BOAuthDiscoveryAuthenticateResponse, ab as B2BOAuthDiscoveryStartOptions, ac as B2BOTPsEmailAuthenticateOptions, ad as B2BOTPsEmailAuthenticateResponse, ae as B2BOTPsEmailLoginOrSignupOptions, af as B2BOTPsEmailLoginOrSignupResponse, ag as B2BOrganizationsDeleteResponse, ah as B2BOrganizationsGetBySlugOptions, ai as B2BOrganizationsGetBySlugResponse, aj as B2BOrganizationsGetConnectedAppOptions, ak as B2BOrganizationsGetConnectedAppResponse, al as B2BOrganizationsGetConnectedAppsResponse, am as B2BOrganizationsMemberDeleteMFAPhoneNumberResponse, an as B2BOrganizationsMemberDeleteMFATOTPResponse, ao as B2BOrganizationsMemberDeletePasswordResponse, ap as B2BOrganizationsMemberGetConnectedAppsOptions, aq as B2BOrganizationsMemberGetConnectedAppsResponse, ar as B2BOrganizationsMemberRevokeConnectedAppOptions, as as B2BOrganizationsMemberRevokeConnectedAppResponse, at as B2BOrganizationsMemberStartEmailUpdateOptions, au as B2BOrganizationsMemberStartEmailUpdateResponse, av as B2BOrganizationsMemberUnlinkRetiredEmailOptions, aw as B2BOrganizationsMemberUnlinkRetiredEmailResponse, ax as B2BOrganizationsMembersCreateOptions, ay as B2BOrganizationsMembersCreateResponse, az as B2BOrganizationsMembersDeleteResponse, aA as B2BOrganizationsMembersReactivateResponse, aB as B2BOrganizationsMembersSearchOptions, aC as B2BOrganizationsMembersSearchResponse, aD as B2BOrganizationsMembersUpdateOptions, aE as B2BOrganizationsMembersUpdateResponse, aF as B2BOrganizationsUpdateOptions, aG as B2BOrganizationsUpdateResponse, aH as B2BPasswordAuthenticateOptions, aI as B2BPasswordAuthenticateResponse, aJ as B2BPasswordDiscoveryAuthenticateOptions, aK as B2BPasswordDiscoveryAuthenticateResponse, aL as B2BPasswordDiscoveryResetByEmailOptions, aM as B2BPasswordDiscoveryResetByEmailResponse, aN as B2BPasswordDiscoveryResetByEmailStartOptions, aO as B2BPasswordDiscoveryResetByEmailStartResponse, aP as B2BPasswordResetByEmailOptions, aQ as B2BPasswordResetByEmailResponse, aR as B2BPasswordResetByEmailStartOptions, aS as B2BPasswordResetByEmailStartResponse, aT as B2BPasswordResetByExistingPasswordOptions, aU as B2BPasswordResetByExistingPasswordResponse, aV as B2BPasswordResetBySessionOptions, aW as B2BPasswordResetBySessionResponse, aX as B2BPasswordStrengthCheckOptions, aY as B2BPasswordStrengthCheckResponse, aZ as B2BPhoneNumberFactor, a_ as B2BSMSAuthenticateOptions, a$ as B2BSMSAuthenticateResponse, b0 as B2BSMSSendOptions, b1 as B2BSMSSendResponse, b2 as B2BSSOCreateExternalConnectionOptions, b3 as B2BSSOCreateExternalConnectionResponse, b4 as B2BSSODeleteConnectionResponse, b5 as B2BSSODiscoverConnectionsResponse, b6 as B2BSSOGetConnectionsResponse, b7 as B2BSSOOIDCCreateConnectionOptions, b8 as B2BSSOOIDCCreateConnectionResponse, b9 as B2BSSOOIDCUpdateConnectionOptions, ba as B2BSSOOIDCUpdateConnectionResponse, bb as B2BSSOSAMLCreateConnectionOptions, bc as B2BSSOSAMLCreateConnectionResponse, bd as B2BSSOSAMLDeleteEncryptionPrivateKeyOptions, be as B2BSSOSAMLDeleteEncryptionPrivateKeyResponse, bf as B2BSSOSAMLDeleteVerificationCertificateOptions, bg as B2BSSOSAMLDeleteVerificationCertificateResponse, bh as B2BSSOSAMLUpdateConnectionByURLOptions, bi as B2BSSOSAMLUpdateConnectionByURLResponse, bj as B2BSSOSAMLUpdateConnectionOptions, bk as B2BSSOSAMLUpdateConnectionResponse, bl as B2BSSOUpdateExternalConnectionOptions, bm as B2BSSOUpdateExternalConnectionResponse, bn as B2BSlackOAuthFactor, B as B2BState, bo as B2BTOTPAuthenticateOptions, bp as B2BTOTPAuthenticateResponse, bq as B2BTOTPCreateOptions, br as B2BTOTPCreateResponse, bs as BiometricFactor, bt as BiometricRegistrationIdIsNullOrBlank, bu as BiometricsAlreadyEnrolledError, bv as BiometricsFailedError, bw as BiometricsUnavailableError, bx as BitbucketOAuthFactor, by as ChallengeSigningFailedError, bz as CoinbaseOAuthFactor, bA as ConnectedAppPublic, C as ConsumerState, bB as CryptoWalletAuthenticateOptions, bC as CryptoWalletAuthenticateResponse, bD as CryptoWalletAuthenticateStartOptions, bE as CryptoWalletAuthenticateStartResponse, bF as CryptoWalletFactor, bG as DFPNotConfigured, bH as DeleteResponse, bI as DeviceAttributeDetails, bJ as DeviceCredentialsNotAllowedError, bK as DiscordOAuthFactor, bL as DiscoveredOrganization, bM as EmailFactor, bN as EmailMagicLinksOptions, bO as EncryptionPrivateKey, bP as ExternalConnection, bQ as FacebookOAuthFactor, bR as FailedCodeChallengeError, bS as FailedToDecryptDataError, bT as FigmaOAuthFactor, bU as GitLabOAuthFactor, bV as GithubOAuthFactor, bW as GoogleOAuthFactor, bX as IDPConsentItem, bY as IDPConsentScreenManifest, bZ as IDPConsentSection, b_ as IDPOAuthFlowMissingParamError, l as IHeadlessB2BDiscoveryClient, q as IHeadlessB2BImpersonationClient, i as IHeadlessB2BMagicLinksClient, h as IHeadlessB2BOAuthClient, n as IHeadlessB2BOTPsClient, j as IHeadlessB2BOrganizationClient, m as IHeadlessB2BPasswordClient, p as IHeadlessB2BRecoveryCodesClient, k as IHeadlessB2BSSOClient, o as IHeadlessB2BTOTPsClient, d as IHeadlessCryptoWalletClient, I as IHeadlessMagicLinksClient, c as IHeadlessOTPsClient, f as IHeadlessPasswordClient, b as IHeadlessSessionClient, e as IHeadlessWebAuthnClient, b$ as InternalError, c0 as InvalidAuthorizationCredentialError, c1 as InvalidCredentialTypeError, c2 as InvalidPrivateKeyLength, c3 as InvalidRedirectSchemeError, c4 as InvalidStartUrlError, c5 as JSONDataNotConvertibleToStringError, c6 as KeyInvalidatedError, c7 as KeystoreUnavailableError, c8 as LinkedInOAuthFactor, c9 as MagicLinksAuthenticateOptions, ca as MagicLinksAuthenticateResponse, cb as MagicLinksLoginOrCreateOptions, cc as MagicLinksLoginOrCreateResponse, cd as MagicLinksSendOptions, ce as MagicLinksSendResponse, cf as Member, cg as MemberEmailUpdateDeliveryMethod, ch as MemberOptions, ci as MemberResponseCommon, cj as MemberRole, ck as MemberSession, cl as MfaRequired, cm as MicrosoftOAuthFactor, cn as MissingAttestationObjectError, co as MissingAuthorizationCredentialIDTokenError, cp as MissingCipherIv, cq as MissingGoogleClientIDError, cr as MissingPKCEError, cs as MissingPublicKeyError, ct as MissingUrlError, cu as NoBiometricsEnrolledError, cv as NoBiometricsRegistrationError, cw as NoCredentialsPresentError, cx as NoCurrentSessionError, cy as OAuthDiscoveryAuthenticateOptions, cz as OAuthOptions, cA as OAuthProviders, cB as OAuthRegistration, cC as OAuthStartOptions, cD as OIDCConnection, cE as OTPAuthenticateOptions, cF as OTPCodeEmailOptions, cG as OTPCodeOptions, cH as OTPCodeSMSOptions, cI as OTPMethods, cJ as OTPsAuthenticateResponse, cK as OTPsLoginOrCreateResponse, cL as OTPsSendResponse, cM as OneTapPositions, cN as OneTapStyleConfig, cO as Organization, cP as OrganizationBySlugMatch, cQ as OrganizationInfo, cR as OtpOptions, cS as PasskeyOptions, cT as PasskeysInvalidEncoding, cU as PasskeysMisconfigured, cV as PasskeysUnsupportedError, cW as PasswordAuthenticateOptions, cX as PasswordAuthenticateResponse, cY as PasswordCreateOptions, cZ as PasswordCreateResponse, c_ as PasswordFactor, c$ as PasswordOptions, d0 as PasswordResetByEmailOptions, d1 as PasswordResetByEmailResponse, d2 as PasswordResetByEmailStartOptions, d3 as PasswordResetByEmailStartResponse, d4 as PasswordResetByExistingPasswordOptions, d5 as PasswordResetByExistingPasswordResponse, d6 as PasswordResetBySessionOptions, d7 as PasswordResetBySessionResponse, d8 as PasswordStrengthCheckOptions, d9 as PasswordStrengthCheckResponse, da as PhoneNumberFactor, db as PrimaryRequired, dc as ProviderOptions, dd as ProvidersOptions, de as RNUIEmailMagicLinksOptions, df as RNUIOAuthOptions, dg as RNUIOTPOptions, dh as RNUIPasswordOptions, di as RNUIProductConfig, dj as RNUIProducts, dk as RandomNumberGenerationFailed, dl as RecoveryCodeFactor, dm as RecoveryCodeGetResponse, dn as RecoveryCodeRecoverOptions, dp as RecoveryCodeRecoverResponse, dq as RecoveryCodeRotateResponse, dr as ResponseCommon, ds as RetiredEmailAddress, dt as SAMLConnection, du as SDKAPIUnreachableError, dv as SDKDeviceHistory, dw as SDKNotConfiguredError, dx as SIWEParams, dy as SSOActiveConnection, dz as SSOAuthenticateOptions, dA as SSOAuthenticateResponse, dB as SSOStartOptions, dC as SalesforceOAuthFactor, dD as ScopeResult, dE as SearchQueryOperand, dF as Session, dG as SessionAccessTokenExchangeOptions, dH as SessionAccessTokenExchangeResponse, dI as SessionAttestOptions, dJ as SessionAttestResponse, dK as SessionAuthenticateOptions, dL as SessionAuthenticateResponse, dM as SessionDurationOptions, dN as SessionInfo, dO as SessionOnChangeCallback, dP as SessionOptions, dQ as SessionRevokeOptions, dR as SessionRevokeResponse, dS as SessionTokens, dT as SessionTokensUpdate, dU as SignInWithAppleMisconfigured, dV as SlackOAuthFactor, dW as SnapchatOAuthFactor, S as StyleConfig, dX as StytchAPIError, dY as StytchAPISchemaError, dZ as StytchAPIUnreachableError, d_ as StytchError, d$ as StytchEvent, e0 as StytchEventType, e1 as StytchSDKAPIError, e2 as StytchSDKError, e3 as StytchSDKErrorOptions, e4 as StytchSDKSchemaError, e5 as StytchSDKUIError, e6 as StytchSDKUsageError, e7 as TikTokOAuthFactor, e8 as TwitchOAuthFactor, e9 as TwitterOAuthFactor, ea as UNRECOVERABLE_ERROR_TYPES, eb as UnsubscribeFunction, ec as UpdateResponse, ed as User, ee as UserCancellationError, ef as UserLockedOutError, eg as Wallets, eh as WebAuthnAuthenticateResponse, ei as WebAuthnAuthenticateStartOptions, ej as WebAuthnAuthenticateStartResponse, ek as WebAuthnFactor, el as WebAuthnRegisterResponse, em as WebAuthnRegisterStartOptions, en as WebAuthnRegisterStartResponse, eo as WebAuthnRegistration, ep as WebAuthnUpdateOptions, eq as WebAuthnUpdateResponse, er as X509Certificate, es as YahooOAuthFactor, et as errorToStytchError, eu as locale } from '../DFPProtectedAuthProvider-0rW0WKz_.js'; import { S as StytchB2BClient } from '../StytchB2BClient-DTBDS3uM.js'; export { x as AuthFlowType, y as B2BEmailMagicLinksOptions, z as B2BEmailOTPOptions, C as B2BMFAProducts, D as B2BMemberDeleteMFAPhoneNumberResponse, E as B2BMemberDeleteMFATOTPResponse, F as B2BMemberDeletePasswordResponse, G as B2BMemberGetConnectedAppsResponse, H as B2BMemberOnChangeCallback, J as B2BMemberRevokeConnectedAppOptions, K as B2BMemberRevokeConnectedAppResponse, L as B2BMemberStartEmailUpdateRequest, M as B2BMemberStartEmailUpdateResponse, N as B2BMemberUnlinkRetiredEmailRequest, Q as B2BMemberUnlinkRetiredEmailResponse, R as B2BMemberUpdateOptions, T as B2BMemberUpdateResponse, B as B2BOAuthAuthorizeStartOptions, n as B2BOAuthAuthorizeStartResponse, o as B2BOAuthAuthorizeSubmitOptions, p as B2BOAuthAuthorizeSubmitResponse, q as B2BOAuthLogoutStartOptions, r as B2BOAuthLogoutStartResponse, U as B2BOAuthOptions, V as B2BOAuthProviderConfig, W as B2BOAuthProviders, X as B2BPasswordOptions, Y as B2BSCIMCreateConnectionOptions, Z as B2BSCIMCreateConnectionResponse, _ as B2BSCIMDeleteConnectionResponse, $ as B2BSCIMGetConnectionGroupsOptions, a0 as B2BSCIMGetConnectionGroupsResponse, a1 as B2BSCIMGetConnectionResponse, a2 as B2BSCIMRotateCancelResponse, a3 as B2BSCIMRotateCompleteResponse, a4 as B2BSCIMRotateStartResponse, a5 as B2BSCIMUpdateConnectionOptions, a6 as B2BSCIMUpdateConnectionResponse, a7 as B2BSMSOTPOptions, a8 as B2BSSOOptions, a9 as B2BSessionAccessTokenExchangeOptions, aa as B2BSessionAccessTokenExchangeResponse, ab as B2BSessionAttestOptions, ac as B2BSessionAttestResponse, ad as B2BSessionAuthenticateResponse, ae as B2BSessionExchangeOptions, af as B2BSessionExchangeResponse, ag as B2BSessionOnChangeCallback, ah as B2BSessionRevokeForMemberOptions, ai as B2BSessionRevokeForMemberResponse, aj as B2BSessionRevokeOptions, ak as BiometricsAuthenticateCompleteResponse, al as BiometricsAuthenticateOptions, am as BiometricsAuthenticateStartResponse, an as BiometricsDeleteResponse, ao as BiometricsGetSensorResponse, ap as BiometricsRegisterCompleteResponse, aq as BiometricsRegisterOptions, ar as BiometricsRegisterStartResponse, as as BiometryType, at as ConsumerPermissionsMap, au as DirectLoginForSingleMembershipConfig, m as IHeadlessB2BIDPClient, t as IHeadlessB2BMemberClient, v as IHeadlessB2BRBACClient, w as IHeadlessB2BSCIMClient, u as IHeadlessB2BSelfClient, s as IHeadlessB2BSessionClient, av as IHeadlessBiometricsClient, I as IHeadlessIDPClient, k as IHeadlessImpersonationClient, g as IHeadlessOAuthClient, l as IHeadlessRBACClient, j as IHeadlessTOTPClient, i as IHeadlessUserClient, aw as IOAuthProvider, ax as IRNHeadlessOAuthClient, ay as IRNOAuthProvider, az as ImpersonationAuthenticateOptions, aA as ImpersonationAuthenticateResponse, aB as MemberInfo, aC as MemberSessionInfo, aD as OAuthAttachResponse, aE as OAuthAuthenticateOptions, aF as OAuthAuthenticateResponse, O as OAuthAuthorizeStartOptions, b as OAuthAuthorizeStartResponse, c as OAuthAuthorizeSubmitOptions, d as OAuthAuthorizeSubmitResponse, aG as OAuthGetURLOptions, e as OAuthLogoutStartOptions, f as OAuthLogoutStartResponse, aH as OAuthStartFailureReason, aI as OAuthStartResponse, aJ as PermissionsMap, aK as RNOAuthGetURLOptions, aL as RedirectURLType, aM as SCIMConnection, aN as SCIMConnectionWithBearerToken, aO as SCIMConnectionWithNextBearerToken, aP as SCIMGroup, aQ as TOTPAuthenticateOptions, aR as TOTPAuthenticateResponse, aS as TOTPCreateOptions, aT as TOTPCreateResponse, aU as TOTPRecoverOptions, aV as TOTPRecoverResponse, aW as TOTPRecoveryCodesResponse, aX as TokenType, aY as UserGetConnectedAppsResponse, aZ as UserInfo, a_ as UserOnChangeCallback, a$ as UserUpdateOptions, b0 as UserUpdateResponse } from '../GoogleOneTapClient-C8tXxrMo.js'; export { StytchB2BHeadlessClient, createStytchB2BClient, createStytchB2BHeadlessClient } from './index.headless.js'; export { I as IconRegistry, P as PresentationOptions, T as Theme } from '../PresentationConfig-DSW6sCx3.js'; export { O as OAuthAuthorizeParams, a as OAuthLogoutParams, p as parseOAuthAuthorizeParams, b as parseOAuthLogoutParams } from '../idpHelpers-BDw2029c.js'; import '../StytchClient-Co4cHVkh.js'; import 'react'; type MessageKey = "button.continue" | "button.continueWithEmail" | "button.createAnOrganization" | "button.emailCode" | "button.emailLink" | "button.emailResent" | "button.goBack" | "button.hidePassword" | "button.loginWithoutPassword" | "button.resendEmail" | "button.retry" | "button.showPassword" | "button.totpQrManual" | "button.totpQrRetry" | "button.tryDifferentEmailAddress" | "button.usePassword" | "emailConfirmation.content" | "emailConfirmation.emailSent" | "emailConfirmation.title" | "emailMethodSelection.code" | "emailMethodSelection.link" | "emailMethodSelection.title" | "emailVerification.content" | "emailVerification.title" | "error.adBlockerDetected" | "error.authPolicyNoOrg" | "error.authPolicyWithOrg" | "error.breachedPassword" | "error.claimedDomain" | "error.default" | "error.duplicatePhoneNumber" | "error.emailNoAccessToOrg" | "error.emailNotFound" | "error.eml" | "error.inactiveEmail" | "error.invalidCode" | "error.invalidEmail" | "error.invalidEmailAddress" | "error.invalidPhoneNumber" | "error.invalidPhoneNumberCountryCode" | "error.invalidSessionToken" | "error.jitIneligible" | "error.memberPasswordNotFound" | "error.noUserPassword" | "error.oauthFlowCallbackError" | "error.oauthTokenNotFound" | "error.organization" | "error.otpCodeNotFound" | "error.passcodeInvalid" | "error.resetPassword" | "error.sessionNotFound" | "error.title" | "error.unableToAuthMagicLink" | "error.unauthorizedAction" | "error.unauthorizedCredentials" | "error.unsubscribedPhoneNumber" | "error.userLockLimitReached" | "error.userUnauthenticated" | "formField.backupCode.ariaLabel" | "formField.backupCode.placeholder" | "formField.countryCode.label" | "formField.email.label" | "formField.email.placeholder" | "formField.orgSlug.label" | "formField.otp.ariaLabel" | "formField.passcode.status.verifying" | "formField.password.label" | "formField.phone.label" | "idpConsent.allowClientTo" | "idpConsent.button.allow" | "idpConsent.button.deny" | "idpConsent.customScopes.title" | "idpConsent.defaultClientName" | "idpConsent.denied" | "idpConsent.noActiveSession" | "idpConsent.noPermissionsToGrant" | "idpConsent.signIn.title" | "idpLogout.confirmMessage" | "idpLogout.no" | "idpLogout.notLoggedOut" | "idpLogout.title" | "idpLogout.yes" | "link.openInGmail" | "link.openInOutlook" | "link.openInYahoo" | "link.signupResetPassword" | "loading.label" | "login.loading" | "login.success.content" | "login.title" | "methodDivider.text" | "mfa.enrollment.content" | "mfa.enrollment.option.sms" | "mfa.enrollment.option.totp" | "mfa.enrollment.title" | "mfa.methods.authenticatorApp" | "mfa.smsEnrollment.content" | "mfa.smsEnrollment.title" | "mfa.totpEnrollment.content" | "mfa.totpEnrollment.copyCode.codeCopied" | "mfa.totpEnrollment.copyCode.label" | "mfa.totpEnrollment.title" | "mfa.totpEnrollment.toast.copyFailed" | "mfa.totpEntry.getNewCode" | "mfa.totpEntry.switchToSms" | "mfa.totpEntry.useBackupCode" | "mfaTotpEnrollment.qrAltText" | "oauth.continueWithGitHub" | "oauth.continueWithGoogle" | "oauth.continueWithHubSpot" | "oauth.continueWithMicrosoft" | "oauth.continueWithSlack" | "organizationDiscovery.acceptInvite" | "organizationDiscovery.join" | "organizationDiscovery.noOrgs.content" | "organizationDiscovery.noOrgs.create.content" | "organizationDiscovery.noOrgs.create.title" | "organizationDiscovery.noOrgs.title" | "organizationDiscovery.title" | "organizationLogin.title" | "organizationLogin.titleUnknown" | "passcode.codeSent" | "passcode.expirationCountdown" | "passcode.expired" | "passcode.resendCode" | "passcode.sentConfirmation" | "passcode.title" | "password.forgot.content.discovery" | "password.forgot.content.organization" | "password.forgot.title" | "password.login.title" | "password.requirement.fulfilled" | "password.requirement.notFulfilled" | "password.requirement.suggestion" | "password.requirement.warning" | "password.reset.emailSent.content" | "password.reset.emailSent.title" | "password.setNew.title" | "password.strength" | "password.strength.accepted" | "password.strength.notAccepted" | "password.strength.requirementsNotMet" | "password.strengthError.breached" | "password.strengthError.complexity" | "password.strengthError.minimumLength" | "password.verification.content" | "password.verification.title" | "password.zxcvbn.suggestion.addWords" | "password.zxcvbn.suggestion.allUppercase" | "password.zxcvbn.suggestion.avoidDatesAndYearsAssociatedWithYou" | "password.zxcvbn.suggestion.avoidRecentYears" | "password.zxcvbn.suggestion.avoidRepeats" | "password.zxcvbn.suggestion.avoidSequences" | "password.zxcvbn.suggestion.avoidYearsAssociatedWithYou" | "password.zxcvbn.suggestion.capitalization" | "password.zxcvbn.suggestion.longerKeyboardPattern" | "password.zxcvbn.suggestion.noSymbolsDigitsUppercase" | "password.zxcvbn.suggestion.predictableSubstitutions" | "password.zxcvbn.suggestion.reversed" | "password.zxcvbn.suggestion.useAFewWords" | "password.zxcvbn.warning.commonNames" | "password.zxcvbn.warning.dates" | "password.zxcvbn.warning.longerRepeats" | "password.zxcvbn.warning.names" | "password.zxcvbn.warning.recentYears" | "password.zxcvbn.warning.repeats" | "password.zxcvbn.warning.sequences" | "password.zxcvbn.warning.shortKeyboardPatterns" | "password.zxcvbn.warning.similarToCommonPassword" | "password.zxcvbn.warning.straightRows" | "password.zxcvbn.warning.top100CommonPassword" | "password.zxcvbn.warning.top10CommonPassword" | "password.zxcvbn.warning.veryCommonPassword" | "password.zxcvbn.warning.wordByItself" | "provider.continueWith" | "provider.continueWithSSO" | "provider.lastUsed" | "recoveryCodes.entry.content" | "recoveryCodes.entry.error.invalidCode" | "recoveryCodes.entry.title" | "recoveryCodes.filename.noOrganizationName" | "recoveryCodes.filename.withOrganizationName" | "recoveryCodes.save.button.copied" | "recoveryCodes.save.button.copyAll" | "recoveryCodes.save.button.done" | "recoveryCodes.save.button.download" | "recoveryCodes.save.content" | "recoveryCodes.save.title" | "recoveryCodes.save.toast.copyFailed" | "ssoDiscovery.email.error.unknown" | "ssoDiscovery.email.title" | "ssoDiscovery.fallback.button.reset" | "ssoDiscovery.fallback.content" | "ssoDiscovery.fallback.error.orgNotFound" | "ssoDiscovery.fallback.error.unknown" | "ssoDiscovery.fallback.title" | "ssoDiscovery.title" | "success.title" | "totp.content" | "totp.setupQr.content" | "totp.setupQr.title" | "totp.title" | "watermark.altText" | "watermark.poweredBy"; type Messages = Partial>; declare const emailMagicLinks: StytchB2BProduct; declare const emailOtp: StytchB2BProduct; declare const sso: StytchB2BProduct; declare const passwords: StytchB2BProduct; declare const oauth: StytchB2BProduct; declare const B2BProducts_emailMagicLinks: typeof emailMagicLinks; declare const B2BProducts_emailOtp: typeof emailOtp; declare const B2BProducts_oauth: typeof oauth; declare const B2BProducts_passwords: typeof passwords; declare const B2BProducts_sso: typeof sso; declare namespace B2BProducts { export { B2BProducts_emailMagicLinks as emailMagicLinks, B2BProducts_emailOtp as emailOtp, B2BProducts_oauth as oauth, B2BProducts_passwords as passwords, B2BProducts_sso as sso, }; } /** * Renders a B2B IDP Consent screen. * Parses OAuth Authorization params (client_id, scope, nonce, etc.) out of the page URL. * Requires the user to be logged in. * * @attr {boolean} [shadow] - use shadow DOM to contain styles * * @prop {StytchB2BClient} client - used to make API calls. * @prop {PresentationConfig} [presentation] - for customizing the UI styling and presentation * @prop {Messages} [strings] - custom strings to be used in the prebuilt UI. * @prop {B2BIDPConsentManifestGenerator} [getIDPConsentManifest] - to customize the consent screen. * @prop {AuthTokenParams} [trustedAuthTokenParams] - trusted auth token params for attestation prior to running OAuth flow. * * @event StytchEvent - see {@link import('../../WebComponents').StytchEvent} * @event StytchError - see {@link import('../../WebComponents').StytchError} * */ declare const StytchB2BIdentityProvider: StytchWebComponentConstructor>>; /** * Mounts a B2B IDP Consent screen inside the element provided. * Parses OAuth Authorization params (client_id, scope, nonce, etc.) out of the page URL. * Requires the user to be logged in. * @example * mountB2BIdentityProvider({ * client: stytchB2BClient, * elementId: '#idp-container', * }); * * @deprecated Prefer the StytchB2BIdentityProvider web component * * @param client - A {@link StytchB2BClient} instance used for making API calls. * @param elementId - A string containing the id of the element that should contain the consent screen. * @param presentation - Optional {@link PresentationConfig} object for customizing the UI presentation * @param callbacks - Optional {@link Callbacks} triggered by various events in the Stytch SDK. * @param getIDPConsentManifest - Optional {@link B2BIDPConsentManifestGenerator} to customize the consent screen. * @param trustedAuthTokenParams - Optional trusted auth token params for attestation prior to running OAuth flow. * @param strings - Optional custom strings to be used in the prebuilt UI. * @throws An error when the element specified by elementId cannot be found. */ declare const mountIdentityProvider: ({ elementId, ...props }: Pick>, "client" | "presentation" | "callbacks" | "strings"> & { getIDPConsentManifest?: B2BIDPConsentManifestGenerator; trustedAuthTokenParams?: AuthTokenParams; } & { elementId: string; }) => StytchWebComponent>>; /** * Renders a B2B log in screen. * * @attr {boolean} [shadow] - use shadow DOM to contain styles * * @prop {StytchB2BClient} client - used to make API calls. * @prop {StytchB2BUIConfig} config - object containing the products that should be registered * @prop {PresentationConfig} [presentation] - for customizing the UI styling and presentation * @prop {Messages} [strings] - custom strings to be used, to customize text or for localization * * @event StytchEvent - see {@link import('../../WebComponents').StytchEvent} * @event StytchError - see {@link import('../../WebComponents').StytchError} * */ declare const StytchB2B: StytchWebComponentConstructor>>; /** * Mounts a B2B login screen inside the element provided. * If a login screen has already been rendered inside the element, * it will be updated to use the new config, style, and callback options passed in. * @example * mountB2B({ * client: stytchB2BClient, * elementId: '#container', * config: {...} * }); * * @deprecated Prefer the StytchB2B web component * * @param client - A {@link StytchB2BClient} instance used for making API calls. * @param elementId - A string containing the id of the element that should contain the login screen. * @param config - A {@link StytchB2BUIConfig} object containing the products that should be registered * @param presentation - Optional {@link PresentationConfig} object for customizing the UI presentation * @param callbacks - Optional {@link Callbacks} triggered by various events in the Stytch SDK. * @param strings - Optional custom strings to be used in the prebuilt UI. * @throws An error when the element specified by elementId cannot be found. */ declare const mount: ({ elementId, ...props }: { client: StytchB2BClient>; config: StytchB2BUIConfig; presentation?: PresentationConfig; callbacks?: Callbacks> | undefined; } & StringsOptions & { elementId: string; }) => StytchWebComponent>>; /** * @deprecated - Use Stytch UI web components instead. * See {@link StytchB2B} or {@link StytchB2BIdentityProvider} */ declare class StytchB2BUIClient extends StytchB2BClient { constructor(publicToken: string, options?: StytchClientOptions); mount: ({ elementId, ...props }: { client: StytchB2BClient>; config: StytchB2BUIConfig; presentation?: PresentationConfig; callbacks?: Callbacks> | undefined; } & StringsOptions & { elementId: string; }) => StytchWebComponent>>; mountIdentityProvider: ({ elementId, ...props }: Pick>, "client" | "presentation" | "callbacks" | "strings"> & { getIDPConsentManifest?: B2BIDPConsentManifestGenerator; trustedAuthTokenParams?: AuthTokenParams; } & { elementId: string; }) => StytchWebComponent>>; } export { B2BIDPConsentManifestGenerator, B2BIDPSDKConfig, B2BProducts, B2BSDKConfig, Callbacks, PresentationConfig, StringsOptions, StytchB2B, StytchB2BClient, StytchB2BIdentityProvider, StytchB2BUIClient, StytchB2BUIConfig, StytchClientOptions, StytchProjectConfiguration, StytchProjectConfigurationInput, mount, mountIdentityProvider }; export type { Messages as Strings };