import { a as StytchProjectConfigurationInput, ev as PartialDeep, ew as RBACPolicyRole } from '../ui-pc_AYI_4.js'; export { A as AccessTokenExchangeFactor, v as AmazonOAuthFactor, w as AppleOAuthFactor, x as AuthenticateResponse, y as AuthenticationFactor, z as AuthenticatorAppFactor, D as B2BAllowedAuthMethods, E as B2BAllowedMFAMethods, F as B2BAuthenticateResponse, G as B2BAuthenticateResponseWithMFA, H as B2BAuthenticationFactor, J as B2BDiscoveryAuthenticateResponse, K as B2BDiscoveryIntermediateSessionsExchangeOptions, L as B2BDiscoveryIntermediateSessionsExchangeResponse, M as B2BDiscoveryOTPEmailAuthenticateOptions, N as B2BDiscoveryOTPEmailAuthenticateResponse, O as B2BDiscoveryOTPEmailSendOptions, P as B2BDiscoveryOTPEmailSendResponse, Q as B2BDiscoveryOrganizationsCreateOptions, R as B2BDiscoveryOrganizationsCreateResponse, T as B2BDiscoveryOrganizationsResponse, V as B2BEmailFactor, W as B2BGitHubOAuthFactor, X as B2BGoogleOAuthFactor, Y as B2BHubSpotOAuthFactor, Z as B2BImpersonationAuthenticateOptions, _ as B2BImpersonationAuthenticateResponse, $ as B2BMagicLinkLoginOrSignupOptions, a0 as B2BMagicLinkLoginOrSignupResponse, a1 as B2BMagicLinksAuthenticateOptions, a2 as B2BMagicLinksAuthenticateResponse, a3 as B2BMagicLinksDiscoveryAuthenticateOptions, a4 as B2BMagicLinksDiscoveryAuthenticateResponse, a5 as B2BMagicLinksEmailDiscoverySendOptions, a6 as B2BMagicLinksEmailDiscoverySendResponse, a7 as B2BMagicLinksInviteOptions, a8 as B2BMagicLinksInviteResponse, a9 as B2BMicrosoftOAuthFactor, aa as B2BOAuthAuthenticateOptions, ab as B2BOAuthAuthenticateResponse, ac as B2BOAuthDiscoveryAuthenticateResponse, ad as B2BOAuthDiscoveryStartOptions, ae as B2BOTPsEmailAuthenticateOptions, af as B2BOTPsEmailAuthenticateResponse, ag as B2BOTPsEmailLoginOrSignupOptions, ah as B2BOTPsEmailLoginOrSignupResponse, ai as B2BOrganizationsDeleteResponse, aj as B2BOrganizationsGetBySlugOptions, ak as B2BOrganizationsGetBySlugResponse, al as B2BOrganizationsGetConnectedAppOptions, am as B2BOrganizationsGetConnectedAppResponse, an as B2BOrganizationsGetConnectedAppsResponse, ao as B2BOrganizationsMemberDeleteMFAPhoneNumberResponse, ap as B2BOrganizationsMemberDeleteMFATOTPResponse, aq as B2BOrganizationsMemberDeletePasswordResponse, ar as B2BOrganizationsMemberGetConnectedAppsOptions, as as B2BOrganizationsMemberGetConnectedAppsResponse, at as B2BOrganizationsMemberRevokeConnectedAppOptions, au as B2BOrganizationsMemberRevokeConnectedAppResponse, av as B2BOrganizationsMemberStartEmailUpdateOptions, aw as B2BOrganizationsMemberStartEmailUpdateResponse, ax as B2BOrganizationsMemberUnlinkRetiredEmailOptions, ay as B2BOrganizationsMemberUnlinkRetiredEmailResponse, az as B2BOrganizationsMembersCreateOptions, aA as B2BOrganizationsMembersCreateResponse, aB as B2BOrganizationsMembersDeleteResponse, aC as B2BOrganizationsMembersReactivateResponse, aD as B2BOrganizationsMembersSearchOptions, aE as B2BOrganizationsMembersSearchResponse, aF as B2BOrganizationsMembersUpdateOptions, aG as B2BOrganizationsMembersUpdateResponse, aH as B2BOrganizationsUpdateOptions, aI as B2BOrganizationsUpdateResponse, aJ as B2BPasswordAuthenticateOptions, aK as B2BPasswordAuthenticateResponse, aL as B2BPasswordDiscoveryAuthenticateOptions, aM as B2BPasswordDiscoveryAuthenticateResponse, aN as B2BPasswordDiscoveryResetByEmailOptions, aO as B2BPasswordDiscoveryResetByEmailResponse, aP as B2BPasswordDiscoveryResetByEmailStartOptions, aQ as B2BPasswordDiscoveryResetByEmailStartResponse, aR as B2BPasswordResetByEmailOptions, aS as B2BPasswordResetByEmailResponse, aT as B2BPasswordResetByEmailStartOptions, aU as B2BPasswordResetByEmailStartResponse, aV as B2BPasswordResetByExistingPasswordOptions, aW as B2BPasswordResetByExistingPasswordResponse, aX as B2BPasswordResetBySessionOptions, aY as B2BPasswordResetBySessionResponse, aZ as B2BPasswordStrengthCheckOptions, a_ as B2BPasswordStrengthCheckResponse, a$ as B2BPhoneNumberFactor, b0 as B2BSMSAuthenticateOptions, b1 as B2BSMSAuthenticateResponse, b2 as B2BSMSSendOptions, b3 as B2BSMSSendResponse, b4 as B2BSSOCreateExternalConnectionOptions, b5 as B2BSSOCreateExternalConnectionResponse, b6 as B2BSSODeleteConnectionResponse, b7 as B2BSSODiscoverConnectionsResponse, b8 as B2BSSOGetConnectionsResponse, b9 as B2BSSOOIDCCreateConnectionOptions, ba as B2BSSOOIDCCreateConnectionResponse, bb as B2BSSOOIDCUpdateConnectionOptions, bc as B2BSSOOIDCUpdateConnectionResponse, bd as B2BSSOSAMLCreateConnectionOptions, be as B2BSSOSAMLCreateConnectionResponse, bf as B2BSSOSAMLDeleteEncryptionPrivateKeyOptions, bg as B2BSSOSAMLDeleteEncryptionPrivateKeyResponse, bh as B2BSSOSAMLDeleteVerificationCertificateOptions, bi as B2BSSOSAMLDeleteVerificationCertificateResponse, bj as B2BSSOSAMLUpdateConnectionByURLOptions, bk as B2BSSOSAMLUpdateConnectionByURLResponse, bl as B2BSSOSAMLUpdateConnectionOptions, bm as B2BSSOSAMLUpdateConnectionResponse, bn as B2BSSOUpdateExternalConnectionOptions, bo as B2BSSOUpdateExternalConnectionResponse, bp as B2BSlackOAuthFactor, B as B2BState, bq as B2BTOTPAuthenticateOptions, br as B2BTOTPAuthenticateResponse, bs as B2BTOTPCreateOptions, bt as B2BTOTPCreateResponse, bu as BiometricFactor, bv as BiometricRegistrationIdIsNullOrBlank, bw as BiometricsAlreadyEnrolledError, bx as BiometricsFailedError, by as BiometricsUnavailableError, bz as BitbucketOAuthFactor, s as Callbacks, bA as ChallengeSigningFailedError, bB as CoinbaseOAuthFactor, bC as ConnectedAppPublic, C as ConsumerState, bD as CryptoWalletAuthenticateOptions, bE as CryptoWalletAuthenticateResponse, bF as CryptoWalletAuthenticateStartOptions, bG as CryptoWalletAuthenticateStartResponse, bH as CryptoWalletFactor, bI as DFPNotConfigured, bJ as DeleteResponse, bK as DeviceAttributeDetails, bL as DeviceCredentialsNotAllowedError, bM as DiscordOAuthFactor, bN as DiscoveredOrganization, bO as EmailFactor, bP as EmailMagicLinksOptions, bQ as EncryptionPrivateKey, bR as ExternalConnection, bS as FacebookOAuthFactor, bT as FailedCodeChallengeError, bU as FailedToDecryptDataError, bV as FigmaOAuthFactor, bW as GitLabOAuthFactor, bX as GithubOAuthFactor, bY as GoogleOAuthFactor, bZ as IDPConsentItem, b_ as IDPConsentScreenManifest, b$ as IDPConsentSection, c0 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, c1 as InternalError, c2 as InvalidAuthorizationCredentialError, c3 as InvalidCredentialTypeError, c4 as InvalidPrivateKeyLength, c5 as InvalidRedirectSchemeError, c6 as InvalidStartUrlError, c7 as JSONDataNotConvertibleToStringError, c8 as KeyInvalidatedError, c9 as KeystoreUnavailableError, ca as LinkedInOAuthFactor, cb as MagicLinksAuthenticateOptions, cc as MagicLinksAuthenticateResponse, cd as MagicLinksLoginOrCreateOptions, ce as MagicLinksLoginOrCreateResponse, cf as MagicLinksSendOptions, cg as MagicLinksSendResponse, ch as Member, ci as MemberEmailUpdateDeliveryMethod, cj as MemberOptions, ck as MemberResponseCommon, cl as MemberRole, cm as MemberSession, cn as MfaRequired, co as MicrosoftOAuthFactor, cp as MissingAttestationObjectError, cq as MissingAuthorizationCredentialIDTokenError, cr as MissingCipherIv, cs as MissingGoogleClientIDError, ct as MissingPKCEError, cu as MissingPublicKeyError, cv as MissingUrlError, cw as NoBiometricsEnrolledError, cx as NoBiometricsRegistrationError, cy as NoCredentialsPresentError, cz as NoCurrentSessionError, cA as OAuthDiscoveryAuthenticateOptions, cB as OAuthOptions, cC as OAuthProviders, cD as OAuthRegistration, cE as OAuthStartOptions, cF as OIDCConnection, cG as OTPAuthenticateOptions, cH as OTPCodeEmailOptions, cI as OTPCodeOptions, cJ as OTPCodeSMSOptions, cK as OTPMethods, cL as OTPsAuthenticateResponse, cM as OTPsLoginOrCreateResponse, cN as OTPsSendResponse, cO as OneTapPositions, cP as OneTapStyleConfig, cQ as Organization, cR as OrganizationBySlugMatch, cS as OrganizationInfo, cT as OtpOptions, cU as PasskeyOptions, cV as PasskeysInvalidEncoding, cW as PasskeysMisconfigured, cX as PasskeysUnsupportedError, cY as PasswordAuthenticateOptions, cZ as PasswordAuthenticateResponse, c_ as PasswordCreateOptions, c$ as PasswordCreateResponse, d0 as PasswordFactor, d1 as PasswordOptions, d2 as PasswordResetByEmailOptions, d3 as PasswordResetByEmailResponse, d4 as PasswordResetByEmailStartOptions, d5 as PasswordResetByEmailStartResponse, d6 as PasswordResetByExistingPasswordOptions, d7 as PasswordResetByExistingPasswordResponse, d8 as PasswordResetBySessionOptions, d9 as PasswordResetBySessionResponse, da as PasswordStrengthCheckOptions, db as PasswordStrengthCheckResponse, dc as PhoneNumberFactor, dd as PrimaryRequired, de as ProviderOptions, df as ProvidersOptions, dg as RNUIEmailMagicLinksOptions, dh as RNUIOAuthOptions, di as RNUIOTPOptions, dj as RNUIPasswordOptions, dk as RNUIProductConfig, dl as RNUIProducts, dm as RandomNumberGenerationFailed, dn as RecoveryCodeFactor, dp as RecoveryCodeGetResponse, dq as RecoveryCodeRecoverOptions, dr as RecoveryCodeRecoverResponse, ds as RecoveryCodeRotateResponse, dt as ResponseCommon, du as RetiredEmailAddress, dv as SAMLConnection, dw as SDKAPIUnreachableError, dx as SDKDeviceHistory, dy as SDKNotConfiguredError, dz as SIWEParams, dA as SSOActiveConnection, dB as SSOAuthenticateOptions, dC as SSOAuthenticateResponse, dD as SSOStartOptions, dE as SalesforceOAuthFactor, dF as ScopeResult, dG as SearchQueryOperand, u as Session, dH as SessionAccessTokenExchangeOptions, dI as SessionAccessTokenExchangeResponse, dJ as SessionAttestOptions, dK as SessionAttestResponse, dL as SessionAuthenticateOptions, dM as SessionAuthenticateResponse, dN as SessionDurationOptions, dO as SessionInfo, dP as SessionOnChangeCallback, dQ as SessionOptions, dR as SessionRevokeOptions, dS as SessionRevokeResponse, dT as SessionTokens, dU as SessionTokensUpdate, dV as SignInWithAppleMisconfigured, dW as SlackOAuthFactor, dX as SnapchatOAuthFactor, t as StringsOptions, S as StyleConfig, dY as StytchAPIError, dZ as StytchAPISchemaError, d_ as StytchAPIUnreachableError, g as StytchClientOptions, d$ as StytchError, e0 as StytchEvent, e1 as StytchEventType, r as StytchProjectConfiguration, e2 as StytchSDKAPIError, e3 as StytchSDKError, e4 as StytchSDKErrorOptions, e5 as StytchSDKSchemaError, e6 as StytchSDKUIError, e7 as StytchSDKUsageError, e8 as TikTokOAuthFactor, e9 as TwitchOAuthFactor, ea as TwitterOAuthFactor, eb as UNRECOVERABLE_ERROR_TYPES, ec as UnsubscribeFunction, ed as UpdateResponse, U 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 '../ui-pc_AYI_4.js'; import { S as StytchB2BClient } from '../StytchB2BClient-79JK1KWk.js'; import react__default from 'react'; import { D as B2BMFAProducts } from '../createAuthUrlHandler-CH6XQXol.js'; export { y as AuthFlowType, z as B2BEmailMagicLinksOptions, C as B2BEmailOTPOptions, E as B2BMemberDeleteMFAPhoneNumberResponse, F as B2BMemberDeleteMFATOTPResponse, G as B2BMemberDeletePasswordResponse, H as B2BMemberGetConnectedAppsResponse, J as B2BMemberOnChangeCallback, K as B2BMemberRevokeConnectedAppOptions, L as B2BMemberRevokeConnectedAppResponse, M as B2BMemberStartEmailUpdateRequest, N as B2BMemberStartEmailUpdateResponse, Q as B2BMemberUnlinkRetiredEmailRequest, R as B2BMemberUnlinkRetiredEmailResponse, T as B2BMemberUpdateOptions, U as B2BMemberUpdateResponse, B as B2BOAuthAuthorizeStartOptions, n as B2BOAuthAuthorizeStartResponse, o as B2BOAuthAuthorizeSubmitOptions, p as B2BOAuthAuthorizeSubmitResponse, q as B2BOAuthLogoutStartOptions, r as B2BOAuthLogoutStartResponse, V as B2BOAuthOptions, W as B2BOAuthProviderConfig, X as B2BOAuthProviders, Y as B2BPasswordOptions, Z as B2BSCIMCreateConnectionOptions, _ as B2BSCIMCreateConnectionResponse, $ as B2BSCIMDeleteConnectionResponse, a0 as B2BSCIMGetConnectionGroupsOptions, a1 as B2BSCIMGetConnectionGroupsResponse, a2 as B2BSCIMGetConnectionResponse, a3 as B2BSCIMRotateCancelResponse, a4 as B2BSCIMRotateCompleteResponse, a5 as B2BSCIMRotateStartResponse, a6 as B2BSCIMUpdateConnectionOptions, a7 as B2BSCIMUpdateConnectionResponse, a8 as B2BSMSOTPOptions, a9 as B2BSSOOptions, aa as B2BSessionAccessTokenExchangeOptions, ab as B2BSessionAccessTokenExchangeResponse, ac as B2BSessionAttestOptions, ad as B2BSessionAttestResponse, ae as B2BSessionAuthenticateResponse, af as B2BSessionExchangeOptions, ag as B2BSessionExchangeResponse, ah as B2BSessionOnChangeCallback, ai as B2BSessionRevokeForMemberOptions, aj as B2BSessionRevokeForMemberResponse, ak as B2BSessionRevokeOptions, al as BiometricsAuthenticateCompleteResponse, am as BiometricsAuthenticateOptions, an as BiometricsAuthenticateStartResponse, ao as BiometricsDeleteResponse, ap as BiometricsGetSensorResponse, aq as BiometricsRegisterCompleteResponse, ar as BiometricsRegisterOptions, as as BiometricsRegisterStartResponse, at as BiometryType, au as ConsumerPermissionsMap, av as DirectLoginForSingleMembershipConfig, m as IHeadlessB2BIDPClient, t as IHeadlessB2BMemberClient, v as IHeadlessB2BRBACClient, w as IHeadlessB2BSCIMClient, u as IHeadlessB2BSelfClient, s as IHeadlessB2BSessionClient, aw as IHeadlessBiometricsClient, I as IHeadlessIDPClient, k as IHeadlessImpersonationClient, g as IHeadlessOAuthClient, l as IHeadlessRBACClient, j as IHeadlessTOTPClient, i as IHeadlessUserClient, ax as IOAuthProvider, ay as IRNHeadlessOAuthClient, az as IRNOAuthProvider, aA as ImpersonationAuthenticateOptions, aB as ImpersonationAuthenticateResponse, aC as MemberInfo, aD as MemberSessionInfo, aE as OAuthAttachResponse, aF as OAuthAuthenticateOptions, aG as OAuthAuthenticateResponse, O as OAuthAuthorizeStartOptions, b as OAuthAuthorizeStartResponse, c as OAuthAuthorizeSubmitOptions, d as OAuthAuthorizeSubmitResponse, aH as OAuthGetURLOptions, e as OAuthLogoutStartOptions, f as OAuthLogoutStartResponse, aI as OAuthStartFailureReason, aJ as OAuthStartResponse, x 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 '../createAuthUrlHandler-CH6XQXol.js'; type StringLiteralFromEnum = `${T}`; type EnumOrStringLiteral = T | StringLiteralFromEnum; declare enum AdminPortalB2BProducts { emailMagicLinks = "emailMagicLinks", emailOtp = "emailOtp", sso = "sso", password = "password", oauthGoogle = "oauthGoogle", oauthMicrosoft = "oauthMicrosoft", oauthHubspot = "oauthHubspot", oauthSlack = "oauthSlack", oauthGithub = "oauthGithub" } /** * The style configuration allows you to customize the look of the Admin Portal. * You can specify some of them or none at all. */ interface AdminPortalStyleConfig { /** * The configuration object for the Admin Portal container. */ container: { /** * The background color of the Admin Portal container. */ backgroundColor: string; /** * The border color of the Admin Portal container. */ borderColor: string; /** * The border radius of the Admin Portal container. */ borderRadius: string; /** * The width of the Admin Portal container. */ width: string; /** * The border width of the Admin Portal container. */ borderWidth: string | number; /** * The padding of the Admin Portal container. */ padding: string | number; }; /** * The configuration object for colors used in the Admin Portal. */ colors: { /** * Your primary brand color. This will be applied to most of the text in the * Admin Portal. */ primary: string; /** * Your secondary brand color. This will be applied to text disclaimers and * other visual elements. */ secondary: string; /** * A success color to be used in visual elements. */ success: string; /** * An error color to be used in visual elements. */ error: string; /** * The text color for accent elements. This will be used for tags and select * chips in the Admin Portal. */ accentText: string; /** * An accent color to be used in visual elements. This will be applied to * the background of tags and select chips in the Admin Portal. */ accent: string; /** * The color used for miscellaneous elements that don't require visual * elements, like dividers and table, popover menu, and accordion borders. */ subtle: string; }; /** * The configuration object for buttons in the Admin Portal. */ buttons: { /** * The configuration object for primary buttons. */ primary: { /** * The background color of the primary button. */ backgroundColor: string; /** * The text color of the primary button. */ textColor: string; /** * The border color of the primary button. */ borderColor: string; /** * The border radius of the primary button. */ borderRadius: string; }; /** * The configuration object for secondary buttons. */ secondary: { /** * The background color of the secondary button. */ backgroundColor: string; /** * The text color of the secondary button. */ textColor: string; /** * The border color of the secondary button. */ borderColor: string; /** * The border radius of the secondary button. */ borderRadius: string; }; /** * The configuration object for disabled buttons. */ disabled: { /** * The background color of the disabled button. */ backgroundColor: string; /** * The text color of the disabled button. */ textColor: string; /** * The border color of the disabled button. */ borderColor: string; /** * The border radius of the disabled button. */ borderRadius: string; }; }; /** * The configuration object for text inputs in the Admin Portal. */ inputs: { /** * The background color of the text inputs. */ backgroundColor: string; /** * The text color of the text inputs. */ textColor: string; /** * The color of the placeholder text in the text inputs. */ placeholderColor: string; /** * The border color of the text inputs. */ borderColor: string; /** * The border radius of the text inputs. */ borderRadius: string; }; /** * The font family that will apply to text in the Admin Portal. */ fontFamily: string; /** * The default border radius for elements in the Admin Portal. */ borderRadius: string; } interface AdminPortalCommonProps { /** * The Stytch B2B client to use. */ client: StytchB2BClient; /** * An {@link AdminPortalStyleConfig} object containing custom styling info. */ styles?: PartialDeep; } interface AdminPortalUIConfigRoleDisplayProvider { /** * A function that returns the display name for a role. By default, the role's * ID is used as the display name. * * @param role The role to get the display name for. * @returns The display name for the role. */ getRoleDisplayName?: (role: RBACPolicyRole) => string; /** * A function that returns the description for a role. By default, the * description assigned to the role is used as is. * * @param role The role to get the description for. * @returns The description for the role. */ getRoleDescription?: (role: RBACPolicyRole) => string; /** * A function that returns the sorted order of roles based on a custom list of role IDs. * * @param roles The list of roles to be sorted. Each role is an object that includes the role ID. * @returns An array of role IDs representing the desired sort order. The returned * list may include a subset of role IDs from the input. Roles included in this array * will be sorted first. Any roles not specified in the array will appear after the * specified roles. */ getRoleSortOrder?: (roles: RBACPolicyRole[]) => string[]; } /** * The UI configuration object for member management used in the Admin Portal. */ interface AdminPortalMemberManagementUIConfig extends AdminPortalUIConfigRoleDisplayProvider { /** * The ID of the template to use when sending an invitation to join. */ inviteTemplateId?: string; /** * The URL that the invited members click from the Email Magic Link. * If this value is not passed, the default `invite_redirect_url` that you set in your Dashboard is used. */ inviteRedirectURL?: string; /** * The expiration time for the Magic Link in the invite email, in minutes. * Defaults to 10080 (1 week), minimum 5, maximum 10080. */ inviteExpirationMinutes?: number; } interface AdminPortalMemberManagementMountOptions extends AdminPortalCommonProps { /** * An {@link AdminPortalMemberManagementUIConfig} object containing custom configuration. */ config?: AdminPortalMemberManagementUIConfig; } /** * The UI configuration object for SCIM used in the Admin Portal. */ type AdminPortalSCIMUIConfig = AdminPortalUIConfigRoleDisplayProvider; interface AdminPortalSCIMMountOptions extends AdminPortalCommonProps { /** * An {@link AdminPortalSCIMUIConfig} object containing custom configuration. */ config?: AdminPortalSCIMUIConfig; } /** * The UI configuration object for organization used in the Admin Portal. */ interface AdminPortalOrgUIConfig extends AdminPortalUIConfigRoleDisplayProvider { /** * Specify the auth methods that a member can choose to enable when restricting the organization's allowed auth methods. * If not specified, all auth methods are shown. */ allowedAuthMethods?: EnumOrStringLiteral[]; /** * Specify the MFA auth methods that a member can choose to enable when restricting the organization's allowed auth methods. * If not specified, all auth methods are shown. */ allowedMfaAuthMethods?: B2BMFAProducts[]; } interface AdminPortalOrgSettingsMountOptions extends AdminPortalCommonProps { /** * An {@link AdminPortalOrgUIConfig} object containing custom configuration. */ config?: AdminPortalOrgUIConfig; } /** * The UI configuration object for SSO configuration used in the Admin Portal. */ type AdminPortalSSOUIConfig = AdminPortalUIConfigRoleDisplayProvider & { /** * The URL used when testing SSO connections via the test button on the SSO Connection Details screen. * If this value is not passed, the default `login_redirect_url` that you set in your Dashboard is used. */ testLoginRedirectURL?: string; /** * The URL used when testing SSO connections via the test button on the SSO Connection Details screen. * If this value is not passed, the default `signup_redirect_url` that you set in your Dashboard is used. */ testSignupRedirectURL?: string; }; interface AdminPortalSSOMountOptions extends AdminPortalCommonProps { /** * An {@link AdminPortalSSOUIConfig} object containing custom configuration. */ config?: AdminPortalSSOUIConfig; } interface InjectedOptions { client: StytchB2BClient; element: HTMLElement; } type ExcludeInjectedOptions = Omit>; type AdminPortalMemberManagementProps = ExcludeInjectedOptions>; /** * The Admin Portal member management UI component. * This component must be rendered within a {@link StytchB2BProvider}. * * See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk online reference} */ declare const AdminPortalMemberManagement: (props: AdminPortalMemberManagementProps) => react__default.JSX.Element; type AdminPortalOrgSettingsProps = ExcludeInjectedOptions>; /** * The Admin Portal Organization Settings UI component. * This component must be rendered within a {@link StytchB2BProvider}. * * See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk online reference} */ declare const AdminPortalOrgSettings: (props: AdminPortalOrgSettingsProps) => react__default.JSX.Element; type AdminPortalSCIMProps = ExcludeInjectedOptions>; /** * The Admin Portal SCIM UI component. * This component must be rendered within a {@link StytchB2BProvider}. * * See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk online reference} */ declare const AdminPortalSCIM: (props: AdminPortalSCIMProps) => react__default.JSX.Element; type AdminPortalSSOProps = ExcludeInjectedOptions>; /** * The Admin Portal SSO UI component. * This component must be rendered within a {@link StytchB2BProvider}. * * See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk online reference} */ declare const AdminPortalSSO: (props: AdminPortalSSOProps) => react__default.JSX.Element; export { AdminPortalB2BProducts, AdminPortalMemberManagement, AdminPortalOrgSettings, AdminPortalSCIM, AdminPortalSSO, B2BMFAProducts, StytchProjectConfigurationInput }; export type { AdminPortalCommonProps, AdminPortalMemberManagementMountOptions, AdminPortalMemberManagementProps, AdminPortalOrgSettingsMountOptions, AdminPortalOrgSettingsProps, AdminPortalSCIMMountOptions, AdminPortalSCIMProps, AdminPortalSSOMountOptions, AdminPortalSSOProps, AdminPortalStyleConfig };