import { j as StytchProduct, a as StytchWebComponentConstructor, I as IDPSDKConfig, k as SDKConfig, l as IDPConsentManifestGenerator, A as AuthTokenParams, d as StytchWebComponent, m as StytchLoginConfig, P as PresentationConfig, R as ResetPasswordSDKConfig } from './themes-DrcCg4oZ.js'; export { n as StytchDOMEvent, o as StytchError, 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 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 StytchClient } from './StytchClient-Co4cHVkh.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 { StytchHeadlessClient, createStytchClient, createStytchHeadlessClient } 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 './StytchB2BClient-DTBDS3uM.js'; import 'react'; type MessageKey = "button.cancel" | "button.continue" | "button.createPasskey" | "button.createPasswordInstead" | "button.delete" | "button.done" | "button.edit" | "button.emailLogin" | "button.emailMagicLink" | "button.emailOTP" | "button.emailResent" | "button.forgotPassword" | "button.goBack" | "button.hidePassword" | "button.loginWithPasskey" | "button.loginWithoutPassword" | "button.resendEmail" | "button.save" | "button.showPassword" | "button.skip" | "button.sms" | "button.whatsapp" | "createAccount.title" | "crypto.connectWallet.instructionPopup" | "crypto.connectWallet.title" | "crypto.continueWithOtherWallet.title" | "crypto.error.content" | "crypto.error.title" | "crypto.setupNewWallet.content" | "crypto.setupNewWallet.instruction" | "crypto.setupNewWallet.title" | "crypto.signMessage.instruction" | "crypto.signMessage.title" | "crypto.success.content" | "crypto.success.title" | "crypto.troubleHelp" | "crypto.wallet.binance" | "crypto.wallet.coinbase" | "crypto.wallet.continueWithBinance" | "crypto.wallet.continueWithCoinbase" | "crypto.wallet.continueWithEthereum" | "crypto.wallet.continueWithMetamask" | "crypto.wallet.continueWithOtherWallet" | "crypto.wallet.continueWithPhantom" | "crypto.wallet.continueWithSolana" | "crypto.wallet.metamask" | "crypto.wallet.otherEthereum" | "crypto.wallet.otherSolana" | "crypto.wallet.phantom" | "crypto.wallet.setupNewWallet" | "emailConfirmation.content" | "emailConfirmation.emailSent" | "emailConfirmation.title" | "error.breachedPassword" | "error.duplicatePasskey" | "error.duplicatePhoneNumber" | "error.emailNotFound" | "error.inactiveEmail" | "error.invalidCode" | "error.invalidEmail" | "error.invalidPhoneNumber" | "error.invalidPhoneNumberCountryCode" | "error.invalidSessionToken" | "error.memberPasswordNotFound" | "error.noUserPassword" | "error.oauthFlowCallbackError" | "error.oauthTokenNotFound" | "error.otpCodeNotFound" | "error.passkeyNotCreated" | "error.passkeyRegistrationNotFound" | "error.passkeyUnknown" | "error.resetPassword" | "error.sessionNotFound" | "error.title" | "error.unableToAuthMagicLink" | "error.unauthorizedAction" | "error.unauthorizedCredentials" | "error.unsubscribedPhoneNumber" | "error.userLockLimitReached" | "error.userUnauthenticated" | "errors.invalidEmail" | "formField.countryCode.label" | "formField.email.label" | "formField.email.placeholder" | "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" | "loading.label" | "login.loading" | "login.success.content" | "login.title" | "methodDivider.text" | "oauth.continueWithAmazon" | "oauth.continueWithApple" | "oauth.continueWithBitbucket" | "oauth.continueWithCoinbase" | "oauth.continueWithDiscord" | "oauth.continueWithFacebook" | "oauth.continueWithFigma" | "oauth.continueWithGitHub" | "oauth.continueWithGitLab" | "oauth.continueWithGoogle" | "oauth.continueWithLinkedIn" | "oauth.continueWithMicrosoft" | "oauth.continueWithSalesforce" | "oauth.continueWithSlack" | "oauth.continueWithSnapchat" | "oauth.continueWithTikTok" | "oauth.continueWithTwitch" | "oauth.continueWithX" | "oauth.continueWithYahoo" | "otp.success.content" | "passcode.codeSent" | "passcode.expirationCountdown" | "passcode.expired" | "passcode.resendCode" | "passcode.sentConfirmation" | "passcode.title" | "passkey.editing.label" | "passkey.registrationStart.description" | "passkey.registrationStart.error.noUser" | "passkey.registrationStart.subtitle" | "passkey.registrationStart.title" | "passkey.registrationSuccess.deleteWarning" | "passkey.registrationSuccess.existingPasskeys" | "passkey.registrationSuccess.setupAnother" | "passkey.registrationSuccess.title" | "passkey.success.content" | "password.breached.content" | "password.breached.title" | "password.createAccount.content" | "password.createAccount.title" | "password.forgot.content" | "password.forgot.title" | "password.login.title" | "password.requirement.fulfilled" | "password.requirement.notFulfilled" | "password.requirement.suggestion" | "password.requirement.warning" | "password.reset.loggingInProgress" | "password.reset.loginWithoutPassword" | "password.reset.title" | "password.resetRequired.content" | "password.resetRequired.title" | "password.setNew.content" | "password.setNew.title" | "password.setPassword.title" | "password.strength" | "password.strength.accepted" | "password.strength.notAccepted" | "password.strength.requirementsNotMet" | "password.strengthError.breached" | "password.strengthError.complexity" | "password.strengthError.minimumLength" | "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.lastUsed" | "success.title" | "tab.email" | "tab.listLabel" | "tab.text" | "tab.whatsapp" | "watermark.altText" | "watermark.poweredBy"; type Messages = Partial>; declare const emailMagicLinks: StytchProduct; declare const oauth: StytchProduct; declare const otp: StytchProduct; declare const passwords: StytchProduct; declare const passkeys: StytchProduct; declare const passkeyRegistration: StytchProduct; declare const crypto: StytchProduct; declare const Products_crypto: typeof crypto; declare const Products_emailMagicLinks: typeof emailMagicLinks; declare const Products_oauth: typeof oauth; declare const Products_otp: typeof otp; declare const Products_passkeyRegistration: typeof passkeyRegistration; declare const Products_passkeys: typeof passkeys; declare const Products_passwords: typeof passwords; declare namespace Products { export { Products_crypto as crypto, Products_emailMagicLinks as emailMagicLinks, Products_oauth as oauth, Products_otp as otp, Products_passkeyRegistration as passkeyRegistration, Products_passkeys as passkeys, Products_passwords as passwords, }; } /** * Renders an 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 {StytchClient} client - used to make API calls. * @prop {PresentationConfig} [presentation] - for customizing the UI styling and presentation * @prop {Messages} [strings] - custom strings to be used, to customize text or for localization * @prop {IDPConsentManifestGenerator} [getIDPConsentManifest] - to render custom scopes * @prop {AuthTokenParams} [authTokenParams] - to provide a trusted auth token to provide for attestation prior to running OAuth flow. * * @event StytchEvent - see {@link import('../../WebComponents').StytchEvent} * @event StytchError - see {@link import('../../WebComponents').StytchError} * */ declare const StytchIdentityProvider: StytchWebComponentConstructor>>; /** * Mounts an 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 * mountIdentityProvider({ * client: stytchClient, * elementId: '#idp-container' * }); * * @deprecated Use the StytchIdentityProvider web component instead * * @param client - A {@link StytchClient} instance used for making API calls. * @param elementId - A string containing the id of the element that should contain the login 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 strings - Optional custom strings to be used in the prebuilt UI. * @param getIDPConsentManifest - Optional {@link IDPConsentManifestGenerator} to render custom scopes * @param authTokenParams - Optional {@link AuthTokenParams} to provide a trusted auth token to provide for attestation prior to running OAuth flow. * @throws An error when the element specified by elementId cannot be found. */ declare const mountIdentityProvider: ({ elementId, ...props }: Pick>, "client" | "presentation" | "callbacks" | "strings"> & { getIDPConsentManifest?: IDPConsentManifestGenerator; authTokenParams?: AuthTokenParams; } & { elementId: string; }) => StytchWebComponent>>; /** * Renders a Passkey registration screen. * * @attr {boolean} [shadow] - use shadow DOM to contain styles * * @prop {StytchClient} client - used to make API calls. * @prop {StytchLoginConfig} 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('./idpWebComponent').StytchEvent} * @event StytchError - see {@link import('./idpWebComponent').StytchError} * */ declare const StytchPasskeyRegistration: StytchWebComponentConstructor>>; /** * Mounts a Passkey registration screen inside the element provided. * If a passkey registration screen has already been rendered inside the element, * it will be updated to use the new config, style, and callback options passed in. * @example * mountPasskeyRegistration({ * client: stytchClient, * elementId: '#login-container', * config: {...} * }); * * @deprecated Use the StytchPasskeyRegistration web component instead * * @param client - A {@link StytchClient} 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 StytchLoginConfig} 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 mountPasskeyRegistration: ({ elementId, ...props }: { client: StytchClient>; config: StytchLoginConfig; presentation?: PresentationConfig; callbacks?: Callbacks> | undefined; } & StringsOptions & { elementId: string; }) => StytchWebComponent>>; /** * Renders a reset password screen. * * @attr {boolean} [shadow] - use shadow DOM to contain styles * @attr {string} passwordResetToken - The password reset token from the magic link * * @prop {StytchClient} client - used to make API calls. * @prop {StytchLoginConfig} 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 * @prop {string} passwordResetToken - The password reset token from the magic link. * * @event StytchEvent - see {@link import('./idpWebComponent').StytchEvent} * @event StytchError - see {@link import('./idpWebComponent').StytchError} * */ declare const StytchResetPassword: StytchWebComponentConstructor>>; /** * Mounts a reset password screen inside the element provided. * If a reset password screen has already been rendered inside the element, * it will be updated to use the new config, style, and callback options passed in. * * @deprecated Prefer using the StytchResetPassword web component instead * * @example * mountResetPassword({ * client: stytchClient, * elementId: '#login-container', * config: {...}, * passwordResetToken: 'token-here' * }); * * @param client - A {@link StytchClient} 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 StytchLoginConfig} 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. * @param passwordResetToken - The password reset token from the magic link. * @throws An error when the element specified by elementId cannot be found. */ declare const mountResetPassword: ({ elementId, ...props }: { client: StytchClient>; config: StytchLoginConfig; presentation?: PresentationConfig; callbacks?: Callbacks> | undefined; } & StringsOptions & { passwordResetToken?: string; } & { elementId: string; }) => StytchWebComponent>>; /** * Renders a log in screen. * * @attr {boolean} [shadow] - use shadow DOM to contain styles * * @prop {StytchClient} client - used to make API calls. * @prop {StytchLoginConfig} 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('./idpWebComponent').StytchEvent} * @event StytchError - see {@link import('./idpWebComponent').StytchError} * */ declare const StytchUI: StytchWebComponentConstructor>>; /** * Mounts a 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 * mountLogin({ * client: stytchClient, * elementId: '#login-container', * config: {...} * }); * * @deprecated Prefer using the StytchUI web component instead. * * @param client - A {@link StytchClient} 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 StytchLoginConfig} 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 mountLogin: ({ elementId, ...props }: { client: StytchClient>; config: StytchLoginConfig; presentation?: PresentationConfig; callbacks?: Callbacks> | undefined; } & StringsOptions & { elementId: string; }) => StytchWebComponent>>; /** * @deprecated - Use Stytch UI web components instead. * See {@link StytchUI}, {@link StytchResetPassword}, {@link StytchPasskeyRegistration} or {@link StytchIdentityProvider} */ declare class StytchUIClient extends StytchClient { constructor(publicToken: string, options?: StytchClientOptions); mountLogin: ({ elementId, ...props }: { client: StytchClient>; config: StytchLoginConfig; presentation?: PresentationConfig; callbacks?: Callbacks> | undefined; } & StringsOptions & { elementId: string; }) => StytchWebComponent>>; mountResetPassword: ({ elementId, ...props }: { client: StytchClient>; config: StytchLoginConfig; presentation?: PresentationConfig; callbacks?: Callbacks> | undefined; } & StringsOptions & { passwordResetToken?: string; } & { elementId: string; }) => StytchWebComponent>>; mountPasskeyRegistration: ({ elementId, ...props }: { client: StytchClient>; config: StytchLoginConfig; presentation?: PresentationConfig; callbacks?: Callbacks> | undefined; } & StringsOptions & { elementId: string; }) => StytchWebComponent>>; mountIdentityProvider: ({ elementId, ...props }: Pick>, "client" | "presentation" | "callbacks" | "strings"> & { getIDPConsentManifest?: IDPConsentManifestGenerator; authTokenParams?: AuthTokenParams; } & { elementId: string; }) => StytchWebComponent>>; } export { AuthTokenParams, Callbacks, IDPConsentManifestGenerator, IDPSDKConfig, PresentationConfig, Products, ResetPasswordSDKConfig, SDKConfig, StringsOptions, StytchClient, StytchClientOptions, StytchIdentityProvider, StytchLoginConfig, StytchPasskeyRegistration, StytchProjectConfiguration, StytchProjectConfigurationInput, StytchResetPassword, StytchUI, StytchUIClient, mountIdentityProvider, mountLogin, mountPasskeyRegistration, mountResetPassword }; export type { Messages as Strings };