import * as swr__internal from 'swr/_internal';
import * as swr from 'swr';
import { Key, SWRConfiguration, Arguments } from 'swr';
import * as swr_mutation from 'swr/mutation';
import { SWRMutationConfiguration } from 'swr/mutation';

type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
declare const MemberStatus: {
    readonly Active: "Active";
    readonly Invited: "Invited";
    readonly InviteExpired: "InviteExpired";
    readonly InviteRevoked: "InviteRevoked";
    readonly NoInvite: "NoInvite";
};
type MemberActionsItem = (typeof MemberActionsItem)[keyof typeof MemberActionsItem];
declare const MemberActionsItem: {
    readonly "edit-role": "edit-role";
    readonly "resend-invite": "resend-invite";
    readonly "revoke-invite": "revoke-invite";
    readonly "revoke-membership": "revoke-membership";
};
type MemberActions = MemberActionsItem[];
type MemberRoles = {
    name: string;
    slug: string;
    /** @nullable */
    description?: string | null;
}[] | null;
interface Member {
    id: string;
    email: string;
    emailVerified: boolean;
    /** @nullable */
    profilePictureUrl?: string | null;
    /** @nullable */
    firstName?: string | null;
    /** @nullable */
    lastName?: string | null;
    /** An ISO 8601 timestamp. */
    createdAt: string;
    /** @nullable */
    lastActivityAt?: string | null;
    status: MemberStatus;
    actions: MemberActions;
    isLoggedInUser?: true | null;
    roles?: MemberRoles;
}
/**
 * Pagination cursors for navigating between pages of results.
 */
interface ListMetadata {
    /**
     * An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
     * @nullable
     */
    before: string | null;
    /**
     * An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
     * @nullable
     */
    after: string | null;
}
interface MembersResponse {
    data: Member[];
    list_metadata: ListMetadata;
}
interface MemberRole {
    name: string;
    slug: string;
    default: boolean;
    /** @nullable */
    description?: string | null;
}
interface RolesAndConfigResponse {
    roles: MemberRole[];
    multipleRolesEnabled: boolean;
}
interface InviteMemberResponse {
    success: boolean;
}
interface ResendInviteResponse {
    /** @nullable */
    id?: string | null;
    success: boolean;
}
interface RevokeMemberResponse {
    id: string;
    success: boolean;
}
interface UpdateMemberResponse {
    id: string;
    success: boolean;
}
interface RemoveMemberResponse {
    id: string;
    success: boolean;
}
interface OrganizationInfo {
    id: string;
    name: string;
    current: boolean;
    /** @nullable */
    favicon?: string | null;
}
interface OrganizationsResponse {
    data: OrganizationInfo[];
}
interface OAuthProfile {
    id: string;
    /** @nullable */
    email?: string | null;
    /** @nullable */
    firstName?: string | null;
    /** @nullable */
    lastName?: string | null;
    /** @nullable */
    profilePictureUrl?: string | null;
    /** @nullable */
    lastLoginAt?: string | null;
}
type MeOauthProfiles = {
    AppleOAuth?: OAuthProfile;
    GithubOAuth?: OAuthProfile;
    GoogleOAuth?: OAuthProfile;
    MicrosoftOAuth?: OAuthProfile;
} | null;
interface Me {
    id: string;
    email: string;
    /** @nullable */
    firstName?: string | null;
    /** @nullable */
    lastName?: string | null;
    /** @nullable */
    locale?: string | null;
    /** @nullable */
    profilePictureUrl?: string | null;
    oauthProfiles?: MeOauthProfiles;
}
type CreateTotpFactorResponseAuthenticationFactor = {
    object: "authentication_factor";
    id: string;
    type: "generic_otp" | "sms" | "totp" | "webauthn";
    /** @nullable */
    user_id?: string | null;
    sms?: {
        phone_number: string;
    } | null;
    totp?: {
        issuer: string;
        user: string;
        secret: string;
        qr_code: string;
        uri: string;
    } | {
        issuer: string;
        user: string;
    } | null;
} & {
    created_at: string;
    updated_at: string;
};
type CreateTotpFactorResponseAuthenticationChallenge = {
    object: "authentication_challenge";
    id: string;
    /** @nullable */
    expires_at?: string | null;
    /** @nullable */
    code?: string | null;
    authentication_factor_id: string;
} & {
    created_at: string;
    updated_at: string;
};
interface CreateTotpFactorResponse {
    authenticationFactor: CreateTotpFactorResponseAuthenticationFactor;
    authenticationChallenge: CreateTotpFactorResponseAuthenticationChallenge;
}
interface VerifyTotpFactorRequest {
    code: string;
    authenticationChallengeId: string;
}
type AuthenticationInformationResponseDataVerificationMethodsMfa = {
    provider: "MFA";
    isSetUp: boolean;
    /** @nullable */
    lastUsed?: string | null;
} | null;
type AuthenticationInformationResponseDataVerificationMethodsPassword = {
    provider: "Password";
    isSetUp: boolean;
    /** @nullable */
    lastUsed?: string | null;
    isCurrentSession: boolean;
} | null;
type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
    provider: "Passkey";
    isSetUp: boolean;
    /** @nullable */
    lastUsed?: string | null;
    passKeys: {
        id: string;
    }[];
    isCurrentSession: boolean;
} | null;
type AuthenticationInformationResponseDataVerificationMethods = {
    Mfa?: AuthenticationInformationResponseDataVerificationMethodsMfa;
    Password?: AuthenticationInformationResponseDataVerificationMethodsPassword;
    Passkey?: AuthenticationInformationResponseDataVerificationMethodsPasskey;
};
type AuthenticationInformationResponseDataPasswordSettings = {
    isPasswordNumberRequired: boolean;
    isPasswordPwnedRequired: boolean;
    isPasswordSymbolRequired: boolean;
    isPasswordUppercaseRequired: boolean;
    passwordMinimumLength: number;
    passwordMinimumStrength: number;
};
type AuthenticationInformationResponseData = {
    verificationMethods: AuthenticationInformationResponseDataVerificationMethods;
    passwordSettings: AuthenticationInformationResponseDataPasswordSettings;
};
interface AuthenticationInformationResponse {
    data: AuthenticationInformationResponseData;
}
interface CreatePasswordRequest {
    password: string;
}
interface UpdatePasswordRequest {
    newPassword: string;
    currentPassword: string;
}
interface RevokeAllSessionsRequest {
    currentSessionId: string;
}
type ActiveSessionState = {
    tag: string;
    /** @nullable */
    expiresAt?: string | null;
};
type ActiveSessionCurrentLocation = {
    cityName: string;
    countryISOCode: string;
} | null;
interface ActiveSession {
    id: string;
    userlandUserId: string;
    /** @nullable */
    ipAddress?: string | null;
    /** @nullable */
    userAgent?: string | null;
    /** @nullable */
    organizationId?: string | null;
    state: ActiveSessionState;
    currentLocation?: ActiveSessionCurrentLocation;
    usedSsoAuth: boolean;
    usedPasswordAuth: boolean;
    usedPasskeyAuth: boolean;
    usedAppleOauth: boolean;
    usedBitbucketOauth: boolean;
    usedGithubOauth: boolean;
    usedGitLabOauth: boolean;
    usedGoogleOauth: boolean;
    usedLinkedInOauth: boolean;
    usedImpersonation: boolean;
    usedMicrosoftOauth: boolean;
    usedSlackOauth: boolean;
    usedXeroOauth: boolean;
    usedMagicAuth: boolean;
    /** @nullable */
    impersonatorUserId?: string | null;
    /** @nullable */
    impersonatorEmail?: string | null;
    /** @nullable */
    impersonationReason?: string | null;
    /** @nullable */
    lastActivityAt?: string | null;
    createdAt: string;
    updatedAt: string;
}
interface ActiveSessionsResponse {
    data: ActiveSession[];
}
interface SendVerificationResponse {
    authenticationChallenge: string;
    type: "EmailVerification";
}
interface VerifyRequest {
    code: string;
    authenticationChallengeId: string;
}
interface VerifyResponse {
    elevatedAccessToken: string;
    expiresAt: string;
}
interface SendEmailChangeRequest {
    newEmail: string;
}
interface SendEmailChangeResponse {
    expiresAt: string;
}
interface VerifyEmailChangeRequest {
    code: string;
}
interface VerifyEmailChangeResponse {
    user: Me;
    elevatedAccessToken: string;
    expiresAt: string;
}
type RegisterPasskeyResponseOptions = {
    [key: string]: unknown;
};
interface RegisterPasskeyResponse {
    challengeId: string;
    options: RegisterPasskeyResponseOptions;
}
type VerifyPasskeyRequestResponse = {
    [key: string]: unknown;
};
interface VerifyPasskeyRequest {
    challengeId: string;
    response: VerifyPasskeyRequestResponse;
}
interface SettingsResponse {
    object: "settings";
    authkitOrigin: string;
    /** @nullable */
    logoDarkIconPath?: string | null;
    /** @nullable */
    logoDarkPath?: string | null;
    /** @nullable */
    logoLightIconPath?: string | null;
    /** @nullable */
    logoLightPath?: string | null;
    teamName: string;
}
type OrganizationDomainState = (typeof OrganizationDomainState)[keyof typeof OrganizationDomainState];
declare const OrganizationDomainState: {
    readonly Failed: "Failed";
    readonly LegacyVerified: "LegacyVerified";
    readonly Pending: "Pending";
    readonly Verified: "Verified";
};
type DomainVerificationNameServer = (typeof DomainVerificationNameServer)[keyof typeof DomainVerificationNameServer];
declare const DomainVerificationNameServer: {
    readonly AwsRoute53: "AwsRoute53";
    readonly GoogleDomains: "GoogleDomains";
    readonly CloudFlare: "CloudFlare";
    readonly GoDaddy: "GoDaddy";
    readonly Other: "Other";
};
interface OrganizationDomain {
    id: string;
    domain: string;
    state: OrganizationDomainState;
    nameServer: DomainVerificationNameServer;
    /** @nullable */
    verificationPrefix?: string | null;
    /** @nullable */
    verificationToken?: string | null;
    /** @nullable */
    subdomain?: string | null;
    createdAt: string;
}
interface X509CertificateJSON {
    id: string;
    value: string;
    /** @nullable */
    notBefore?: string | null;
    /** @nullable */
    notAfter?: string | null;
    /** @nullable */
    lastExpiryEventSentAt?: string | null;
}
type SamlSessionState = (typeof SamlSessionState)[keyof typeof SamlSessionState];
declare const SamlSessionState: {
    readonly Authorized: "Authorized";
    readonly Failed: "Failed";
    readonly Started: "Started";
    readonly Successful: "Successful";
    readonly Timedout: "Timedout";
};
type OidcSessionState = (typeof OidcSessionState)[keyof typeof OidcSessionState];
declare const OidcSessionState: {
    readonly Started: "Started";
    readonly Authorized: "Authorized";
    readonly Successful: "Successful";
    readonly Failed: "Failed";
    readonly Terminated: "Terminated";
    readonly Timedout: "Timedout";
};
declare const SsoConnectionSessionJSONState: {
    readonly Started: "Started";
    readonly Authorized: "Authorized";
    readonly Successful: "Successful";
    readonly Failed: "Failed";
    readonly Terminated: "Terminated";
    readonly Timedout: "Timedout";
};
interface SsoConnectionSessionJSON {
    id: string;
    createdAt: string;
    state: (typeof SsoConnectionSessionJSONState)[keyof typeof SsoConnectionSessionJSONState];
}
type SsoConnection = {
    id: string;
    type: "AdfsSaml" | "Auth0Saml" | "AzureSaml" | "CasSaml" | "ClassLinkSaml" | "CloudflareSaml" | "CyberArkSaml" | "DuoSaml" | "GenericSaml" | "GoogleSaml" | "JumpCloudSaml" | "KeycloakSaml" | "LastPassSaml" | "MiniOrangeSaml" | "NetIqSaml" | "OktaSaml" | "OneLoginSaml" | "OracleSaml" | "PingFederateSaml" | "PingOneSaml" | "RipplingSaml" | "SalesforceSaml" | "ShibbolethGenericSaml" | "ShibbolethSaml" | "SimpleSamlPhpSaml" | "TestIdp" | "VmWareSaml";
    name: string;
    state: "Inactive" | "Validating" | "Active" | "Deleting";
    x509Certificates: X509CertificateJSON[];
    latestExpiringCertificate?: X509CertificateJSON | null;
    latestExpiredCertificate?: X509CertificateJSON | null;
    createdAt: string;
    providerTag: "Saml";
    lastSession?: SsoConnectionSessionJSON | null;
} | ({
    id: string;
    name: string;
    state: "Inactive" | "Validating" | "Active" | "Deleting";
    type: "AdpOidc" | "Auth0Migration" | "CleverOidc" | "EntraIdOidc" | "GenericOidc" | "GoogleOidc" | "OktaOidc" | "LoginGovOidc";
    createdAt: string;
    providerTag: "OpenIdConnect";
    lastSession?: SsoConnectionSessionJSON | null;
} & {
    /** @nullable */
    x509Certificates?: null;
    /** @nullable */
    latestExpiringCertificate?: null;
    /** @nullable */
    latestExpiredCertificate?: null;
});
type AuditLogStreamState = "Active" | "Inactive" | "Error" | "Invalid";
type AuditLogStreamType = "Datadog" | "Splunk" | "S3" | "GoogleCloudStorage" | "GenericHttps" | "AzureSentinel";
interface AuditLogStreamJSON {
    id: string;
    state: AuditLogStreamState;
    type: AuditLogStreamType;
    /** @nullable */
    errorMessage?: string | null;
    /** @nullable */
    lastSyncedEventId?: string | null;
    auditLogTrailId: string;
}
interface ListOrganizationApiKeysResponseData {
    id: string;
    name: string;
    obfuscatedValue: string;
    createdAt: string;
    /** @nullable */
    lastUsedAt?: string | null;
    permissions: string[];
}
type ListOrganizationApiKeysResponseListMetadata = {
    before?: string;
    after?: string;
};
interface ListOrganizationApiKeysResponse {
    data: ListOrganizationApiKeysResponseData[];
    list_metadata: ListOrganizationApiKeysResponseListMetadata;
}
interface CreateOrganizationApiKeyRequest {
    name: string;
    permissions: string[];
}
interface CreateOrganizationApiKeyResponse {
    id: string;
    value: string;
    obfuscatedValue: string;
    createdAt: string;
    name: string;
    permissions: string[];
}
interface ListOrganizationApiKeyPermission {
    id: string;
    slug: string;
    name: string;
    /** @nullable */
    description?: string | null;
}
type ListOrganizationApiKeyPermissionsResponseListMetadata = {
    before?: string;
    after?: string;
};
interface ListOrganizationApiKeyPermissionsResponse {
    data: ListOrganizationApiKeyPermission[];
    list_metadata: ListOrganizationApiKeyPermissionsResponseListMetadata;
}
type ListUserApiKeysResponseDataOwner = {
    type: "user";
    id: string;
    email: string;
    /** @nullable */
    firstName?: string | null;
    /** @nullable */
    lastName?: string | null;
    displayName: string;
};
interface ListUserApiKeysResponseData {
    id: string;
    owner: ListUserApiKeysResponseDataOwner;
    name: string;
    obfuscatedValue: string;
    createdAt: string;
    /** @nullable */
    lastUsedAt?: string | null;
    permissions: string[];
}
type ListUserApiKeysResponseListMetadata = {
    before?: string;
    after?: string;
};
interface ListUserApiKeysResponse {
    data: ListUserApiKeysResponseData[];
    list_metadata: ListUserApiKeysResponseListMetadata;
}
interface CreateUserApiKeyRequest {
    name: string;
    permissions: string[];
}
interface CreateUserApiKeyResponse {
    id: string;
    value: string;
    obfuscatedValue: string;
    createdAt: string;
    name: string;
    permissions: string[];
}
interface ListUserApiKeyPermission {
    id: string;
    slug: string;
    name: string;
    /** @nullable */
    description?: string | null;
}
type ListUserApiKeyPermissionsResponseListMetadata = {
    before?: string;
    after?: string;
};
interface ListUserApiKeyPermissionsResponse {
    data: ListUserApiKeyPermission[];
    list_metadata: ListUserApiKeyPermissionsResponseListMetadata;
}
type DataInstallation = {
    object: "data_installation" | "connected_account";
    id: string;
    /** @nullable */
    user_id?: string | null;
    /** @nullable */
    organization_id?: string | null;
    scopes: string[];
    state: "connected" | "needs_reauthorization";
    created_at: string;
    updated_at: string;
} & {
    /** @nullable */
    userlandUserId?: string | null;
    /** @nullable */
    organizationId?: string | null;
    createdAt?: string;
    updatedAt?: string;
};
type DataIntegration = {
    object: "data_integration";
    id: string;
    name: string;
    /** @nullable */
    description?: string | null;
    slug: string;
    integrationType: "asana" | "attio" | "box" | "cal-dot-com" | "calendly" | "confluence" | "datadog" | "dropbox" | "frame-io" | "front" | "github" | "gitlab" | "gmail" | "gong" | "google" | "google-calendar" | "google-drive" | "helpscout" | "hubspot" | "intercom" | "intralinks" | "jira" | "linear" | "microsoft" | "microsoft-onedrive" | "microsoft-onenote" | "microsoft-outlook" | "microsoft-outlook-calendar" | "microsoft-sharepoint" | "microsoft-teams" | "microsoft-todo" | "notion" | "prefect" | "pydantic-logfire" | "quickbooks" | "salesforce" | "sentry" | "slack" | "snowflake" | "stripe" | "xero" | "zendesk" | "zoom" | string;
    ownership: "userland_user" | "organization";
    credentialsType: "shared" | "custom";
    scopes?: string[] | null;
    createdAt: string;
    updatedAt: string;
    installation?: DataInstallation | null;
} & {
    iconSlug?: string;
    iconUrl?: string;
    iconDarkUrl?: string;
};
interface DataIntegrationsResponse {
    data: DataIntegration[];
}
type GetDataIntegrationAuthorizeUrlResponse = {
    url: string;
    redirectToken: string;
} & {
    handoffToken?: string;
};
interface GetAuthorizationStatusResponse {
    isConnecting: boolean;
}
type DirectoryType = (typeof DirectoryType)[keyof typeof DirectoryType];
declare const DirectoryType: {
    readonly azure_scim_v20: "azure scim v2.0";
    readonly bamboohr: "bamboohr";
    readonly breathe_hr: "breathe hr";
    readonly cezanne_hr: "cezanne hr";
    readonly cyberark_scim_v20: "cyberark scim v2.0";
    readonly fourth_hr: "fourth hr";
    readonly generic_scim_v20: "generic scim v2.0";
    readonly gsuite_directory: "gsuite directory";
    readonly gusto: "gusto";
    readonly hibob: "hibob";
    readonly jump_cloud_scim_v20: "jump cloud scim v2.0";
    readonly okta_scim_v20: "okta scim v2.0";
    readonly onelogin_scim_v20: "onelogin scim v2.0";
    readonly people_hr: "people hr";
    readonly personio: "personio";
    readonly pingfederate_scim_v20: "pingfederate scim v2.0";
    readonly rippling: "rippling";
    readonly rippling_scim_v20: "rippling scim v2.0";
    readonly s3: "s3";
    readonly sailpoint_scim_v20: "sailpoint scim v2.0";
    readonly sftp: "sftp";
    readonly sftp_workday: "sftp workday";
    readonly workday: "workday";
};
type DirectoryState = (typeof DirectoryState)[keyof typeof DirectoryState];
declare const DirectoryState: {
    readonly requires_type: "requires_type";
    readonly linked: "linked";
    readonly validating: "validating";
    readonly invalid_credentials: "invalid_credentials";
    readonly unlinked: "unlinked";
    readonly deleting: "deleting";
};
interface DirectoryUsersMetadata {
    active: number;
    inactive: number;
}
interface DirectoryMetadata {
    users: DirectoryUsersMetadata;
    groups: number;
}
interface Directory {
    id: string;
    name: string;
    type: DirectoryType;
    state: DirectoryState;
    createdAt: string;
    updatedAt: string;
    /** @nullable */
    lastSyncRunAt?: string | null;
    metadata: DirectoryMetadata;
}
interface DirectoriesResponse {
    data: Directory[];
    link: string;
}
type CreateOrganizationApiKey400ErrorsItem = {
    code: string;
    field: string;
};
type CreateOrganizationApiKey400 = {
    message: string;
    errors: CreateOrganizationApiKey400ErrorsItem[];
};
type CreateOrganizationApiKey403 = {
    message: string;
};
type CreateOrganizationApiKey404 = {
    message: string;
};
type CreateOrganizationApiKey422ErrorsItem = {
    code: string;
    field: string;
};
type CreateOrganizationApiKey422 = {
    message: string;
    errors: CreateOrganizationApiKey422ErrorsItem[];
};
type ListOrganizationApiKeysParams = {
    limit?: number;
    before?: string;
    after?: string;
    search?: string;
};
type ListOrganizationApiKeys400ErrorsItem = {
    code: string;
    field: string;
};
type ListOrganizationApiKeys400 = {
    message: string;
    errors: ListOrganizationApiKeys400ErrorsItem[];
};
type ListOrganizationApiKeys403 = {
    message: string;
};
type ListOrganizationApiKeyPermissionsParams = {
    search?: string;
    limit?: number;
    before?: string;
    after?: string;
};
type ListOrganizationApiKeyPermissions400ErrorsItem = {
    code: string;
    field: string;
};
type ListOrganizationApiKeyPermissions400 = {
    message: string;
    errors: ListOrganizationApiKeyPermissions400ErrorsItem[];
};
type ListOrganizationApiKeyPermissions403 = {
    message: string;
};
type DeleteOrganizationApiKey200 = {
    success: boolean;
};
type DeleteOrganizationApiKey403 = {
    message: string;
};
type DeleteOrganizationApiKey404 = {
    message: string;
};
type DeleteDataInstallation200 = {
    success: boolean;
};
type DeleteDataInstallation403 = {
    message: string;
};
type DeleteDataInstallation404 = {
    message: string;
};
type MyDataIntegrations403 = {
    message: string;
};
type GetDataInstallationAuthorizationStatus400 = {
    message: string;
};
type GetDataInstallationAuthorizationStatus403 = {
    message: string;
};
type GetDataInstallationAuthorizationStatus404 = {
    message: string;
};
type GetDataIntegrationAuthorizeUrlParams = {
    requireHandoff?: boolean;
};
type GetDataIntegrationAuthorizeUrl400 = {
    message: string;
};
type GetDataIntegrationAuthorizeUrl403 = {
    message: string;
};
type GetDataIntegrationAuthorizeUrl404 = {
    message: string;
};
type CreateUserApiKey400ErrorsItem = {
    code: string;
    field: string;
};
type CreateUserApiKey400 = {
    message: string;
    errors: CreateUserApiKey400ErrorsItem[];
};
type CreateUserApiKey403 = {
    message: string;
};
type CreateUserApiKey404 = {
    message: string;
};
type CreateUserApiKey422ErrorsItem = {
    code: string;
    field: string;
};
type CreateUserApiKey422 = {
    message: string;
    errors: CreateUserApiKey422ErrorsItem[];
};
type ListUserApiKeysParams = {
    limit?: number;
    before?: string;
    after?: string;
    search?: string;
};
type ListUserApiKeys400ErrorsItem = {
    code: string;
    field: string;
};
type ListUserApiKeys400 = {
    message: string;
    errors: ListUserApiKeys400ErrorsItem[];
};
type ListUserApiKeys403 = {
    message: string;
};
type ListUserApiKeyPermissionsParams = {
    search?: string;
    limit?: number;
    before?: string;
    after?: string;
};
type ListUserApiKeyPermissions400ErrorsItem = {
    code: string;
    field: string;
};
type ListUserApiKeyPermissions400 = {
    message: string;
    errors: ListUserApiKeyPermissions400ErrorsItem[];
};
type ListUserApiKeyPermissions403 = {
    message: string;
};
type DeleteUserApiKey200 = {
    success: boolean;
};
type DeleteUserApiKey403 = {
    message: string;
};
type DeleteUserApiKey404 = {
    message: string;
};
type InviteMemberBody = {
    email: string;
    /** @nullable */
    firstName?: string | null;
    /** @nullable */
    lastName?: string | null;
    roles: string[];
};
type InviteMember400 = {
    message: string;
};
type InviteMember403 = {
    message: string;
};
type InviteMember404 = {
    message: string;
};
type RevokeInvite400 = {
    message: string;
};
type RevokeInvite403 = {
    message: string;
};
type RevokeInvite404 = {
    message: string;
};
type ResendInvite400 = {
    message: string;
};
type ResendInvite403 = {
    message: string;
};
type ResendInvite404 = {
    message: string;
};
type ResendInvite422 = {
    message: string;
};
type MembersParams = {
    search?: string;
    limit?: string;
    before?: string;
    after?: string;
    role?: string;
};
type Members403 = {
    message: string;
};
type Members404 = {
    message: string;
};
type RemoveMember400 = {
    message: string;
};
type RemoveMember403 = {
    message: string;
};
type RemoveMember404 = {
    message: string;
};
type UpdateMemberBody = {
    roles: string[];
};
type UpdateMember400 = {
    message: string;
};
type UpdateMember403 = {
    message: string;
};
type UpdateMember404 = {
    message: string;
};
type UpdateMember422 = {
    message: string;
};
type Organizations403 = {
    message: string;
};
type Organizations404 = {
    message: string;
};
type Roles403 = {
    message: string;
};
type Roles404 = {
    message: string;
};
type RolesAndConfig403 = {
    message: string;
};
type RolesAndConfig404 = {
    message: string;
};
type AuthenticationInformation403 = {
    message: string;
};
type CreatePassword201 = {
    success: boolean;
};
type CreatePassword400 = {
    message: string;
};
type CreatePassword403 = {
    message: string;
};
type CreateTotpFactor400 = {
    message: string;
};
type CreateTotpFactor403 = {
    message: string;
};
type Me403 = {
    message: string;
};
type UpdateMeBody = {
    firstName?: string;
    lastName?: string;
    locale?: string;
};
type UpdateMe400 = {
    message: string;
};
type UpdateMe403 = {
    message: string;
};
type RegisterPasskey400 = {
    message: string;
};
type RegisterPasskey403 = {
    message: string;
};
type VerifyPasskey200 = {
    success: boolean;
};
type VerifyPasskey400 = {
    message: string;
};
type VerifyPasskey403 = {
    message: string;
};
type DeletePasskey200 = {
    success: boolean;
};
type DeletePasskey400 = {
    message: string;
};
type DeletePasskey403 = {
    message: string;
};
type SendEmailChange400 = {
    message: string;
};
type SendEmailChange403 = {
    message: string;
};
type SendEmailChange409 = {
    message: string;
};
type SendEmailChange422 = {
    message: string;
};
type SendEmailChange429 = {
    message: string;
};
type SendVerification400 = {
    message: string;
};
type SendVerification403 = {
    message: string;
};
type Sessions403 = {
    message: string;
};
type RevokeAllSessions200 = {
    success: boolean;
};
type RevokeAllSessions400 = {
    message: string;
};
type RevokeAllSessions403 = {
    message: string;
};
type RevokeSession200 = {
    success: boolean;
};
type RevokeSession400 = {
    message: string;
};
type RevokeSession403 = {
    message: string;
};
type DeleteTotpFactors200 = {
    success: boolean;
};
type DeleteTotpFactors400 = {
    message: string;
};
type DeleteTotpFactors403 = {
    message: string;
};
type UpdatePassword201 = {
    success: boolean;
};
type UpdatePassword400 = {
    message: string;
};
type UpdatePassword403 = {
    message: string;
};
type Verify400 = {
    message: string;
};
type Verify403 = {
    message: string;
};
type VerifyEmailChange400 = {
    message: string;
};
type VerifyEmailChange403 = {
    message: string;
};
type VerifyEmailChange409 = {
    message: string;
};
type VerifyEmailChange422 = {
    message: string;
};
type VerifyEmailChange429 = {
    message: string;
};
type VerifyTotpFactor200 = {
    success: boolean;
};
type VerifyTotpFactor400 = {
    message: string;
};
type VerifyTotpFactor403 = {
    message: string;
};
type GetAuditLogStream200 = AuditLogStreamJSON | {
    [key: string]: unknown;
};
type GetAuditLogStream403 = {
    message: string;
};
type GenerateAdminPortalLinkParams = {
    intent: GenerateAdminPortalLinkIntent;
};
type GenerateAdminPortalLinkIntent = (typeof GenerateAdminPortalLinkIntent)[keyof typeof GenerateAdminPortalLinkIntent];
declare const GenerateAdminPortalLinkIntent: {
    readonly domain_verification: "domain_verification";
    readonly sso: "sso";
    readonly log_streams: "log_streams";
};
type GenerateAdminPortalLink201 = {
    link: string;
};
type GenerateAdminPortalLink403 = {
    message: string;
};
type GenerateAdminPortalLink404 = {
    message: string;
};
type GenerateAdminPortalLink500 = {
    message: string;
};
type ListOrganizationDomains200 = {
    data: OrganizationDomain[];
};
type ListOrganizationDomains403 = {
    message: string;
};
type ListOrganizationDomains404 = {
    message: string;
};
type DeleteOrganizationDomain403 = {
    message: string;
};
type DeleteOrganizationDomain404 = {
    message: string;
};
type ReverifyOrganizationDomain403 = {
    message: string;
};
type ReverifyOrganizationDomain404 = {
    message: string;
};
type ListDirectories403 = {
    message: string;
};
type ListDirectories404 = {
    message: string;
};
type GetDirectory403 = {
    message: string;
};
type GetDirectory404 = {
    message: string;
};
type Settings403 = {
    message: string;
};
type createOrganizationApiKeyResponse201 = {
    data: CreateOrganizationApiKeyResponse;
    status: 201;
};
type createOrganizationApiKeyResponse400 = {
    data: CreateOrganizationApiKey400;
    status: 400;
};
type createOrganizationApiKeyResponse403 = {
    data: CreateOrganizationApiKey403;
    status: 403;
};
type createOrganizationApiKeyResponse404 = {
    data: CreateOrganizationApiKey404;
    status: 404;
};
type createOrganizationApiKeyResponse422 = {
    data: CreateOrganizationApiKey422;
    status: 422;
};
type createOrganizationApiKeyResponseSuccess = createOrganizationApiKeyResponse201 & {
    headers: Headers;
};
type createOrganizationApiKeyResponseError = (createOrganizationApiKeyResponse400 | createOrganizationApiKeyResponse403 | createOrganizationApiKeyResponse404 | createOrganizationApiKeyResponse422) & {
    headers: Headers;
};
type createOrganizationApiKeyResponse = createOrganizationApiKeyResponseSuccess | createOrganizationApiKeyResponseError;
declare const getCreateOrganizationApiKeyUrl: () => string;
declare const createOrganizationApiKey: (createOrganizationApiKeyRequest: CreateOrganizationApiKeyRequest, options?: RequestInit) => Promise<createOrganizationApiKeyResponse>;
declare const getCreateOrganizationApiKeyMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: CreateOrganizationApiKeyRequest;
}) => Promise<createOrganizationApiKeyResponse>;
declare const getCreateOrganizationApiKeyMutationKey: () => readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"];
type CreateOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof createOrganizationApiKey>>>;
declare const useCreateOrganizationApiKey: <TError = Promise<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createOrganizationApiKey>>, TError, Key, CreateOrganizationApiKeyRequest, Awaited<ReturnType<typeof createOrganizationApiKey>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<createOrganizationApiKeyResponse, TError, string | readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"], CreateOrganizationApiKeyRequest>;
    reset: () => void;
    error: TError | undefined;
    data: createOrganizationApiKeyResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"];
};
type listOrganizationApiKeysResponse200 = {
    data: ListOrganizationApiKeysResponse;
    status: 200;
};
type listOrganizationApiKeysResponse400 = {
    data: ListOrganizationApiKeys400;
    status: 400;
};
type listOrganizationApiKeysResponse403 = {
    data: ListOrganizationApiKeys403;
    status: 403;
};
type listOrganizationApiKeysResponseSuccess = listOrganizationApiKeysResponse200 & {
    headers: Headers;
};
type listOrganizationApiKeysResponseError = (listOrganizationApiKeysResponse400 | listOrganizationApiKeysResponse403) & {
    headers: Headers;
};
type listOrganizationApiKeysResponse = listOrganizationApiKeysResponseSuccess | listOrganizationApiKeysResponseError;
declare const getListOrganizationApiKeysUrl: (params?: ListOrganizationApiKeysParams) => string;
declare const listOrganizationApiKeys: (params?: ListOrganizationApiKeysParams, options?: RequestInit) => Promise<listOrganizationApiKeysResponse>;
declare const getListOrganizationApiKeysKey: (params?: ListOrganizationApiKeysParams) => readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]];
type ListOrganizationApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationApiKeys>>>;
declare const useListOrganizationApiKeys: <TError = Promise<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: listOrganizationApiKeysResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<listOrganizationApiKeysResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type listOrganizationApiKeyPermissionsResponse200 = {
    data: ListOrganizationApiKeyPermissionsResponse;
    status: 200;
};
type listOrganizationApiKeyPermissionsResponse400 = {
    data: ListOrganizationApiKeyPermissions400;
    status: 400;
};
type listOrganizationApiKeyPermissionsResponse403 = {
    data: ListOrganizationApiKeyPermissions403;
    status: 403;
};
type listOrganizationApiKeyPermissionsResponseSuccess = listOrganizationApiKeyPermissionsResponse200 & {
    headers: Headers;
};
type listOrganizationApiKeyPermissionsResponseError = (listOrganizationApiKeyPermissionsResponse400 | listOrganizationApiKeyPermissionsResponse403) & {
    headers: Headers;
};
type listOrganizationApiKeyPermissionsResponse = listOrganizationApiKeyPermissionsResponseSuccess | listOrganizationApiKeyPermissionsResponseError;
declare const getListOrganizationApiKeyPermissionsUrl: (params?: ListOrganizationApiKeyPermissionsParams) => string;
declare const listOrganizationApiKeyPermissions: (params?: ListOrganizationApiKeyPermissionsParams, options?: RequestInit) => Promise<listOrganizationApiKeyPermissionsResponse>;
declare const getListOrganizationApiKeyPermissionsKey: (params?: ListOrganizationApiKeyPermissionsParams) => readonly ["https://api.workos.com/_widgets/ApiKeys/permissions", ...ListOrganizationApiKeyPermissionsParams[]];
type ListOrganizationApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>>;
declare const useListOrganizationApiKeyPermissions: <TError = Promise<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: listOrganizationApiKeyPermissionsResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<listOrganizationApiKeyPermissionsResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type deleteOrganizationApiKeyResponse200 = {
    data: DeleteOrganizationApiKey200;
    status: 200;
};
type deleteOrganizationApiKeyResponse403 = {
    data: DeleteOrganizationApiKey403;
    status: 403;
};
type deleteOrganizationApiKeyResponse404 = {
    data: DeleteOrganizationApiKey404;
    status: 404;
};
type deleteOrganizationApiKeyResponseSuccess = deleteOrganizationApiKeyResponse200 & {
    headers: Headers;
};
type deleteOrganizationApiKeyResponseError = (deleteOrganizationApiKeyResponse403 | deleteOrganizationApiKeyResponse404) & {
    headers: Headers;
};
type deleteOrganizationApiKeyResponse = deleteOrganizationApiKeyResponseSuccess | deleteOrganizationApiKeyResponseError;
declare const getDeleteOrganizationApiKeyUrl: (apiKeyId: string) => string;
declare const deleteOrganizationApiKey: (apiKeyId: string, options?: RequestInit) => Promise<deleteOrganizationApiKeyResponse>;
declare const getDeleteOrganizationApiKeyMutationFetcher: (apiKeyId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<deleteOrganizationApiKeyResponse>;
declare const getDeleteOrganizationApiKeyMutationKey: (apiKeyId: string) => readonly [`https://api.workos.com/_widgets/ApiKeys/${string}`];
type DeleteOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganizationApiKey>>>;
declare const useDeleteOrganizationApiKey: <TError = Promise<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>>(apiKeyId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteOrganizationApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteOrganizationApiKey>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<deleteOrganizationApiKeyResponse, TError, string | readonly [`https://api.workos.com/_widgets/ApiKeys/${string}`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: deleteOrganizationApiKeyResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/ApiKeys/${string}`];
};
type deleteDataInstallationResponse200 = {
    data: DeleteDataInstallation200;
    status: 200;
};
type deleteDataInstallationResponse403 = {
    data: DeleteDataInstallation403;
    status: 403;
};
type deleteDataInstallationResponse404 = {
    data: DeleteDataInstallation404;
    status: 404;
};
type deleteDataInstallationResponseSuccess = deleteDataInstallationResponse200 & {
    headers: Headers;
};
type deleteDataInstallationResponseError = (deleteDataInstallationResponse403 | deleteDataInstallationResponse404) & {
    headers: Headers;
};
type deleteDataInstallationResponse = deleteDataInstallationResponseSuccess | deleteDataInstallationResponseError;
declare const getDeleteDataInstallationUrl: (installationId: string) => string;
declare const deleteDataInstallation: (installationId: string, options?: RequestInit) => Promise<deleteDataInstallationResponse>;
declare const getDeleteDataInstallationMutationFetcher: (installationId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<deleteDataInstallationResponse>;
declare const getDeleteDataInstallationMutationKey: (installationId: string) => readonly [`https://api.workos.com/_widgets/DataIntegrations/installations/${string}`];
type DeleteDataInstallationMutationResult = NonNullable<Awaited<ReturnType<typeof deleteDataInstallation>>>;
declare const useDeleteDataInstallation: <TError = Promise<DeleteDataInstallation403 | DeleteDataInstallation404>>(installationId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteDataInstallation>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteDataInstallation>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<deleteDataInstallationResponse, TError, string | readonly [`https://api.workos.com/_widgets/DataIntegrations/installations/${string}`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: deleteDataInstallationResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/DataIntegrations/installations/${string}`];
};
type myDataIntegrationsResponse200 = {
    data: DataIntegrationsResponse;
    status: 200;
};
type myDataIntegrationsResponse403 = {
    data: MyDataIntegrations403;
    status: 403;
};
type myDataIntegrationsResponseSuccess = myDataIntegrationsResponse200 & {
    headers: Headers;
};
type myDataIntegrationsResponseError = myDataIntegrationsResponse403 & {
    headers: Headers;
};
type myDataIntegrationsResponse = myDataIntegrationsResponseSuccess | myDataIntegrationsResponseError;
declare const getMyDataIntegrationsUrl: () => string;
declare const myDataIntegrations: (options?: RequestInit) => Promise<myDataIntegrationsResponse>;
declare const getMyDataIntegrationsKey: () => readonly ["https://api.workos.com/_widgets/DataIntegrations/mine"];
type MyDataIntegrationsQueryResult = NonNullable<Awaited<ReturnType<typeof myDataIntegrations>>>;
declare const useMyDataIntegrations: <TError = Promise<MyDataIntegrations403>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof myDataIntegrations>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: myDataIntegrationsResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<myDataIntegrationsResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type getDataInstallationAuthorizationStatusResponse200 = {
    data: GetAuthorizationStatusResponse;
    status: 200;
};
type getDataInstallationAuthorizationStatusResponse400 = {
    data: GetDataInstallationAuthorizationStatus400;
    status: 400;
};
type getDataInstallationAuthorizationStatusResponse403 = {
    data: GetDataInstallationAuthorizationStatus403;
    status: 403;
};
type getDataInstallationAuthorizationStatusResponse404 = {
    data: GetDataInstallationAuthorizationStatus404;
    status: 404;
};
type getDataInstallationAuthorizationStatusResponseSuccess = getDataInstallationAuthorizationStatusResponse200 & {
    headers: Headers;
};
type getDataInstallationAuthorizationStatusResponseError = (getDataInstallationAuthorizationStatusResponse400 | getDataInstallationAuthorizationStatusResponse403 | getDataInstallationAuthorizationStatusResponse404) & {
    headers: Headers;
};
type getDataInstallationAuthorizationStatusResponse = getDataInstallationAuthorizationStatusResponseSuccess | getDataInstallationAuthorizationStatusResponseError;
declare const getGetDataInstallationAuthorizationStatusUrl: (dataIntegrationId: string, state: string) => string;
declare const getDataInstallationAuthorizationStatus: (dataIntegrationId: string, state: string, options?: RequestInit) => Promise<getDataInstallationAuthorizationStatusResponse>;
declare const getGetDataInstallationAuthorizationStatusKey: (dataIntegrationId: string, state: string) => readonly [`https://api.workos.com/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
type GetDataInstallationAuthorizationStatusQueryResult = NonNullable<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>>;
declare const useGetDataInstallationAuthorizationStatus: <TError = Promise<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: getDataInstallationAuthorizationStatusResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<getDataInstallationAuthorizationStatusResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type getDataIntegrationAuthorizeUrlResponse200 = {
    data: GetDataIntegrationAuthorizeUrlResponse;
    status: 200;
};
type getDataIntegrationAuthorizeUrlResponse400 = {
    data: GetDataIntegrationAuthorizeUrl400;
    status: 400;
};
type getDataIntegrationAuthorizeUrlResponse403 = {
    data: GetDataIntegrationAuthorizeUrl403;
    status: 403;
};
type getDataIntegrationAuthorizeUrlResponse404 = {
    data: GetDataIntegrationAuthorizeUrl404;
    status: 404;
};
type getDataIntegrationAuthorizeUrlResponseSuccess = getDataIntegrationAuthorizeUrlResponse200 & {
    headers: Headers;
};
type getDataIntegrationAuthorizeUrlResponseError = (getDataIntegrationAuthorizeUrlResponse400 | getDataIntegrationAuthorizeUrlResponse403 | getDataIntegrationAuthorizeUrlResponse404) & {
    headers: Headers;
};
type getDataIntegrationAuthorizeUrlResponse = getDataIntegrationAuthorizeUrlResponseSuccess | getDataIntegrationAuthorizeUrlResponseError;
declare const getGetDataIntegrationAuthorizeUrlUrl: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams) => string;
declare const getDataIntegrationAuthorizeUrl: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: RequestInit) => Promise<getDataIntegrationAuthorizeUrlResponse>;
declare const getGetDataIntegrationAuthorizeUrlKey: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`https://api.workos.com/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]];
type GetDataIntegrationAuthorizeUrlQueryResult = NonNullable<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>>;
declare const useGetDataIntegrationAuthorizeUrl: <TError = Promise<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: getDataIntegrationAuthorizeUrlResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<getDataIntegrationAuthorizeUrlResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type createUserApiKeyResponse201 = {
    data: CreateUserApiKeyResponse;
    status: 201;
};
type createUserApiKeyResponse400 = {
    data: CreateUserApiKey400;
    status: 400;
};
type createUserApiKeyResponse403 = {
    data: CreateUserApiKey403;
    status: 403;
};
type createUserApiKeyResponse404 = {
    data: CreateUserApiKey404;
    status: 404;
};
type createUserApiKeyResponse422 = {
    data: CreateUserApiKey422;
    status: 422;
};
type createUserApiKeyResponseSuccess = createUserApiKeyResponse201 & {
    headers: Headers;
};
type createUserApiKeyResponseError = (createUserApiKeyResponse400 | createUserApiKeyResponse403 | createUserApiKeyResponse404 | createUserApiKeyResponse422) & {
    headers: Headers;
};
type createUserApiKeyResponse = createUserApiKeyResponseSuccess | createUserApiKeyResponseError;
declare const getCreateUserApiKeyUrl: () => string;
declare const createUserApiKey: (createUserApiKeyRequest: CreateUserApiKeyRequest, options?: RequestInit) => Promise<createUserApiKeyResponse>;
declare const getCreateUserApiKeyMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: CreateUserApiKeyRequest;
}) => Promise<createUserApiKeyResponse>;
declare const getCreateUserApiKeyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserApiKeys/api-keys"];
type CreateUserApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof createUserApiKey>>>;
declare const useCreateUserApiKey: <TError = Promise<CreateUserApiKey400 | CreateUserApiKey403 | CreateUserApiKey404 | CreateUserApiKey422>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createUserApiKey>>, TError, Key, CreateUserApiKeyRequest, Awaited<ReturnType<typeof createUserApiKey>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<createUserApiKeyResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserApiKeys/api-keys"], CreateUserApiKeyRequest>;
    reset: () => void;
    error: TError | undefined;
    data: createUserApiKeyResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserApiKeys/api-keys"];
};
type listUserApiKeysResponse200 = {
    data: ListUserApiKeysResponse;
    status: 200;
};
type listUserApiKeysResponse400 = {
    data: ListUserApiKeys400;
    status: 400;
};
type listUserApiKeysResponse403 = {
    data: ListUserApiKeys403;
    status: 403;
};
type listUserApiKeysResponseSuccess = listUserApiKeysResponse200 & {
    headers: Headers;
};
type listUserApiKeysResponseError = (listUserApiKeysResponse400 | listUserApiKeysResponse403) & {
    headers: Headers;
};
type listUserApiKeysResponse = listUserApiKeysResponseSuccess | listUserApiKeysResponseError;
declare const getListUserApiKeysUrl: (params?: ListUserApiKeysParams) => string;
declare const listUserApiKeys: (params?: ListUserApiKeysParams, options?: RequestInit) => Promise<listUserApiKeysResponse>;
declare const getListUserApiKeysKey: (params?: ListUserApiKeysParams) => readonly ["https://api.workos.com/_widgets/UserApiKeys/api-keys", ...ListUserApiKeysParams[]];
type ListUserApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listUserApiKeys>>>;
declare const useListUserApiKeys: <TError = Promise<ListUserApiKeys400 | ListUserApiKeys403>>(params?: ListUserApiKeysParams, options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof listUserApiKeys>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: listUserApiKeysResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<listUserApiKeysResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type listUserApiKeyPermissionsResponse200 = {
    data: ListUserApiKeyPermissionsResponse;
    status: 200;
};
type listUserApiKeyPermissionsResponse400 = {
    data: ListUserApiKeyPermissions400;
    status: 400;
};
type listUserApiKeyPermissionsResponse403 = {
    data: ListUserApiKeyPermissions403;
    status: 403;
};
type listUserApiKeyPermissionsResponseSuccess = listUserApiKeyPermissionsResponse200 & {
    headers: Headers;
};
type listUserApiKeyPermissionsResponseError = (listUserApiKeyPermissionsResponse400 | listUserApiKeyPermissionsResponse403) & {
    headers: Headers;
};
type listUserApiKeyPermissionsResponse = listUserApiKeyPermissionsResponseSuccess | listUserApiKeyPermissionsResponseError;
declare const getListUserApiKeyPermissionsUrl: (params?: ListUserApiKeyPermissionsParams) => string;
declare const listUserApiKeyPermissions: (params?: ListUserApiKeyPermissionsParams, options?: RequestInit) => Promise<listUserApiKeyPermissionsResponse>;
declare const getListUserApiKeyPermissionsKey: (params?: ListUserApiKeyPermissionsParams) => readonly ["https://api.workos.com/_widgets/UserApiKeys/permissions", ...ListUserApiKeyPermissionsParams[]];
type ListUserApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<typeof listUserApiKeyPermissions>>>;
declare const useListUserApiKeyPermissions: <TError = Promise<ListUserApiKeyPermissions400 | ListUserApiKeyPermissions403>>(params?: ListUserApiKeyPermissionsParams, options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: listUserApiKeyPermissionsResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<listUserApiKeyPermissionsResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type deleteUserApiKeyResponse200 = {
    data: DeleteUserApiKey200;
    status: 200;
};
type deleteUserApiKeyResponse403 = {
    data: DeleteUserApiKey403;
    status: 403;
};
type deleteUserApiKeyResponse404 = {
    data: DeleteUserApiKey404;
    status: 404;
};
type deleteUserApiKeyResponseSuccess = deleteUserApiKeyResponse200 & {
    headers: Headers;
};
type deleteUserApiKeyResponseError = (deleteUserApiKeyResponse403 | deleteUserApiKeyResponse404) & {
    headers: Headers;
};
type deleteUserApiKeyResponse = deleteUserApiKeyResponseSuccess | deleteUserApiKeyResponseError;
declare const getDeleteUserApiKeyUrl: (apiKeyId: string) => string;
declare const deleteUserApiKey: (apiKeyId: string, options?: RequestInit) => Promise<deleteUserApiKeyResponse>;
declare const getDeleteUserApiKeyMutationFetcher: (apiKeyId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<deleteUserApiKeyResponse>;
declare const getDeleteUserApiKeyMutationKey: (apiKeyId: string) => readonly [`https://api.workos.com/_widgets/UserApiKeys/${string}`];
type DeleteUserApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof deleteUserApiKey>>>;
declare const useDeleteUserApiKey: <TError = Promise<DeleteUserApiKey403 | DeleteUserApiKey404>>(apiKeyId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteUserApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteUserApiKey>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<deleteUserApiKeyResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserApiKeys/${string}`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: deleteUserApiKeyResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/UserApiKeys/${string}`];
};
/**
 * Sends an invitation email to a user to join the organization. If the user does not have an account, they will be prompted to create one upon accepting.
 */
type inviteMemberResponse201 = {
    data: InviteMemberResponse;
    status: 201;
};
type inviteMemberResponse400 = {
    data: InviteMember400;
    status: 400;
};
type inviteMemberResponse403 = {
    data: InviteMember403;
    status: 403;
};
type inviteMemberResponse404 = {
    data: InviteMember404;
    status: 404;
};
type inviteMemberResponseSuccess = inviteMemberResponse201 & {
    headers: Headers;
};
type inviteMemberResponseError = (inviteMemberResponse400 | inviteMemberResponse403 | inviteMemberResponse404) & {
    headers: Headers;
};
type inviteMemberResponse = inviteMemberResponseSuccess | inviteMemberResponseError;
declare const getInviteMemberUrl: () => string;
declare const inviteMember: (inviteMemberBody: InviteMemberBody, options?: RequestInit) => Promise<inviteMemberResponse>;
declare const getInviteMemberMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: InviteMemberBody;
}) => Promise<inviteMemberResponse>;
declare const getInviteMemberMutationKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/invite-user"];
type InviteMemberMutationResult = NonNullable<Awaited<ReturnType<typeof inviteMember>>>;
declare const useInviteMember: <TError = Promise<InviteMember400 | InviteMember403 | InviteMember404>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof inviteMember>>, TError, Key, InviteMemberBody, Awaited<ReturnType<typeof inviteMember>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<inviteMemberResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserManagement/invite-user"], InviteMemberBody>;
    reset: () => void;
    error: TError | undefined;
    data: inviteMemberResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserManagement/invite-user"];
};
/**
 * Cancels a pending invitation for the specified user, preventing them from joining the organization via that invite link.
 */
type revokeInviteResponse200 = {
    data: RevokeMemberResponse;
    status: 200;
};
type revokeInviteResponse400 = {
    data: RevokeInvite400;
    status: 400;
};
type revokeInviteResponse403 = {
    data: RevokeInvite403;
    status: 403;
};
type revokeInviteResponse404 = {
    data: RevokeInvite404;
    status: 404;
};
type revokeInviteResponseSuccess = revokeInviteResponse200 & {
    headers: Headers;
};
type revokeInviteResponseError = (revokeInviteResponse400 | revokeInviteResponse403 | revokeInviteResponse404) & {
    headers: Headers;
};
type revokeInviteResponse = revokeInviteResponseSuccess | revokeInviteResponseError;
declare const getRevokeInviteUrl: (userId: string) => string;
declare const revokeInvite: (userId: string, options?: RequestInit) => Promise<revokeInviteResponse>;
declare const getRevokeInviteMutationFetcher: (userId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<revokeInviteResponse>;
declare const getRevokeInviteMutationKey: (userId: string) => readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}`];
type RevokeInviteMutationResult = NonNullable<Awaited<ReturnType<typeof revokeInvite>>>;
declare const useRevokeInvite: <TError = Promise<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>>(userId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeInvite>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeInvite>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<revokeInviteResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: revokeInviteResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}`];
};
/**
 * Resends the pending invitation email to the specified user. Returns an error if the invitation has already been accepted or has expired.
 */
type resendInviteResponse201 = {
    data: ResendInviteResponse;
    status: 201;
};
type resendInviteResponse400 = {
    data: ResendInvite400;
    status: 400;
};
type resendInviteResponse403 = {
    data: ResendInvite403;
    status: 403;
};
type resendInviteResponse404 = {
    data: ResendInvite404;
    status: 404;
};
type resendInviteResponse422 = {
    data: ResendInvite422;
    status: 422;
};
type resendInviteResponseSuccess = resendInviteResponse201 & {
    headers: Headers;
};
type resendInviteResponseError = (resendInviteResponse400 | resendInviteResponse403 | resendInviteResponse404 | resendInviteResponse422) & {
    headers: Headers;
};
type resendInviteResponse = resendInviteResponseSuccess | resendInviteResponseError;
declare const getResendInviteUrl: (userId: string) => string;
declare const resendInvite: (userId: string, options?: RequestInit) => Promise<resendInviteResponse>;
declare const getResendInviteMutationFetcher: (userId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<resendInviteResponse>;
declare const getResendInviteMutationKey: (userId: string) => readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}/resend`];
type ResendInviteMutationResult = NonNullable<Awaited<ReturnType<typeof resendInvite>>>;
declare const useResendInvite: <TError = Promise<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>>(userId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof resendInvite>>, TError, Key, Arguments, Awaited<ReturnType<typeof resendInvite>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<resendInviteResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}/resend`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: resendInviteResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}/resend`];
};
/**
 * Returns a paginated list of members belonging to the organization. Supports filtering by search term and role, and cursor-based pagination via before/after parameters.
 */
type membersResponse200 = {
    data: MembersResponse;
    status: 200;
};
type membersResponse403 = {
    data: Members403;
    status: 403;
};
type membersResponse404 = {
    data: Members404;
    status: 404;
};
type membersResponseSuccess = membersResponse200 & {
    headers: Headers;
};
type membersResponseError = (membersResponse403 | membersResponse404) & {
    headers: Headers;
};
type membersResponse = membersResponseSuccess | membersResponseError;
declare const getMembersUrl: (params?: MembersParams) => string;
declare const members: (params?: MembersParams, options?: RequestInit) => Promise<membersResponse>;
declare const getMembersKey: (params?: MembersParams) => readonly ["https://api.workos.com/_widgets/UserManagement/members", ...MembersParams[]];
type MembersQueryResult = NonNullable<Awaited<ReturnType<typeof members>>>;
declare const useMembers: <TError = Promise<Members403 | Members404>>(params?: MembersParams, options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof members>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: membersResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<membersResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
/**
 * Removes the specified user from the organization by revoking their membership. The user account itself is not deleted.
 */
type removeMemberResponse200 = {
    data: RemoveMemberResponse;
    status: 200;
};
type removeMemberResponse400 = {
    data: RemoveMember400;
    status: 400;
};
type removeMemberResponse403 = {
    data: RemoveMember403;
    status: 403;
};
type removeMemberResponse404 = {
    data: RemoveMember404;
    status: 404;
};
type removeMemberResponseSuccess = removeMemberResponse200 & {
    headers: Headers;
};
type removeMemberResponseError = (removeMemberResponse400 | removeMemberResponse403 | removeMemberResponse404) & {
    headers: Headers;
};
type removeMemberResponse = removeMemberResponseSuccess | removeMemberResponseError;
declare const getRemoveMemberUrl: (userId: string) => string;
declare const removeMember: (userId: string, options?: RequestInit) => Promise<removeMemberResponse>;
declare const getRemoveMemberMutationFetcher: (userId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<removeMemberResponse>;
declare const getRemoveMemberMutationKey: (userId: string) => readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`];
type RemoveMemberMutationResult = NonNullable<Awaited<ReturnType<typeof removeMember>>>;
declare const useRemoveMember: <TError = Promise<RemoveMember400 | RemoveMember403 | RemoveMember404>>(userId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof removeMember>>, TError, Key, Arguments, Awaited<ReturnType<typeof removeMember>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<removeMemberResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: removeMemberResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`];
};
/**
 * Updates the specified member's organization membership, such as changing their assigned role.
 */
type updateMemberResponse200 = {
    data: UpdateMemberResponse;
    status: 200;
};
type updateMemberResponse400 = {
    data: UpdateMember400;
    status: 400;
};
type updateMemberResponse403 = {
    data: UpdateMember403;
    status: 403;
};
type updateMemberResponse404 = {
    data: UpdateMember404;
    status: 404;
};
type updateMemberResponse422 = {
    data: UpdateMember422;
    status: 422;
};
type updateMemberResponseSuccess = updateMemberResponse200 & {
    headers: Headers;
};
type updateMemberResponseError = (updateMemberResponse400 | updateMemberResponse403 | updateMemberResponse404 | updateMemberResponse422) & {
    headers: Headers;
};
type updateMemberResponse = updateMemberResponseSuccess | updateMemberResponseError;
declare const getUpdateMemberUrl: (userId: string) => string;
declare const updateMember: (userId: string, updateMemberBody: UpdateMemberBody, options?: RequestInit) => Promise<updateMemberResponse>;
declare const getUpdateMemberMutationFetcher: (userId: string, options?: RequestInit) => (_: Key, { arg }: {
    arg: UpdateMemberBody;
}) => Promise<updateMemberResponse>;
declare const getUpdateMemberMutationKey: (userId: string) => readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`];
type UpdateMemberMutationResult = NonNullable<Awaited<ReturnType<typeof updateMember>>>;
declare const useUpdateMember: <TError = Promise<UpdateMember400 | UpdateMember403 | UpdateMember404 | UpdateMember422>>(userId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateMember>>, TError, Key, UpdateMemberBody, Awaited<ReturnType<typeof updateMember>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<updateMemberResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`], UpdateMemberBody>;
    reset: () => void;
    error: TError | undefined;
    data: updateMemberResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`];
};
/**
 * Returns the list of organizations the authenticated user is a member of.
 */
type organizationsResponse200 = {
    data: OrganizationsResponse;
    status: 200;
};
type organizationsResponse403 = {
    data: Organizations403;
    status: 403;
};
type organizationsResponse404 = {
    data: Organizations404;
    status: 404;
};
type organizationsResponseSuccess = organizationsResponse200 & {
    headers: Headers;
};
type organizationsResponseError = (organizationsResponse403 | organizationsResponse404) & {
    headers: Headers;
};
type organizationsResponse = organizationsResponseSuccess | organizationsResponseError;
declare const getOrganizationsUrl: () => string;
declare const organizations: (options?: RequestInit) => Promise<organizationsResponse>;
declare const getOrganizationsKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/organizations"];
type OrganizationsQueryResult = NonNullable<Awaited<ReturnType<typeof organizations>>>;
declare const useOrganizations: <TError = Promise<Organizations403 | Organizations404>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof organizations>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: organizationsResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<organizationsResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
/**
 * Returns the list of roles available in the organization that can be assigned to members.
 */
type rolesResponse200 = {
    data: MemberRole[];
    status: 200;
};
type rolesResponse403 = {
    data: Roles403;
    status: 403;
};
type rolesResponse404 = {
    data: Roles404;
    status: 404;
};
type rolesResponseSuccess = rolesResponse200 & {
    headers: Headers;
};
type rolesResponseError = (rolesResponse403 | rolesResponse404) & {
    headers: Headers;
};
type rolesResponse = rolesResponseSuccess | rolesResponseError;
declare const getRolesUrl: () => string;
declare const roles: (options?: RequestInit) => Promise<rolesResponse>;
declare const getRolesKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/roles"];
type RolesQueryResult = NonNullable<Awaited<ReturnType<typeof roles>>>;
declare const useRoles: <TError = Promise<Roles403 | Roles404>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof roles>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: rolesResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<rolesResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
/**
 * Returns the list of roles available in the organization along with the user management configuration, such as whether role assignment is enabled.
 */
type rolesAndConfigResponse200 = {
    data: RolesAndConfigResponse;
    status: 200;
};
type rolesAndConfigResponse403 = {
    data: RolesAndConfig403;
    status: 403;
};
type rolesAndConfigResponse404 = {
    data: RolesAndConfig404;
    status: 404;
};
type rolesAndConfigResponseSuccess = rolesAndConfigResponse200 & {
    headers: Headers;
};
type rolesAndConfigResponseError = (rolesAndConfigResponse403 | rolesAndConfigResponse404) & {
    headers: Headers;
};
type rolesAndConfigResponse = rolesAndConfigResponseSuccess | rolesAndConfigResponseError;
declare const getRolesAndConfigUrl: () => string;
declare const rolesAndConfig: (options?: RequestInit) => Promise<rolesAndConfigResponse>;
declare const getRolesAndConfigKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/roles-and-config"];
type RolesAndConfigQueryResult = NonNullable<Awaited<ReturnType<typeof rolesAndConfig>>>;
declare const useRolesAndConfig: <TError = Promise<RolesAndConfig403 | RolesAndConfig404>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof rolesAndConfig>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: rolesAndConfigResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<rolesAndConfigResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
/**
 * Returns the authentication methods and MFA factors configured for the authenticated user, including enrolled TOTP factors and passkeys.
 */
type authenticationInformationResponse200 = {
    data: AuthenticationInformationResponse;
    status: 200;
};
type authenticationInformationResponse403 = {
    data: AuthenticationInformation403;
    status: 403;
};
type authenticationInformationResponseSuccess = authenticationInformationResponse200 & {
    headers: Headers;
};
type authenticationInformationResponseError = authenticationInformationResponse403 & {
    headers: Headers;
};
type authenticationInformationResponse = authenticationInformationResponseSuccess | authenticationInformationResponseError;
declare const getAuthenticationInformationUrl: () => string;
declare const authenticationInformation: (options?: RequestInit) => Promise<authenticationInformationResponse>;
declare const getAuthenticationInformationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/authentication-information"];
type AuthenticationInformationQueryResult = NonNullable<Awaited<ReturnType<typeof authenticationInformation>>>;
declare const useAuthenticationInformation: <TError = Promise<AuthenticationInformation403>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof authenticationInformation>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: authenticationInformationResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<authenticationInformationResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
/**
 * Sets a password for the authenticated user. Only available when the user does not already have a password configured. Requires elevated access.
 */
type createPasswordResponse201 = {
    data: CreatePassword201;
    status: 201;
};
type createPasswordResponse400 = {
    data: CreatePassword400;
    status: 400;
};
type createPasswordResponse403 = {
    data: CreatePassword403;
    status: 403;
};
type createPasswordResponseSuccess = createPasswordResponse201 & {
    headers: Headers;
};
type createPasswordResponseError = (createPasswordResponse400 | createPasswordResponse403) & {
    headers: Headers;
};
type createPasswordResponse = createPasswordResponseSuccess | createPasswordResponseError;
declare const getCreatePasswordUrl: () => string;
declare const createPassword: (createPasswordRequest: CreatePasswordRequest, options?: RequestInit) => Promise<createPasswordResponse>;
declare const getCreatePasswordMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: CreatePasswordRequest;
}) => Promise<createPasswordResponse>;
declare const getCreatePasswordMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/create-password"];
type CreatePasswordMutationResult = NonNullable<Awaited<ReturnType<typeof createPassword>>>;
declare const useCreatePassword: <TError = Promise<CreatePassword400 | CreatePassword403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createPassword>>, TError, Key, CreatePasswordRequest, Awaited<ReturnType<typeof createPassword>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<createPasswordResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/create-password"], CreatePasswordRequest>;
    reset: () => void;
    error: TError | undefined;
    data: createPasswordResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/create-password"];
};
/**
 * Initiates TOTP (authenticator app) enrollment for the authenticated user by generating a new TOTP secret and QR code. Requires elevated access.
 */
type createTotpFactorResponse201 = {
    data: CreateTotpFactorResponse;
    status: 201;
};
type createTotpFactorResponse400 = {
    data: CreateTotpFactor400;
    status: 400;
};
type createTotpFactorResponse403 = {
    data: CreateTotpFactor403;
    status: 403;
};
type createTotpFactorResponseSuccess = createTotpFactorResponse201 & {
    headers: Headers;
};
type createTotpFactorResponseError = (createTotpFactorResponse400 | createTotpFactorResponse403) & {
    headers: Headers;
};
type createTotpFactorResponse = createTotpFactorResponseSuccess | createTotpFactorResponseError;
declare const getCreateTotpFactorUrl: () => string;
declare const createTotpFactor: (options?: RequestInit) => Promise<createTotpFactorResponse>;
declare const getCreateTotpFactorMutationFetcher: (options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<createTotpFactorResponse>;
declare const getCreateTotpFactorMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/create-totp-factor"];
type CreateTotpFactorMutationResult = NonNullable<Awaited<ReturnType<typeof createTotpFactor>>>;
declare const useCreateTotpFactor: <TError = Promise<CreateTotpFactor400 | CreateTotpFactor403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createTotpFactor>>, TError, Key, Arguments, Awaited<ReturnType<typeof createTotpFactor>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<createTotpFactorResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/create-totp-factor"], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: createTotpFactorResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/create-totp-factor"];
};
/**
 * Returns the profile information of the currently authenticated user, including their name, email, and linked authentication factors.
 */
type meResponse200 = {
    data: Me;
    status: 200;
};
type meResponse403 = {
    data: Me403;
    status: 403;
};
type meResponseSuccess = meResponse200 & {
    headers: Headers;
};
type meResponseError = meResponse403 & {
    headers: Headers;
};
type meResponse = meResponseSuccess | meResponseError;
declare const getMeUrl: () => string;
declare const me: (options?: RequestInit) => Promise<meResponse>;
declare const getMeKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/me"];
type MeQueryResult = NonNullable<Awaited<ReturnType<typeof me>>>;
declare const useMe: <TError = Promise<Me403>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof me>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: meResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<meResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
/**
 * Updates the profile information of the currently authenticated user, such as their first name, last name, or email address.
 */
type updateMeResponse200 = {
    data: Me;
    status: 200;
};
type updateMeResponse400 = {
    data: UpdateMe400;
    status: 400;
};
type updateMeResponse403 = {
    data: UpdateMe403;
    status: 403;
};
type updateMeResponseSuccess = updateMeResponse200 & {
    headers: Headers;
};
type updateMeResponseError = (updateMeResponse400 | updateMeResponse403) & {
    headers: Headers;
};
type updateMeResponse = updateMeResponseSuccess | updateMeResponseError;
declare const getUpdateMeUrl: () => string;
declare const updateMe: (updateMeBody: UpdateMeBody, options?: RequestInit) => Promise<updateMeResponse>;
declare const getUpdateMeMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: UpdateMeBody;
}) => Promise<updateMeResponse>;
declare const getUpdateMeMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/me"];
type UpdateMeMutationResult = NonNullable<Awaited<ReturnType<typeof updateMe>>>;
declare const useUpdateMe: <TError = Promise<UpdateMe400 | UpdateMe403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateMe>>, TError, Key, UpdateMeBody, Awaited<ReturnType<typeof updateMe>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<updateMeResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/me"], UpdateMeBody>;
    reset: () => void;
    error: TError | undefined;
    data: updateMeResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/me"];
};
/**
 * Initiates passkey (WebAuthn) registration for the authenticated user by returning the credential creation options. Requires elevated access.
 */
type registerPasskeyResponse201 = {
    data: RegisterPasskeyResponse;
    status: 201;
};
type registerPasskeyResponse400 = {
    data: RegisterPasskey400;
    status: 400;
};
type registerPasskeyResponse403 = {
    data: RegisterPasskey403;
    status: 403;
};
type registerPasskeyResponseSuccess = registerPasskeyResponse201 & {
    headers: Headers;
};
type registerPasskeyResponseError = (registerPasskeyResponse400 | registerPasskeyResponse403) & {
    headers: Headers;
};
type registerPasskeyResponse = registerPasskeyResponseSuccess | registerPasskeyResponseError;
declare const getRegisterPasskeyUrl: () => string;
declare const registerPasskey: (options?: RequestInit) => Promise<registerPasskeyResponse>;
declare const getRegisterPasskeyMutationFetcher: (options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<registerPasskeyResponse>;
declare const getRegisterPasskeyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/passkeys"];
type RegisterPasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof registerPasskey>>>;
declare const useRegisterPasskey: <TError = Promise<RegisterPasskey400 | RegisterPasskey403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof registerPasskey>>, TError, Key, Arguments, Awaited<ReturnType<typeof registerPasskey>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<registerPasskeyResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys"], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: registerPasskeyResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys"];
};
/**
 * Completes passkey (WebAuthn) registration by verifying the credential created by the authenticator. Requires elevated access.
 */
type verifyPasskeyResponse200 = {
    data: VerifyPasskey200;
    status: 200;
};
type verifyPasskeyResponse400 = {
    data: VerifyPasskey400;
    status: 400;
};
type verifyPasskeyResponse403 = {
    data: VerifyPasskey403;
    status: 403;
};
type verifyPasskeyResponseSuccess = verifyPasskeyResponse200 & {
    headers: Headers;
};
type verifyPasskeyResponseError = (verifyPasskeyResponse400 | verifyPasskeyResponse403) & {
    headers: Headers;
};
type verifyPasskeyResponse = verifyPasskeyResponseSuccess | verifyPasskeyResponseError;
declare const getVerifyPasskeyUrl: () => string;
declare const verifyPasskey: (verifyPasskeyRequest: VerifyPasskeyRequest, options?: RequestInit) => Promise<verifyPasskeyResponse>;
declare const getVerifyPasskeyMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: VerifyPasskeyRequest;
}) => Promise<verifyPasskeyResponse>;
declare const getVerifyPasskeyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"];
type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof verifyPasskey>>>;
declare const useVerifyPasskey: <TError = Promise<VerifyPasskey400 | VerifyPasskey403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verifyPasskey>>, TError, Key, VerifyPasskeyRequest, Awaited<ReturnType<typeof verifyPasskey>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<verifyPasskeyResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"], VerifyPasskeyRequest>;
    reset: () => void;
    error: TError | undefined;
    data: verifyPasskeyResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"];
};
/**
 * Removes the specified passkey from the authenticated user's account. Requires elevated access.
 */
type deletePasskeyResponse200 = {
    data: DeletePasskey200;
    status: 200;
};
type deletePasskeyResponse400 = {
    data: DeletePasskey400;
    status: 400;
};
type deletePasskeyResponse403 = {
    data: DeletePasskey403;
    status: 403;
};
type deletePasskeyResponseSuccess = deletePasskeyResponse200 & {
    headers: Headers;
};
type deletePasskeyResponseError = (deletePasskeyResponse400 | deletePasskeyResponse403) & {
    headers: Headers;
};
type deletePasskeyResponse = deletePasskeyResponseSuccess | deletePasskeyResponseError;
declare const getDeletePasskeyUrl: (passkeyId: string) => string;
declare const deletePasskey: (passkeyId: string, options?: RequestInit) => Promise<deletePasskeyResponse>;
declare const getDeletePasskeyMutationFetcher: (passkeyId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<deletePasskeyResponse>;
declare const getDeletePasskeyMutationKey: (passkeyId: string) => readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`];
type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof deletePasskey>>>;
declare const useDeletePasskey: <TError = Promise<DeletePasskey400 | DeletePasskey403>>(passkeyId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deletePasskey>>, TError, Key, Arguments, Awaited<ReturnType<typeof deletePasskey>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<deletePasskeyResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: deletePasskeyResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`];
};
/**
 * Sends a verification email containing a one-time code to the new email address. The change does not take effect until the code is submitted via verify-email-change. Requires elevated access.
 */
type sendEmailChangeResponse200 = {
    data: SendEmailChangeResponse;
    status: 200;
};
type sendEmailChangeResponse400 = {
    data: SendEmailChange400;
    status: 400;
};
type sendEmailChangeResponse403 = {
    data: SendEmailChange403;
    status: 403;
};
type sendEmailChangeResponse409 = {
    data: SendEmailChange409;
    status: 409;
};
type sendEmailChangeResponse422 = {
    data: SendEmailChange422;
    status: 422;
};
type sendEmailChangeResponse429 = {
    data: SendEmailChange429;
    status: 429;
};
type sendEmailChangeResponseSuccess = sendEmailChangeResponse200 & {
    headers: Headers;
};
type sendEmailChangeResponseError = (sendEmailChangeResponse400 | sendEmailChangeResponse403 | sendEmailChangeResponse409 | sendEmailChangeResponse422 | sendEmailChangeResponse429) & {
    headers: Headers;
};
type sendEmailChangeResponse = sendEmailChangeResponseSuccess | sendEmailChangeResponseError;
declare const getSendEmailChangeUrl: () => string;
declare const sendEmailChange: (sendEmailChangeRequest: SendEmailChangeRequest, options?: RequestInit) => Promise<sendEmailChangeResponse>;
declare const getSendEmailChangeMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: SendEmailChangeRequest;
}) => Promise<sendEmailChangeResponse>;
declare const getSendEmailChangeMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/send-email-change"];
type SendEmailChangeMutationResult = NonNullable<Awaited<ReturnType<typeof sendEmailChange>>>;
declare const useSendEmailChange: <TError = Promise<SendEmailChange400 | SendEmailChange403 | SendEmailChange409 | SendEmailChange422 | SendEmailChange429>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof sendEmailChange>>, TError, Key, SendEmailChangeRequest, Awaited<ReturnType<typeof sendEmailChange>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<sendEmailChangeResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/send-email-change"], SendEmailChangeRequest>;
    reset: () => void;
    error: TError | undefined;
    data: sendEmailChangeResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/send-email-change"];
};
/**
 * Sends a verification email to the authenticated user to confirm their email address.
 */
type sendVerificationResponse200 = {
    data: SendVerificationResponse;
    status: 200;
};
type sendVerificationResponse400 = {
    data: SendVerification400;
    status: 400;
};
type sendVerificationResponse403 = {
    data: SendVerification403;
    status: 403;
};
type sendVerificationResponseSuccess = sendVerificationResponse200 & {
    headers: Headers;
};
type sendVerificationResponseError = (sendVerificationResponse400 | sendVerificationResponse403) & {
    headers: Headers;
};
type sendVerificationResponse = sendVerificationResponseSuccess | sendVerificationResponseError;
declare const getSendVerificationUrl: () => string;
declare const sendVerification: (options?: RequestInit) => Promise<sendVerificationResponse>;
declare const getSendVerificationMutationFetcher: (options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<sendVerificationResponse>;
declare const getSendVerificationMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/send-verification"];
type SendVerificationMutationResult = NonNullable<Awaited<ReturnType<typeof sendVerification>>>;
declare const useSendVerification: <TError = Promise<SendVerification400 | SendVerification403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof sendVerification>>, TError, Key, Arguments, Awaited<ReturnType<typeof sendVerification>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<sendVerificationResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/send-verification"], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: sendVerificationResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/send-verification"];
};
/**
 * Returns all currently active sessions for the authenticated user, including device and location information where available.
 */
type sessionsResponse200 = {
    data: ActiveSessionsResponse;
    status: 200;
};
type sessionsResponse403 = {
    data: Sessions403;
    status: 403;
};
type sessionsResponseSuccess = sessionsResponse200 & {
    headers: Headers;
};
type sessionsResponseError = sessionsResponse403 & {
    headers: Headers;
};
type sessionsResponse = sessionsResponseSuccess | sessionsResponseError;
declare const getSessionsUrl: () => string;
declare const sessions: (options?: RequestInit) => Promise<sessionsResponse>;
declare const getSessionsKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/sessions"];
type SessionsQueryResult = NonNullable<Awaited<ReturnType<typeof sessions>>>;
declare const useSessions: <TError = Promise<Sessions403>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof sessions>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: sessionsResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<sessionsResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
/**
 * Revokes all active sessions for the authenticated user except optionally the current one, signing them out of all other devices.
 */
type revokeAllSessionsResponse200 = {
    data: RevokeAllSessions200;
    status: 200;
};
type revokeAllSessionsResponse400 = {
    data: RevokeAllSessions400;
    status: 400;
};
type revokeAllSessionsResponse403 = {
    data: RevokeAllSessions403;
    status: 403;
};
type revokeAllSessionsResponseSuccess = revokeAllSessionsResponse200 & {
    headers: Headers;
};
type revokeAllSessionsResponseError = (revokeAllSessionsResponse400 | revokeAllSessionsResponse403) & {
    headers: Headers;
};
type revokeAllSessionsResponse = revokeAllSessionsResponseSuccess | revokeAllSessionsResponseError;
declare const getRevokeAllSessionsUrl: () => string;
declare const revokeAllSessions: (revokeAllSessionsRequest: RevokeAllSessionsRequest, options?: RequestInit) => Promise<revokeAllSessionsResponse>;
declare const getRevokeAllSessionsMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: RevokeAllSessionsRequest;
}) => Promise<revokeAllSessionsResponse>;
declare const getRevokeAllSessionsMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/sessions/revoke-all"];
type RevokeAllSessionsMutationResult = NonNullable<Awaited<ReturnType<typeof revokeAllSessions>>>;
declare const useRevokeAllSessions: <TError = Promise<RevokeAllSessions400 | RevokeAllSessions403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeAllSessions>>, TError, Key, RevokeAllSessionsRequest, Awaited<ReturnType<typeof revokeAllSessions>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<revokeAllSessionsResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/sessions/revoke-all"], RevokeAllSessionsRequest>;
    reset: () => void;
    error: TError | undefined;
    data: revokeAllSessionsResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/sessions/revoke-all"];
};
/**
 * Revokes a specific active session by ID, signing the user out of that particular device or browser.
 */
type revokeSessionResponse200 = {
    data: RevokeSession200;
    status: 200;
};
type revokeSessionResponse400 = {
    data: RevokeSession400;
    status: 400;
};
type revokeSessionResponse403 = {
    data: RevokeSession403;
    status: 403;
};
type revokeSessionResponseSuccess = revokeSessionResponse200 & {
    headers: Headers;
};
type revokeSessionResponseError = (revokeSessionResponse400 | revokeSessionResponse403) & {
    headers: Headers;
};
type revokeSessionResponse = revokeSessionResponseSuccess | revokeSessionResponseError;
declare const getRevokeSessionUrl: (sessionId: string) => string;
declare const revokeSession: (sessionId: string, options?: RequestInit) => Promise<revokeSessionResponse>;
declare const getRevokeSessionMutationFetcher: (sessionId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<revokeSessionResponse>;
declare const getRevokeSessionMutationKey: (sessionId: string) => readonly [`https://api.workos.com/_widgets/UserProfile/sessions/revoke/${string}`];
type RevokeSessionMutationResult = NonNullable<Awaited<ReturnType<typeof revokeSession>>>;
declare const useRevokeSession: <TError = Promise<RevokeSession400 | RevokeSession403>>(sessionId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeSession>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeSession>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<revokeSessionResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserProfile/sessions/revoke/${string}`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: revokeSessionResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/UserProfile/sessions/revoke/${string}`];
};
/**
 * Removes all TOTP factors enrolled for the authenticated user, disabling authenticator app as a second factor. Requires elevated access.
 */
type deleteTotpFactorsResponse200 = {
    data: DeleteTotpFactors200;
    status: 200;
};
type deleteTotpFactorsResponse400 = {
    data: DeleteTotpFactors400;
    status: 400;
};
type deleteTotpFactorsResponse403 = {
    data: DeleteTotpFactors403;
    status: 403;
};
type deleteTotpFactorsResponseSuccess = deleteTotpFactorsResponse200 & {
    headers: Headers;
};
type deleteTotpFactorsResponseError = (deleteTotpFactorsResponse400 | deleteTotpFactorsResponse403) & {
    headers: Headers;
};
type deleteTotpFactorsResponse = deleteTotpFactorsResponseSuccess | deleteTotpFactorsResponseError;
declare const getDeleteTotpFactorsUrl: () => string;
declare const deleteTotpFactors: (options?: RequestInit) => Promise<deleteTotpFactorsResponse>;
declare const getDeleteTotpFactorsMutationFetcher: (options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<deleteTotpFactorsResponse>;
declare const getDeleteTotpFactorsMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/totp-factors"];
type DeleteTotpFactorsMutationResult = NonNullable<Awaited<ReturnType<typeof deleteTotpFactors>>>;
declare const useDeleteTotpFactors: <TError = Promise<DeleteTotpFactors400 | DeleteTotpFactors403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteTotpFactors>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteTotpFactors>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<deleteTotpFactorsResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/totp-factors"], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: deleteTotpFactorsResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/totp-factors"];
};
/**
 * Changes the password for the authenticated user. Requires the current password to be supplied alongside the new password.
 */
type updatePasswordResponse201 = {
    data: UpdatePassword201;
    status: 201;
};
type updatePasswordResponse400 = {
    data: UpdatePassword400;
    status: 400;
};
type updatePasswordResponse403 = {
    data: UpdatePassword403;
    status: 403;
};
type updatePasswordResponseSuccess = updatePasswordResponse201 & {
    headers: Headers;
};
type updatePasswordResponseError = (updatePasswordResponse400 | updatePasswordResponse403) & {
    headers: Headers;
};
type updatePasswordResponse = updatePasswordResponseSuccess | updatePasswordResponseError;
declare const getUpdatePasswordUrl: () => string;
declare const updatePassword: (updatePasswordRequest: UpdatePasswordRequest, options?: RequestInit) => Promise<updatePasswordResponse>;
declare const getUpdatePasswordMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: UpdatePasswordRequest;
}) => Promise<updatePasswordResponse>;
declare const getUpdatePasswordMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/update-password"];
type UpdatePasswordMutationResult = NonNullable<Awaited<ReturnType<typeof updatePassword>>>;
declare const useUpdatePassword: <TError = Promise<UpdatePassword400 | UpdatePassword403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updatePassword>>, TError, Key, UpdatePasswordRequest, Awaited<ReturnType<typeof updatePassword>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<updatePasswordResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/update-password"], UpdatePasswordRequest>;
    reset: () => void;
    error: TError | undefined;
    data: updatePasswordResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/update-password"];
};
/**
 * Verifies the email address of the authenticated user using the code sent via the send-verification endpoint. On success, returns an elevated access token that grants access to sensitive operations such as MFA enrollment and passkey management.
 */
type verifyResponse200 = {
    data: VerifyResponse;
    status: 200;
};
type verifyResponse400 = {
    data: Verify400;
    status: 400;
};
type verifyResponse403 = {
    data: Verify403;
    status: 403;
};
type verifyResponseSuccess = verifyResponse200 & {
    headers: Headers;
};
type verifyResponseError = (verifyResponse400 | verifyResponse403) & {
    headers: Headers;
};
type verifyResponse = verifyResponseSuccess | verifyResponseError;
declare const getVerifyUrl: () => string;
declare const verify: (verifyRequest: VerifyRequest, options?: RequestInit) => Promise<verifyResponse>;
declare const getVerifyMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: VerifyRequest;
}) => Promise<verifyResponse>;
declare const getVerifyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/verify"];
type VerifyMutationResult = NonNullable<Awaited<ReturnType<typeof verify>>>;
declare const useVerify: <TError = Promise<Verify400 | Verify403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verify>>, TError, Key, VerifyRequest, Awaited<ReturnType<typeof verify>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<verifyResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/verify"], VerifyRequest>;
    reset: () => void;
    error: TError | undefined;
    data: verifyResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/verify"];
};
/**
 * Verifies a pending email change using the one-time code sent via send-email-change. On success, updates the user’s email address and returns the updated profile along with an elevated access token that grants access to sensitive operations such as setting a password.
 */
type verifyEmailChangeResponse200 = {
    data: VerifyEmailChangeResponse;
    status: 200;
};
type verifyEmailChangeResponse400 = {
    data: VerifyEmailChange400;
    status: 400;
};
type verifyEmailChangeResponse403 = {
    data: VerifyEmailChange403;
    status: 403;
};
type verifyEmailChangeResponse409 = {
    data: VerifyEmailChange409;
    status: 409;
};
type verifyEmailChangeResponse422 = {
    data: VerifyEmailChange422;
    status: 422;
};
type verifyEmailChangeResponse429 = {
    data: VerifyEmailChange429;
    status: 429;
};
type verifyEmailChangeResponseSuccess = verifyEmailChangeResponse200 & {
    headers: Headers;
};
type verifyEmailChangeResponseError = (verifyEmailChangeResponse400 | verifyEmailChangeResponse403 | verifyEmailChangeResponse409 | verifyEmailChangeResponse422 | verifyEmailChangeResponse429) & {
    headers: Headers;
};
type verifyEmailChangeResponse = verifyEmailChangeResponseSuccess | verifyEmailChangeResponseError;
declare const getVerifyEmailChangeUrl: () => string;
declare const verifyEmailChange: (verifyEmailChangeRequest: VerifyEmailChangeRequest, options?: RequestInit) => Promise<verifyEmailChangeResponse>;
declare const getVerifyEmailChangeMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: VerifyEmailChangeRequest;
}) => Promise<verifyEmailChangeResponse>;
declare const getVerifyEmailChangeMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/verify-email-change"];
type VerifyEmailChangeMutationResult = NonNullable<Awaited<ReturnType<typeof verifyEmailChange>>>;
declare const useVerifyEmailChange: <TError = Promise<VerifyEmailChange400 | VerifyEmailChange403 | VerifyEmailChange409 | VerifyEmailChange422 | VerifyEmailChange429>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verifyEmailChange>>, TError, Key, VerifyEmailChangeRequest, Awaited<ReturnType<typeof verifyEmailChange>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<verifyEmailChangeResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/verify-email-change"], VerifyEmailChangeRequest>;
    reset: () => void;
    error: TError | undefined;
    data: verifyEmailChangeResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/verify-email-change"];
};
/**
 * Completes TOTP enrollment by verifying the one-time code generated by the authenticator app. Requires elevated access.
 */
type verifyTotpFactorResponse200 = {
    data: VerifyTotpFactor200;
    status: 200;
};
type verifyTotpFactorResponse400 = {
    data: VerifyTotpFactor400;
    status: 400;
};
type verifyTotpFactorResponse403 = {
    data: VerifyTotpFactor403;
    status: 403;
};
type verifyTotpFactorResponseSuccess = verifyTotpFactorResponse200 & {
    headers: Headers;
};
type verifyTotpFactorResponseError = (verifyTotpFactorResponse400 | verifyTotpFactorResponse403) & {
    headers: Headers;
};
type verifyTotpFactorResponse = verifyTotpFactorResponseSuccess | verifyTotpFactorResponseError;
declare const getVerifyTotpFactorUrl: () => string;
declare const verifyTotpFactor: (verifyTotpFactorRequest: VerifyTotpFactorRequest, options?: RequestInit) => Promise<verifyTotpFactorResponse>;
declare const getVerifyTotpFactorMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
    arg: VerifyTotpFactorRequest;
}) => Promise<verifyTotpFactorResponse>;
declare const getVerifyTotpFactorMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/verify-totp-factor"];
type VerifyTotpFactorMutationResult = NonNullable<Awaited<ReturnType<typeof verifyTotpFactor>>>;
declare const useVerifyTotpFactor: <TError = Promise<VerifyTotpFactor400 | VerifyTotpFactor403>>(options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verifyTotpFactor>>, TError, Key, VerifyTotpFactorRequest, Awaited<ReturnType<typeof verifyTotpFactor>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithArgs<verifyTotpFactorResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/verify-totp-factor"], VerifyTotpFactorRequest>;
    reset: () => void;
    error: TError | undefined;
    data: verifyTotpFactorResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/verify-totp-factor"];
};
type getAuditLogStreamResponse200 = {
    data: GetAuditLogStream200;
    status: 200;
};
type getAuditLogStreamResponse403 = {
    data: GetAuditLogStream403;
    status: 403;
};
type getAuditLogStreamResponseSuccess = getAuditLogStreamResponse200 & {
    headers: Headers;
};
type getAuditLogStreamResponseError = getAuditLogStreamResponse403 & {
    headers: Headers;
};
type getAuditLogStreamResponse = getAuditLogStreamResponseSuccess | getAuditLogStreamResponseError;
declare const getGetAuditLogStreamUrl: () => string;
declare const getAuditLogStream: (options?: RequestInit) => Promise<getAuditLogStreamResponse>;
declare const getGetAuditLogStreamKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/audit-log-stream"];
type GetAuditLogStreamQueryResult = NonNullable<Awaited<ReturnType<typeof getAuditLogStream>>>;
declare const useGetAuditLogStream: <TError = Promise<GetAuditLogStream403>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof getAuditLogStream>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: getAuditLogStreamResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<getAuditLogStreamResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type generateAdminPortalLinkResponse201 = {
    data: GenerateAdminPortalLink201;
    status: 201;
};
type generateAdminPortalLinkResponse403 = {
    data: GenerateAdminPortalLink403;
    status: 403;
};
type generateAdminPortalLinkResponse404 = {
    data: GenerateAdminPortalLink404;
    status: 404;
};
type generateAdminPortalLinkResponse500 = {
    data: GenerateAdminPortalLink500;
    status: 500;
};
type generateAdminPortalLinkResponseSuccess = generateAdminPortalLinkResponse201 & {
    headers: Headers;
};
type generateAdminPortalLinkResponseError = (generateAdminPortalLinkResponse403 | generateAdminPortalLinkResponse404 | generateAdminPortalLinkResponse500) & {
    headers: Headers;
};
type generateAdminPortalLinkResponse = generateAdminPortalLinkResponseSuccess | generateAdminPortalLinkResponseError;
declare const getGenerateAdminPortalLinkUrl: (params: GenerateAdminPortalLinkParams) => string;
declare const generateAdminPortalLink: (params: GenerateAdminPortalLinkParams, options?: RequestInit) => Promise<generateAdminPortalLinkResponse>;
declare const getGenerateAdminPortalLinkMutationFetcher: (params: GenerateAdminPortalLinkParams, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<generateAdminPortalLinkResponse>;
declare const getGenerateAdminPortalLinkMutationKey: (params: GenerateAdminPortalLinkParams) => readonly ["https://api.workos.com/_widgets/admin-portal/generate-link", ...GenerateAdminPortalLinkParams[]];
type GenerateAdminPortalLinkMutationResult = NonNullable<Awaited<ReturnType<typeof generateAdminPortalLink>>>;
declare const useGenerateAdminPortalLink: <TError = Promise<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>>(params: GenerateAdminPortalLinkParams, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof generateAdminPortalLink>>, TError, Key, Arguments, Awaited<ReturnType<typeof generateAdminPortalLink>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<generateAdminPortalLinkResponse, TError, string | readonly ["https://api.workos.com/_widgets/admin-portal/generate-link", ...GenerateAdminPortalLinkParams[]], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: generateAdminPortalLinkResponse | undefined;
    swrKey: string | readonly ["https://api.workos.com/_widgets/admin-portal/generate-link", ...GenerateAdminPortalLinkParams[]];
};
type listOrganizationDomainsResponse200 = {
    data: ListOrganizationDomains200;
    status: 200;
};
type listOrganizationDomainsResponse403 = {
    data: ListOrganizationDomains403;
    status: 403;
};
type listOrganizationDomainsResponse404 = {
    data: ListOrganizationDomains404;
    status: 404;
};
type listOrganizationDomainsResponseSuccess = listOrganizationDomainsResponse200 & {
    headers: Headers;
};
type listOrganizationDomainsResponseError = (listOrganizationDomainsResponse403 | listOrganizationDomainsResponse404) & {
    headers: Headers;
};
type listOrganizationDomainsResponse = listOrganizationDomainsResponseSuccess | listOrganizationDomainsResponseError;
declare const getListOrganizationDomainsUrl: () => string;
declare const listOrganizationDomains: (options?: RequestInit) => Promise<listOrganizationDomainsResponse>;
declare const getListOrganizationDomainsKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/organization-domains"];
type ListOrganizationDomainsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationDomains>>>;
declare const useListOrganizationDomains: <TError = Promise<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationDomains>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: listOrganizationDomainsResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<listOrganizationDomainsResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type deleteOrganizationDomainResponse200 = {
    data: OrganizationDomain;
    status: 200;
};
type deleteOrganizationDomainResponse403 = {
    data: DeleteOrganizationDomain403;
    status: 403;
};
type deleteOrganizationDomainResponse404 = {
    data: DeleteOrganizationDomain404;
    status: 404;
};
type deleteOrganizationDomainResponseSuccess = deleteOrganizationDomainResponse200 & {
    headers: Headers;
};
type deleteOrganizationDomainResponseError = (deleteOrganizationDomainResponse403 | deleteOrganizationDomainResponse404) & {
    headers: Headers;
};
type deleteOrganizationDomainResponse = deleteOrganizationDomainResponseSuccess | deleteOrganizationDomainResponseError;
declare const getDeleteOrganizationDomainUrl: (domainId: string) => string;
declare const deleteOrganizationDomain: (domainId: string, options?: RequestInit) => Promise<deleteOrganizationDomainResponse>;
declare const getDeleteOrganizationDomainMutationFetcher: (domainId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<deleteOrganizationDomainResponse>;
declare const getDeleteOrganizationDomainMutationKey: (domainId: string) => readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`];
type DeleteOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganizationDomain>>>;
declare const useDeleteOrganizationDomain: <TError = Promise<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>>(domainId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteOrganizationDomain>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteOrganizationDomain>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<deleteOrganizationDomainResponse, TError, string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: deleteOrganizationDomainResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`];
};
type reverifyOrganizationDomainResponse200 = {
    data: OrganizationDomain;
    status: 200;
};
type reverifyOrganizationDomainResponse403 = {
    data: ReverifyOrganizationDomain403;
    status: 403;
};
type reverifyOrganizationDomainResponse404 = {
    data: ReverifyOrganizationDomain404;
    status: 404;
};
type reverifyOrganizationDomainResponseSuccess = reverifyOrganizationDomainResponse200 & {
    headers: Headers;
};
type reverifyOrganizationDomainResponseError = (reverifyOrganizationDomainResponse403 | reverifyOrganizationDomainResponse404) & {
    headers: Headers;
};
type reverifyOrganizationDomainResponse = reverifyOrganizationDomainResponseSuccess | reverifyOrganizationDomainResponseError;
declare const getReverifyOrganizationDomainUrl: (domainId: string) => string;
declare const reverifyOrganizationDomain: (domainId: string, options?: RequestInit) => Promise<reverifyOrganizationDomainResponse>;
declare const getReverifyOrganizationDomainMutationFetcher: (domainId: string, options?: RequestInit) => (_: Key, __: {
    arg: Arguments;
}) => Promise<reverifyOrganizationDomainResponse>;
declare const getReverifyOrganizationDomainMutationKey: (domainId: string) => readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`];
type ReverifyOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof reverifyOrganizationDomain>>>;
declare const useReverifyOrganizationDomain: <TError = Promise<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>>(domainId: string, options?: {
    swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof reverifyOrganizationDomain>>, TError, Key, Arguments, Awaited<ReturnType<typeof reverifyOrganizationDomain>>> & {
        swrKey?: string;
    };
    fetch?: RequestInit;
}) => {
    isMutating: boolean;
    trigger: swr_mutation.TriggerWithOptionsArgs<reverifyOrganizationDomainResponse, TError, string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`], Arguments>;
    reset: () => void;
    error: TError | undefined;
    data: reverifyOrganizationDomainResponse | undefined;
    swrKey: string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`];
};
type listSsoConnectionsResponse200 = {
    data: SsoConnection[];
    status: 200;
};
type listSsoConnectionsResponseSuccess = listSsoConnectionsResponse200 & {
    headers: Headers;
};
type listSsoConnectionsResponse = listSsoConnectionsResponseSuccess;
declare const getListSsoConnectionsUrl: () => string;
declare const listSsoConnections: (options?: RequestInit) => Promise<listSsoConnectionsResponse>;
declare const getListSsoConnectionsKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/sso-connections"];
type ListSsoConnectionsQueryResult = NonNullable<Awaited<ReturnType<typeof listSsoConnections>>>;
declare const useListSsoConnections: <TError = Promise<unknown>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof listSsoConnections>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: (listSsoConnectionsResponse200 & {
        headers: Headers;
    }) | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<listSsoConnectionsResponse200 & {
        headers: Headers;
    }>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type listDirectoriesResponse200 = {
    data: DirectoriesResponse;
    status: 200;
};
type listDirectoriesResponse403 = {
    data: ListDirectories403;
    status: 403;
};
type listDirectoriesResponse404 = {
    data: ListDirectories404;
    status: 404;
};
type listDirectoriesResponseSuccess = listDirectoriesResponse200 & {
    headers: Headers;
};
type listDirectoriesResponseError = (listDirectoriesResponse403 | listDirectoriesResponse404) & {
    headers: Headers;
};
type listDirectoriesResponse = listDirectoriesResponseSuccess | listDirectoriesResponseError;
declare const getListDirectoriesUrl: () => string;
declare const listDirectories: (options?: RequestInit) => Promise<listDirectoriesResponse>;
declare const getListDirectoriesKey: () => readonly ["https://api.workos.com/_widgets/directory-sync/directories"];
type ListDirectoriesQueryResult = NonNullable<Awaited<ReturnType<typeof listDirectories>>>;
declare const useListDirectories: <TError = Promise<ListDirectories403 | ListDirectories404>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof listDirectories>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: listDirectoriesResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<listDirectoriesResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
type getDirectoryResponse200 = {
    data: Directory;
    status: 200;
};
type getDirectoryResponse403 = {
    data: GetDirectory403;
    status: 403;
};
type getDirectoryResponse404 = {
    data: GetDirectory404;
    status: 404;
};
type getDirectoryResponseSuccess = getDirectoryResponse200 & {
    headers: Headers;
};
type getDirectoryResponseError = (getDirectoryResponse403 | getDirectoryResponse404) & {
    headers: Headers;
};
type getDirectoryResponse = getDirectoryResponseSuccess | getDirectoryResponseError;
declare const getGetDirectoryUrl: (directoryId: string) => string;
declare const getDirectory: (directoryId: string, options?: RequestInit) => Promise<getDirectoryResponse>;
declare const getGetDirectoryKey: (directoryId: string) => readonly [`https://api.workos.com/_widgets/directory-sync/directories/${string}`];
type GetDirectoryQueryResult = NonNullable<Awaited<ReturnType<typeof getDirectory>>>;
declare const useGetDirectory: <TError = Promise<GetDirectory403 | GetDirectory404>>(directoryId: string, options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof getDirectory>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: getDirectoryResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<getDirectoryResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};
/**
 * Returns the widget settings for the current environment, including enabled authentication methods and branding configuration.
 */
type settingsResponse200 = {
    data: SettingsResponse;
    status: 200;
};
type settingsResponse403 = {
    data: Settings403;
    status: 403;
};
type settingsResponseSuccess = settingsResponse200 & {
    headers: Headers;
};
type settingsResponseError = settingsResponse403 & {
    headers: Headers;
};
type settingsResponse = settingsResponseSuccess | settingsResponseError;
declare const getSettingsUrl: () => string;
declare const settings: (options?: RequestInit) => Promise<settingsResponse>;
declare const getSettingsKey: () => readonly ["https://api.workos.com/_widgets/settings"];
type SettingsQueryResult = NonNullable<Awaited<ReturnType<typeof settings>>>;
declare const useSettings: <TError = Promise<Settings403>>(options?: {
    swr?: SWRConfiguration<Awaited<ReturnType<typeof settings>>, TError> & {
        swrKey?: Key;
        enabled?: boolean;
    };
    fetch?: RequestInit;
}) => {
    data: settingsResponse | undefined;
    error: TError | undefined;
    mutate: swr.KeyedMutator<settingsResponse>;
    isValidating: boolean;
    isLoading: swr__internal.IsLoadingResponse<Data, Config>;
    swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
};

export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionState, type ActiveSessionsResponse, type AuditLogStreamJSON, type AuditLogStreamState, type AuditLogStreamType, type AuthenticationInformation403, type AuthenticationInformationQueryResult, type AuthenticationInformationResponse, type AuthenticationInformationResponseData, type AuthenticationInformationResponseDataPasswordSettings, type AuthenticationInformationResponseDataVerificationMethods, type AuthenticationInformationResponseDataVerificationMethodsMfa, type AuthenticationInformationResponseDataVerificationMethodsPasskey, type AuthenticationInformationResponseDataVerificationMethodsPassword, type CreateOrganizationApiKey400, type CreateOrganizationApiKey400ErrorsItem, type CreateOrganizationApiKey403, type CreateOrganizationApiKey404, type CreateOrganizationApiKey422, type CreateOrganizationApiKey422ErrorsItem, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationFactor, type CreateUserApiKey400, type CreateUserApiKey400ErrorsItem, type CreateUserApiKey403, type CreateUserApiKey404, type CreateUserApiKey422, type CreateUserApiKey422ErrorsItem, type CreateUserApiKeyMutationResult, type CreateUserApiKeyRequest, type CreateUserApiKeyResponse, type DataInstallation, type DataIntegration, type DataIntegrationsResponse, type DeleteDataInstallation200, type DeleteDataInstallation403, type DeleteDataInstallation404, type DeleteDataInstallationMutationResult, type DeleteOrganizationApiKey200, type DeleteOrganizationApiKey403, type DeleteOrganizationApiKey404, type DeleteOrganizationApiKeyMutationResult, type DeleteOrganizationDomain403, type DeleteOrganizationDomain404, type DeleteOrganizationDomainMutationResult, type DeletePasskey200, type DeletePasskey400, type DeletePasskey403, type DeletePasskeyMutationResult, type DeleteTotpFactors200, type DeleteTotpFactors400, type DeleteTotpFactors403, type DeleteTotpFactorsMutationResult, type DeleteUserApiKey200, type DeleteUserApiKey403, type DeleteUserApiKey404, type DeleteUserApiKeyMutationResult, type DirectoriesResponse, type Directory, type DirectoryMetadata, DirectoryState, DirectoryType, type DirectoryUsersMetadata, DomainVerificationNameServer, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type GetAuditLogStream200, type GetAuditLogStream403, type GetAuditLogStreamQueryResult, type GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlParams, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type GetDirectory403, type GetDirectory404, type GetDirectoryQueryResult, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberBody, type InviteMemberMutationResult, type InviteMemberResponse, type ListDirectories403, type ListDirectories404, type ListDirectoriesQueryResult, type ListMetadata, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions400ErrorsItem, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys400ErrorsItem, type ListOrganizationApiKeys403, type ListOrganizationApiKeysParams, type ListOrganizationApiKeysQueryResult, type ListOrganizationApiKeysResponse, type ListOrganizationApiKeysResponseData, type ListOrganizationApiKeysResponseListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryResult, type ListUserApiKeyPermission, type ListUserApiKeyPermissions400, type ListUserApiKeyPermissions400ErrorsItem, type ListUserApiKeyPermissions403, type ListUserApiKeyPermissionsParams, type ListUserApiKeyPermissionsQueryResult, type ListUserApiKeyPermissionsResponse, type ListUserApiKeyPermissionsResponseListMetadata, type ListUserApiKeys400, type ListUserApiKeys400ErrorsItem, type ListUserApiKeys403, type ListUserApiKeysParams, type ListUserApiKeysQueryResult, type ListUserApiKeysResponse, type ListUserApiKeysResponseData, type ListUserApiKeysResponseDataOwner, type ListUserApiKeysResponseListMetadata, type Me, type Me403, type MeOauthProfiles, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberRole, type MemberRoles, MemberStatus, type Members403, type Members404, type MembersParams, type MembersQueryResult, type MembersResponse, type MyDataIntegrations403, type MyDataIntegrationsQueryResult, type OAuthProfile, OidcSessionState, type OrganizationDomain, OrganizationDomainState, type OrganizationInfo, type Organizations403, type Organizations404, type OrganizationsQueryResult, type OrganizationsResponse, type RegisterPasskey400, type RegisterPasskey403, type RegisterPasskeyMutationResult, type RegisterPasskeyResponse, type RegisterPasskeyResponseOptions, type RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationResult, type RemoveMemberResponse, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInvite422, type ResendInviteMutationResult, type ResendInviteResponse, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationResult, type RevokeMemberResponse, type RevokeSession200, type RevokeSession400, type RevokeSession403, type RevokeSessionMutationResult, type Roles403, type Roles404, type RolesAndConfig403, type RolesAndConfig404, type RolesAndConfigQueryResult, type RolesAndConfigResponse, type RolesQueryResult, SamlSessionState, type SendEmailChange400, type SendEmailChange403, type SendEmailChange409, type SendEmailChange422, type SendEmailChange429, type SendEmailChangeMutationResult, type SendEmailChangeRequest, type SendEmailChangeResponse, type SendVerification400, type SendVerification403, type SendVerificationMutationResult, type SendVerificationResponse, type Sessions403, type SessionsQueryResult, type Settings403, type SettingsQueryResult, type SettingsResponse, type SsoConnection, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeBody, type UpdateMeMutationResult, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberBody, type UpdateMemberMutationResult, type UpdateMemberResponse, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyEmailChange400, type VerifyEmailChange403, type VerifyEmailChange409, type VerifyEmailChange422, type VerifyEmailChange429, type VerifyEmailChangeMutationResult, type VerifyEmailChangeRequest, type VerifyEmailChangeResponse, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, authenticationInformation, type authenticationInformationResponse, type authenticationInformationResponse200, type authenticationInformationResponse403, type authenticationInformationResponseError, type authenticationInformationResponseSuccess, createOrganizationApiKey, type createOrganizationApiKeyResponse, type createOrganizationApiKeyResponse201, type createOrganizationApiKeyResponse400, type createOrganizationApiKeyResponse403, type createOrganizationApiKeyResponse404, type createOrganizationApiKeyResponse422, type createOrganizationApiKeyResponseError, type createOrganizationApiKeyResponseSuccess, createPassword, type createPasswordResponse, type createPasswordResponse201, type createPasswordResponse400, type createPasswordResponse403, type createPasswordResponseError, type createPasswordResponseSuccess, createTotpFactor, type createTotpFactorResponse, type createTotpFactorResponse201, type createTotpFactorResponse400, type createTotpFactorResponse403, type createTotpFactorResponseError, type createTotpFactorResponseSuccess, createUserApiKey, type createUserApiKeyResponse, type createUserApiKeyResponse201, type createUserApiKeyResponse400, type createUserApiKeyResponse403, type createUserApiKeyResponse404, type createUserApiKeyResponse422, type createUserApiKeyResponseError, type createUserApiKeyResponseSuccess, deleteDataInstallation, type deleteDataInstallationResponse, type deleteDataInstallationResponse200, type deleteDataInstallationResponse403, type deleteDataInstallationResponse404, type deleteDataInstallationResponseError, type deleteDataInstallationResponseSuccess, deleteOrganizationApiKey, type deleteOrganizationApiKeyResponse, type deleteOrganizationApiKeyResponse200, type deleteOrganizationApiKeyResponse403, type deleteOrganizationApiKeyResponse404, type deleteOrganizationApiKeyResponseError, type deleteOrganizationApiKeyResponseSuccess, deleteOrganizationDomain, type deleteOrganizationDomainResponse, type deleteOrganizationDomainResponse200, type deleteOrganizationDomainResponse403, type deleteOrganizationDomainResponse404, type deleteOrganizationDomainResponseError, type deleteOrganizationDomainResponseSuccess, deletePasskey, type deletePasskeyResponse, type deletePasskeyResponse200, type deletePasskeyResponse400, type deletePasskeyResponse403, type deletePasskeyResponseError, type deletePasskeyResponseSuccess, deleteTotpFactors, type deleteTotpFactorsResponse, type deleteTotpFactorsResponse200, type deleteTotpFactorsResponse400, type deleteTotpFactorsResponse403, type deleteTotpFactorsResponseError, type deleteTotpFactorsResponseSuccess, deleteUserApiKey, type deleteUserApiKeyResponse, type deleteUserApiKeyResponse200, type deleteUserApiKeyResponse403, type deleteUserApiKeyResponse404, type deleteUserApiKeyResponseError, type deleteUserApiKeyResponseSuccess, generateAdminPortalLink, type generateAdminPortalLinkResponse, type generateAdminPortalLinkResponse201, type generateAdminPortalLinkResponse403, type generateAdminPortalLinkResponse404, type generateAdminPortalLinkResponse500, type generateAdminPortalLinkResponseError, type generateAdminPortalLinkResponseSuccess, getAuditLogStream, type getAuditLogStreamResponse, type getAuditLogStreamResponse200, type getAuditLogStreamResponse403, type getAuditLogStreamResponseError, type getAuditLogStreamResponseSuccess, getAuthenticationInformationKey, getAuthenticationInformationUrl, getCreateOrganizationApiKeyMutationFetcher, getCreateOrganizationApiKeyMutationKey, getCreateOrganizationApiKeyUrl, getCreatePasswordMutationFetcher, getCreatePasswordMutationKey, getCreatePasswordUrl, getCreateTotpFactorMutationFetcher, getCreateTotpFactorMutationKey, getCreateTotpFactorUrl, getCreateUserApiKeyMutationFetcher, getCreateUserApiKeyMutationKey, getCreateUserApiKeyUrl, getDataInstallationAuthorizationStatus, type getDataInstallationAuthorizationStatusResponse, type getDataInstallationAuthorizationStatusResponse200, type getDataInstallationAuthorizationStatusResponse400, type getDataInstallationAuthorizationStatusResponse403, type getDataInstallationAuthorizationStatusResponse404, type getDataInstallationAuthorizationStatusResponseError, type getDataInstallationAuthorizationStatusResponseSuccess, getDataIntegrationAuthorizeUrl, type getDataIntegrationAuthorizeUrlResponse, type getDataIntegrationAuthorizeUrlResponse200, type getDataIntegrationAuthorizeUrlResponse400, type getDataIntegrationAuthorizeUrlResponse403, type getDataIntegrationAuthorizeUrlResponse404, type getDataIntegrationAuthorizeUrlResponseError, type getDataIntegrationAuthorizeUrlResponseSuccess, getDeleteDataInstallationMutationFetcher, getDeleteDataInstallationMutationKey, getDeleteDataInstallationUrl, getDeleteOrganizationApiKeyMutationFetcher, getDeleteOrganizationApiKeyMutationKey, getDeleteOrganizationApiKeyUrl, getDeleteOrganizationDomainMutationFetcher, getDeleteOrganizationDomainMutationKey, getDeleteOrganizationDomainUrl, getDeletePasskeyMutationFetcher, getDeletePasskeyMutationKey, getDeletePasskeyUrl, getDeleteTotpFactorsMutationFetcher, getDeleteTotpFactorsMutationKey, getDeleteTotpFactorsUrl, getDeleteUserApiKeyMutationFetcher, getDeleteUserApiKeyMutationKey, getDeleteUserApiKeyUrl, getDirectory, type getDirectoryResponse, type getDirectoryResponse200, type getDirectoryResponse403, type getDirectoryResponse404, type getDirectoryResponseError, type getDirectoryResponseSuccess, getGenerateAdminPortalLinkMutationFetcher, getGenerateAdminPortalLinkMutationKey, getGenerateAdminPortalLinkUrl, getGetAuditLogStreamKey, getGetAuditLogStreamUrl, getGetDataInstallationAuthorizationStatusKey, getGetDataInstallationAuthorizationStatusUrl, getGetDataIntegrationAuthorizeUrlKey, getGetDataIntegrationAuthorizeUrlUrl, getGetDirectoryKey, getGetDirectoryUrl, getInviteMemberMutationFetcher, getInviteMemberMutationKey, getInviteMemberUrl, getListDirectoriesKey, getListDirectoriesUrl, getListOrganizationApiKeyPermissionsKey, getListOrganizationApiKeyPermissionsUrl, getListOrganizationApiKeysKey, getListOrganizationApiKeysUrl, getListOrganizationDomainsKey, getListOrganizationDomainsUrl, getListSsoConnectionsKey, getListSsoConnectionsUrl, getListUserApiKeyPermissionsKey, getListUserApiKeyPermissionsUrl, getListUserApiKeysKey, getListUserApiKeysUrl, getMeKey, getMeUrl, getMembersKey, getMembersUrl, getMyDataIntegrationsKey, getMyDataIntegrationsUrl, getOrganizationsKey, getOrganizationsUrl, getRegisterPasskeyMutationFetcher, getRegisterPasskeyMutationKey, getRegisterPasskeyUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getResendInviteMutationFetcher, getResendInviteMutationKey, getResendInviteUrl, getReverifyOrganizationDomainMutationFetcher, getReverifyOrganizationDomainMutationKey, getReverifyOrganizationDomainUrl, getRevokeAllSessionsMutationFetcher, getRevokeAllSessionsMutationKey, getRevokeAllSessionsUrl, getRevokeInviteMutationFetcher, getRevokeInviteMutationKey, getRevokeInviteUrl, getRevokeSessionMutationFetcher, getRevokeSessionMutationKey, getRevokeSessionUrl, getRolesAndConfigKey, getRolesAndConfigUrl, getRolesKey, getRolesUrl, getSendEmailChangeMutationFetcher, getSendEmailChangeMutationKey, getSendEmailChangeUrl, getSendVerificationMutationFetcher, getSendVerificationMutationKey, getSendVerificationUrl, getSessionsKey, getSessionsUrl, getSettingsKey, getSettingsUrl, getUpdateMeMutationFetcher, getUpdateMeMutationKey, getUpdateMeUrl, getUpdateMemberMutationFetcher, getUpdateMemberMutationKey, getUpdateMemberUrl, getUpdatePasswordMutationFetcher, getUpdatePasswordMutationKey, getUpdatePasswordUrl, getVerifyEmailChangeMutationFetcher, getVerifyEmailChangeMutationKey, getVerifyEmailChangeUrl, getVerifyMutationFetcher, getVerifyMutationKey, getVerifyPasskeyMutationFetcher, getVerifyPasskeyMutationKey, getVerifyPasskeyUrl, getVerifyTotpFactorMutationFetcher, getVerifyTotpFactorMutationKey, getVerifyTotpFactorUrl, getVerifyUrl, inviteMember, type inviteMemberResponse, type inviteMemberResponse201, type inviteMemberResponse400, type inviteMemberResponse403, type inviteMemberResponse404, type inviteMemberResponseError, type inviteMemberResponseSuccess, listDirectories, type listDirectoriesResponse, type listDirectoriesResponse200, type listDirectoriesResponse403, type listDirectoriesResponse404, type listDirectoriesResponseError, type listDirectoriesResponseSuccess, listOrganizationApiKeyPermissions, type listOrganizationApiKeyPermissionsResponse, type listOrganizationApiKeyPermissionsResponse200, type listOrganizationApiKeyPermissionsResponse400, type listOrganizationApiKeyPermissionsResponse403, type listOrganizationApiKeyPermissionsResponseError, type listOrganizationApiKeyPermissionsResponseSuccess, listOrganizationApiKeys, type listOrganizationApiKeysResponse, type listOrganizationApiKeysResponse200, type listOrganizationApiKeysResponse400, type listOrganizationApiKeysResponse403, type listOrganizationApiKeysResponseError, type listOrganizationApiKeysResponseSuccess, listOrganizationDomains, type listOrganizationDomainsResponse, type listOrganizationDomainsResponse200, type listOrganizationDomainsResponse403, type listOrganizationDomainsResponse404, type listOrganizationDomainsResponseError, type listOrganizationDomainsResponseSuccess, listSsoConnections, type listSsoConnectionsResponse, type listSsoConnectionsResponse200, type listSsoConnectionsResponseSuccess, listUserApiKeyPermissions, type listUserApiKeyPermissionsResponse, type listUserApiKeyPermissionsResponse200, type listUserApiKeyPermissionsResponse400, type listUserApiKeyPermissionsResponse403, type listUserApiKeyPermissionsResponseError, type listUserApiKeyPermissionsResponseSuccess, listUserApiKeys, type listUserApiKeysResponse, type listUserApiKeysResponse200, type listUserApiKeysResponse400, type listUserApiKeysResponse403, type listUserApiKeysResponseError, type listUserApiKeysResponseSuccess, me, type meResponse, type meResponse200, type meResponse403, type meResponseError, type meResponseSuccess, members, type membersResponse, type membersResponse200, type membersResponse403, type membersResponse404, type membersResponseError, type membersResponseSuccess, myDataIntegrations, type myDataIntegrationsResponse, type myDataIntegrationsResponse200, type myDataIntegrationsResponse403, type myDataIntegrationsResponseError, type myDataIntegrationsResponseSuccess, organizations, type organizationsResponse, type organizationsResponse200, type organizationsResponse403, type organizationsResponse404, type organizationsResponseError, type organizationsResponseSuccess, registerPasskey, type registerPasskeyResponse, type registerPasskeyResponse201, type registerPasskeyResponse400, type registerPasskeyResponse403, type registerPasskeyResponseError, type registerPasskeyResponseSuccess, removeMember, type removeMemberResponse, type removeMemberResponse200, type removeMemberResponse400, type removeMemberResponse403, type removeMemberResponse404, type removeMemberResponseError, type removeMemberResponseSuccess, resendInvite, type resendInviteResponse, type resendInviteResponse201, type resendInviteResponse400, type resendInviteResponse403, type resendInviteResponse404, type resendInviteResponse422, type resendInviteResponseError, type resendInviteResponseSuccess, reverifyOrganizationDomain, type reverifyOrganizationDomainResponse, type reverifyOrganizationDomainResponse200, type reverifyOrganizationDomainResponse403, type reverifyOrganizationDomainResponse404, type reverifyOrganizationDomainResponseError, type reverifyOrganizationDomainResponseSuccess, revokeAllSessions, type revokeAllSessionsResponse, type revokeAllSessionsResponse200, type revokeAllSessionsResponse400, type revokeAllSessionsResponse403, type revokeAllSessionsResponseError, type revokeAllSessionsResponseSuccess, revokeInvite, type revokeInviteResponse, type revokeInviteResponse200, type revokeInviteResponse400, type revokeInviteResponse403, type revokeInviteResponse404, type revokeInviteResponseError, type revokeInviteResponseSuccess, revokeSession, type revokeSessionResponse, type revokeSessionResponse200, type revokeSessionResponse400, type revokeSessionResponse403, type revokeSessionResponseError, type revokeSessionResponseSuccess, roles, rolesAndConfig, type rolesAndConfigResponse, type rolesAndConfigResponse200, type rolesAndConfigResponse403, type rolesAndConfigResponse404, type rolesAndConfigResponseError, type rolesAndConfigResponseSuccess, type rolesResponse, type rolesResponse200, type rolesResponse403, type rolesResponse404, type rolesResponseError, type rolesResponseSuccess, sendEmailChange, type sendEmailChangeResponse, type sendEmailChangeResponse200, type sendEmailChangeResponse400, type sendEmailChangeResponse403, type sendEmailChangeResponse409, type sendEmailChangeResponse422, type sendEmailChangeResponse429, type sendEmailChangeResponseError, type sendEmailChangeResponseSuccess, sendVerification, type sendVerificationResponse, type sendVerificationResponse200, type sendVerificationResponse400, type sendVerificationResponse403, type sendVerificationResponseError, type sendVerificationResponseSuccess, sessions, type sessionsResponse, type sessionsResponse200, type sessionsResponse403, type sessionsResponseError, type sessionsResponseSuccess, settings, type settingsResponse, type settingsResponse200, type settingsResponse403, type settingsResponseError, type settingsResponseSuccess, updateMe, type updateMeResponse, type updateMeResponse200, type updateMeResponse400, type updateMeResponse403, type updateMeResponseError, type updateMeResponseSuccess, updateMember, type updateMemberResponse, type updateMemberResponse200, type updateMemberResponse400, type updateMemberResponse403, type updateMemberResponse404, type updateMemberResponse422, type updateMemberResponseError, type updateMemberResponseSuccess, updatePassword, type updatePasswordResponse, type updatePasswordResponse201, type updatePasswordResponse400, type updatePasswordResponse403, type updatePasswordResponseError, type updatePasswordResponseSuccess, useAuthenticationInformation, useCreateOrganizationApiKey, useCreatePassword, useCreateTotpFactor, useCreateUserApiKey, useDeleteDataInstallation, useDeleteOrganizationApiKey, useDeleteOrganizationDomain, useDeletePasskey, useDeleteTotpFactors, useDeleteUserApiKey, useGenerateAdminPortalLink, useGetAuditLogStream, useGetDataInstallationAuthorizationStatus, useGetDataIntegrationAuthorizeUrl, useGetDirectory, useInviteMember, useListDirectories, useListOrganizationApiKeyPermissions, useListOrganizationApiKeys, useListOrganizationDomains, useListSsoConnections, useListUserApiKeyPermissions, useListUserApiKeys, useMe, useMembers, useMyDataIntegrations, useOrganizations, useRegisterPasskey, useRemoveMember, useResendInvite, useReverifyOrganizationDomain, useRevokeAllSessions, useRevokeInvite, useRevokeSession, useRoles, useRolesAndConfig, useSendEmailChange, useSendVerification, useSessions, useSettings, useUpdateMe, useUpdateMember, useUpdatePassword, useVerify, useVerifyEmailChange, useVerifyPasskey, useVerifyTotpFactor, verify, verifyEmailChange, type verifyEmailChangeResponse, type verifyEmailChangeResponse200, type verifyEmailChangeResponse400, type verifyEmailChangeResponse403, type verifyEmailChangeResponse409, type verifyEmailChangeResponse422, type verifyEmailChangeResponse429, type verifyEmailChangeResponseError, type verifyEmailChangeResponseSuccess, verifyPasskey, type verifyPasskeyResponse, type verifyPasskeyResponse200, type verifyPasskeyResponse400, type verifyPasskeyResponse403, type verifyPasskeyResponseError, type verifyPasskeyResponseSuccess, type verifyResponse, type verifyResponse200, type verifyResponse400, type verifyResponse403, type verifyResponseError, type verifyResponseSuccess, verifyTotpFactor, type verifyTotpFactorResponse, type verifyTotpFactorResponse200, type verifyTotpFactorResponse400, type verifyTotpFactorResponse403, type verifyTotpFactorResponseError, type verifyTotpFactorResponseSuccess };
