import { UseMutationOptions, QueryClient, UseMutationResult, UseQueryOptions, DataTag, QueryKey, DefinedInitialDataOptions, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryResult } from '@tanstack/react-query';

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 getCreateOrganizationApiKeyMutationOptions: <TError = CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof createOrganizationApiKey>>, TError, {
        data: CreateOrganizationApiKeyRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof createOrganizationApiKey>>, TError, {
    data: CreateOrganizationApiKeyRequest;
}, TContext>;
type CreateOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof createOrganizationApiKey>>>;
type CreateOrganizationApiKeyMutationBody = CreateOrganizationApiKeyRequest;
type CreateOrganizationApiKeyMutationError = CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422;
declare const useCreateOrganizationApiKey: <TError = CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof createOrganizationApiKey>>, TError, {
        data: CreateOrganizationApiKeyRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createOrganizationApiKey>>, TError, {
    data: CreateOrganizationApiKeyRequest;
}, TContext>;
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 getListOrganizationApiKeysQueryKey: (params?: ListOrganizationApiKeysParams) => readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]];
declare const getListOrganizationApiKeysQueryOptions: <TData = Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError = ListOrganizationApiKeys400 | ListOrganizationApiKeys403>(params?: ListOrganizationApiKeysParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type ListOrganizationApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationApiKeys>>>;
type ListOrganizationApiKeysQueryError = ListOrganizationApiKeys400 | ListOrganizationApiKeys403;
declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError = ListOrganizationApiKeys400 | ListOrganizationApiKeys403>(params: undefined | ListOrganizationApiKeysParams, options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError, Awaited<ReturnType<typeof listOrganizationApiKeys>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError = ListOrganizationApiKeys400 | ListOrganizationApiKeys403>(params?: ListOrganizationApiKeysParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError, Awaited<ReturnType<typeof listOrganizationApiKeys>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError = ListOrganizationApiKeys400 | ListOrganizationApiKeys403>(params?: ListOrganizationApiKeysParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getListOrganizationApiKeyPermissionsQueryKey: (params?: ListOrganizationApiKeyPermissionsParams) => readonly ["https://api.workos.com/_widgets/ApiKeys/permissions", ...ListOrganizationApiKeyPermissionsParams[]];
declare const getListOrganizationApiKeyPermissionsQueryOptions: <TData = Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError = ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type ListOrganizationApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>>;
type ListOrganizationApiKeyPermissionsQueryError = ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403;
declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError = ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>(params: undefined | ListOrganizationApiKeyPermissionsParams, options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError, Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError = ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError, Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError = ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getDeleteOrganizationApiKeyMutationOptions: <TError = DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationApiKey>>, TError, {
        apiKeyId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationApiKey>>, TError, {
    apiKeyId: string;
}, TContext>;
type DeleteOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganizationApiKey>>>;
type DeleteOrganizationApiKeyMutationError = DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404;
declare const useDeleteOrganizationApiKey: <TError = DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationApiKey>>, TError, {
        apiKeyId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteOrganizationApiKey>>, TError, {
    apiKeyId: string;
}, TContext>;
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 getDeleteDataInstallationMutationOptions: <TError = DeleteDataInstallation403 | DeleteDataInstallation404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteDataInstallation>>, TError, {
        installationId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteDataInstallation>>, TError, {
    installationId: string;
}, TContext>;
type DeleteDataInstallationMutationResult = NonNullable<Awaited<ReturnType<typeof deleteDataInstallation>>>;
type DeleteDataInstallationMutationError = DeleteDataInstallation403 | DeleteDataInstallation404;
declare const useDeleteDataInstallation: <TError = DeleteDataInstallation403 | DeleteDataInstallation404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteDataInstallation>>, TError, {
        installationId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteDataInstallation>>, TError, {
    installationId: string;
}, TContext>;
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 getMyDataIntegrationsQueryKey: () => readonly ["https://api.workos.com/_widgets/DataIntegrations/mine"];
declare const getMyDataIntegrationsQueryOptions: <TData = Awaited<ReturnType<typeof myDataIntegrations>>, TError = MyDataIntegrations403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof myDataIntegrations>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof myDataIntegrations>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type MyDataIntegrationsQueryResult = NonNullable<Awaited<ReturnType<typeof myDataIntegrations>>>;
type MyDataIntegrationsQueryError = MyDataIntegrations403;
declare function useMyDataIntegrations<TData = Awaited<ReturnType<typeof myDataIntegrations>>, TError = MyDataIntegrations403>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof myDataIntegrations>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof myDataIntegrations>>, TError, Awaited<ReturnType<typeof myDataIntegrations>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useMyDataIntegrations<TData = Awaited<ReturnType<typeof myDataIntegrations>>, TError = MyDataIntegrations403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof myDataIntegrations>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof myDataIntegrations>>, TError, Awaited<ReturnType<typeof myDataIntegrations>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useMyDataIntegrations<TData = Awaited<ReturnType<typeof myDataIntegrations>>, TError = MyDataIntegrations403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof myDataIntegrations>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getGetDataInstallationAuthorizationStatusQueryKey: (dataIntegrationId: string, state: string) => readonly [`https://api.workos.com/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
declare const getGetDataInstallationAuthorizationStatusQueryOptions: <TData = Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError = GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>(dataIntegrationId: string, state: string, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type GetDataInstallationAuthorizationStatusQueryResult = NonNullable<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>>;
type GetDataInstallationAuthorizationStatusQueryError = GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404;
declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError = GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>(dataIntegrationId: string, state: string, options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError, Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError = GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>(dataIntegrationId: string, state: string, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError, Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError = GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>(dataIntegrationId: string, state: string, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getGetDataIntegrationAuthorizeUrlQueryKey: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`https://api.workos.com/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]];
declare const getGetDataIntegrationAuthorizeUrlQueryOptions: <TData = Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError = GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type GetDataIntegrationAuthorizeUrlQueryResult = NonNullable<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>>;
type GetDataIntegrationAuthorizeUrlQueryError = GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404;
declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError = GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>(slug: string, params: undefined | GetDataIntegrationAuthorizeUrlParams, options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError, Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError = GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError, Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError = GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getCreateUserApiKeyMutationOptions: <TError = CreateUserApiKey400 | CreateUserApiKey403 | CreateUserApiKey404 | CreateUserApiKey422, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof createUserApiKey>>, TError, {
        data: CreateUserApiKeyRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof createUserApiKey>>, TError, {
    data: CreateUserApiKeyRequest;
}, TContext>;
type CreateUserApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof createUserApiKey>>>;
type CreateUserApiKeyMutationBody = CreateUserApiKeyRequest;
type CreateUserApiKeyMutationError = CreateUserApiKey400 | CreateUserApiKey403 | CreateUserApiKey404 | CreateUserApiKey422;
declare const useCreateUserApiKey: <TError = CreateUserApiKey400 | CreateUserApiKey403 | CreateUserApiKey404 | CreateUserApiKey422, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof createUserApiKey>>, TError, {
        data: CreateUserApiKeyRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createUserApiKey>>, TError, {
    data: CreateUserApiKeyRequest;
}, TContext>;
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 getListUserApiKeysQueryKey: (params?: ListUserApiKeysParams) => readonly ["https://api.workos.com/_widgets/UserApiKeys/api-keys", ...ListUserApiKeysParams[]];
declare const getListUserApiKeysQueryOptions: <TData = Awaited<ReturnType<typeof listUserApiKeys>>, TError = ListUserApiKeys400 | ListUserApiKeys403>(params?: ListUserApiKeysParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeys>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeys>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type ListUserApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listUserApiKeys>>>;
type ListUserApiKeysQueryError = ListUserApiKeys400 | ListUserApiKeys403;
declare function useListUserApiKeys<TData = Awaited<ReturnType<typeof listUserApiKeys>>, TError = ListUserApiKeys400 | ListUserApiKeys403>(params: undefined | ListUserApiKeysParams, options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeys>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listUserApiKeys>>, TError, Awaited<ReturnType<typeof listUserApiKeys>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListUserApiKeys<TData = Awaited<ReturnType<typeof listUserApiKeys>>, TError = ListUserApiKeys400 | ListUserApiKeys403>(params?: ListUserApiKeysParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeys>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listUserApiKeys>>, TError, Awaited<ReturnType<typeof listUserApiKeys>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListUserApiKeys<TData = Awaited<ReturnType<typeof listUserApiKeys>>, TError = ListUserApiKeys400 | ListUserApiKeys403>(params?: ListUserApiKeysParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeys>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getListUserApiKeyPermissionsQueryKey: (params?: ListUserApiKeyPermissionsParams) => readonly ["https://api.workos.com/_widgets/UserApiKeys/permissions", ...ListUserApiKeyPermissionsParams[]];
declare const getListUserApiKeyPermissionsQueryOptions: <TData = Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError = ListUserApiKeyPermissions400 | ListUserApiKeyPermissions403>(params?: ListUserApiKeyPermissionsParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type ListUserApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<typeof listUserApiKeyPermissions>>>;
type ListUserApiKeyPermissionsQueryError = ListUserApiKeyPermissions400 | ListUserApiKeyPermissions403;
declare function useListUserApiKeyPermissions<TData = Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError = ListUserApiKeyPermissions400 | ListUserApiKeyPermissions403>(params: undefined | ListUserApiKeyPermissionsParams, options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError, Awaited<ReturnType<typeof listUserApiKeyPermissions>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListUserApiKeyPermissions<TData = Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError = ListUserApiKeyPermissions400 | ListUserApiKeyPermissions403>(params?: ListUserApiKeyPermissionsParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError, Awaited<ReturnType<typeof listUserApiKeyPermissions>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListUserApiKeyPermissions<TData = Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError = ListUserApiKeyPermissions400 | ListUserApiKeyPermissions403>(params?: ListUserApiKeyPermissionsParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserApiKeyPermissions>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getDeleteUserApiKeyMutationOptions: <TError = DeleteUserApiKey403 | DeleteUserApiKey404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteUserApiKey>>, TError, {
        apiKeyId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteUserApiKey>>, TError, {
    apiKeyId: string;
}, TContext>;
type DeleteUserApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof deleteUserApiKey>>>;
type DeleteUserApiKeyMutationError = DeleteUserApiKey403 | DeleteUserApiKey404;
declare const useDeleteUserApiKey: <TError = DeleteUserApiKey403 | DeleteUserApiKey404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteUserApiKey>>, TError, {
        apiKeyId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteUserApiKey>>, TError, {
    apiKeyId: string;
}, TContext>;
/**
 * 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 getInviteMemberMutationOptions: <TError = InviteMember400 | InviteMember403 | InviteMember404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof inviteMember>>, TError, {
        data: InviteMemberBody;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof inviteMember>>, TError, {
    data: InviteMemberBody;
}, TContext>;
type InviteMemberMutationResult = NonNullable<Awaited<ReturnType<typeof inviteMember>>>;
type InviteMemberMutationBody = InviteMemberBody;
type InviteMemberMutationError = InviteMember400 | InviteMember403 | InviteMember404;
declare const useInviteMember: <TError = InviteMember400 | InviteMember403 | InviteMember404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof inviteMember>>, TError, {
        data: InviteMemberBody;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof inviteMember>>, TError, {
    data: InviteMemberBody;
}, TContext>;
/**
 * 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 getRevokeInviteMutationOptions: <TError = RevokeInvite400 | RevokeInvite403 | RevokeInvite404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof revokeInvite>>, TError, {
        userId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof revokeInvite>>, TError, {
    userId: string;
}, TContext>;
type RevokeInviteMutationResult = NonNullable<Awaited<ReturnType<typeof revokeInvite>>>;
type RevokeInviteMutationError = RevokeInvite400 | RevokeInvite403 | RevokeInvite404;
declare const useRevokeInvite: <TError = RevokeInvite400 | RevokeInvite403 | RevokeInvite404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof revokeInvite>>, TError, {
        userId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof revokeInvite>>, TError, {
    userId: string;
}, TContext>;
/**
 * 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 getResendInviteMutationOptions: <TError = ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof resendInvite>>, TError, {
        userId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof resendInvite>>, TError, {
    userId: string;
}, TContext>;
type ResendInviteMutationResult = NonNullable<Awaited<ReturnType<typeof resendInvite>>>;
type ResendInviteMutationError = ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422;
declare const useResendInvite: <TError = ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof resendInvite>>, TError, {
        userId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof resendInvite>>, TError, {
    userId: string;
}, TContext>;
/**
 * 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 getMembersQueryKey: (params?: MembersParams) => readonly ["https://api.workos.com/_widgets/UserManagement/members", ...MembersParams[]];
declare const getMembersQueryOptions: <TData = Awaited<ReturnType<typeof members>>, TError = Members403 | Members404>(params?: MembersParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof members>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof members>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type MembersQueryResult = NonNullable<Awaited<ReturnType<typeof members>>>;
type MembersQueryError = Members403 | Members404;
declare function useMembers<TData = Awaited<ReturnType<typeof members>>, TError = Members403 | Members404>(params: undefined | MembersParams, options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof members>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof members>>, TError, Awaited<ReturnType<typeof members>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useMembers<TData = Awaited<ReturnType<typeof members>>, TError = Members403 | Members404>(params?: MembersParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof members>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof members>>, TError, Awaited<ReturnType<typeof members>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useMembers<TData = Awaited<ReturnType<typeof members>>, TError = Members403 | Members404>(params?: MembersParams, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof members>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
/**
 * 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 getRemoveMemberMutationOptions: <TError = RemoveMember400 | RemoveMember403 | RemoveMember404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof removeMember>>, TError, {
        userId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof removeMember>>, TError, {
    userId: string;
}, TContext>;
type RemoveMemberMutationResult = NonNullable<Awaited<ReturnType<typeof removeMember>>>;
type RemoveMemberMutationError = RemoveMember400 | RemoveMember403 | RemoveMember404;
declare const useRemoveMember: <TError = RemoveMember400 | RemoveMember403 | RemoveMember404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof removeMember>>, TError, {
        userId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof removeMember>>, TError, {
    userId: string;
}, TContext>;
/**
 * 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 getUpdateMemberMutationOptions: <TError = UpdateMember400 | UpdateMember403 | UpdateMember404 | UpdateMember422, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateMember>>, TError, {
        userId: string;
        data: UpdateMemberBody;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof updateMember>>, TError, {
    userId: string;
    data: UpdateMemberBody;
}, TContext>;
type UpdateMemberMutationResult = NonNullable<Awaited<ReturnType<typeof updateMember>>>;
type UpdateMemberMutationBody = UpdateMemberBody;
type UpdateMemberMutationError = UpdateMember400 | UpdateMember403 | UpdateMember404 | UpdateMember422;
declare const useUpdateMember: <TError = UpdateMember400 | UpdateMember403 | UpdateMember404 | UpdateMember422, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateMember>>, TError, {
        userId: string;
        data: UpdateMemberBody;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updateMember>>, TError, {
    userId: string;
    data: UpdateMemberBody;
}, TContext>;
/**
 * 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 getOrganizationsQueryKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/organizations"];
declare const getOrganizationsQueryOptions: <TData = Awaited<ReturnType<typeof organizations>>, TError = Organizations403 | Organizations404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof organizations>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof organizations>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type OrganizationsQueryResult = NonNullable<Awaited<ReturnType<typeof organizations>>>;
type OrganizationsQueryError = Organizations403 | Organizations404;
declare function useOrganizations<TData = Awaited<ReturnType<typeof organizations>>, TError = Organizations403 | Organizations404>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof organizations>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof organizations>>, TError, Awaited<ReturnType<typeof organizations>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useOrganizations<TData = Awaited<ReturnType<typeof organizations>>, TError = Organizations403 | Organizations404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof organizations>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof organizations>>, TError, Awaited<ReturnType<typeof organizations>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useOrganizations<TData = Awaited<ReturnType<typeof organizations>>, TError = Organizations403 | Organizations404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof organizations>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
/**
 * 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 getRolesQueryKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/roles"];
declare const getRolesQueryOptions: <TData = Awaited<ReturnType<typeof roles>>, TError = Roles403 | Roles404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof roles>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof roles>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type RolesQueryResult = NonNullable<Awaited<ReturnType<typeof roles>>>;
type RolesQueryError = Roles403 | Roles404;
declare function useRoles<TData = Awaited<ReturnType<typeof roles>>, TError = Roles403 | Roles404>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof roles>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof roles>>, TError, Awaited<ReturnType<typeof roles>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useRoles<TData = Awaited<ReturnType<typeof roles>>, TError = Roles403 | Roles404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof roles>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof roles>>, TError, Awaited<ReturnType<typeof roles>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useRoles<TData = Awaited<ReturnType<typeof roles>>, TError = Roles403 | Roles404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof roles>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
/**
 * 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 getRolesAndConfigQueryKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/roles-and-config"];
declare const getRolesAndConfigQueryOptions: <TData = Awaited<ReturnType<typeof rolesAndConfig>>, TError = RolesAndConfig403 | RolesAndConfig404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof rolesAndConfig>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof rolesAndConfig>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type RolesAndConfigQueryResult = NonNullable<Awaited<ReturnType<typeof rolesAndConfig>>>;
type RolesAndConfigQueryError = RolesAndConfig403 | RolesAndConfig404;
declare function useRolesAndConfig<TData = Awaited<ReturnType<typeof rolesAndConfig>>, TError = RolesAndConfig403 | RolesAndConfig404>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof rolesAndConfig>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof rolesAndConfig>>, TError, Awaited<ReturnType<typeof rolesAndConfig>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useRolesAndConfig<TData = Awaited<ReturnType<typeof rolesAndConfig>>, TError = RolesAndConfig403 | RolesAndConfig404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof rolesAndConfig>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof rolesAndConfig>>, TError, Awaited<ReturnType<typeof rolesAndConfig>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useRolesAndConfig<TData = Awaited<ReturnType<typeof rolesAndConfig>>, TError = RolesAndConfig403 | RolesAndConfig404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof rolesAndConfig>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
/**
 * 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 getAuthenticationInformationQueryKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/authentication-information"];
declare const getAuthenticationInformationQueryOptions: <TData = Awaited<ReturnType<typeof authenticationInformation>>, TError = AuthenticationInformation403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof authenticationInformation>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof authenticationInformation>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type AuthenticationInformationQueryResult = NonNullable<Awaited<ReturnType<typeof authenticationInformation>>>;
type AuthenticationInformationQueryError = AuthenticationInformation403;
declare function useAuthenticationInformation<TData = Awaited<ReturnType<typeof authenticationInformation>>, TError = AuthenticationInformation403>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof authenticationInformation>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof authenticationInformation>>, TError, Awaited<ReturnType<typeof authenticationInformation>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useAuthenticationInformation<TData = Awaited<ReturnType<typeof authenticationInformation>>, TError = AuthenticationInformation403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof authenticationInformation>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof authenticationInformation>>, TError, Awaited<ReturnType<typeof authenticationInformation>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useAuthenticationInformation<TData = Awaited<ReturnType<typeof authenticationInformation>>, TError = AuthenticationInformation403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof authenticationInformation>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
/**
 * 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 getCreatePasswordMutationOptions: <TError = CreatePassword400 | CreatePassword403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof createPassword>>, TError, {
        data: CreatePasswordRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof createPassword>>, TError, {
    data: CreatePasswordRequest;
}, TContext>;
type CreatePasswordMutationResult = NonNullable<Awaited<ReturnType<typeof createPassword>>>;
type CreatePasswordMutationBody = CreatePasswordRequest;
type CreatePasswordMutationError = CreatePassword400 | CreatePassword403;
declare const useCreatePassword: <TError = CreatePassword400 | CreatePassword403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof createPassword>>, TError, {
        data: CreatePasswordRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createPassword>>, TError, {
    data: CreatePasswordRequest;
}, TContext>;
/**
 * 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 getCreateTotpFactorMutationOptions: <TError = CreateTotpFactor400 | CreateTotpFactor403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof createTotpFactor>>, TError, void, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof createTotpFactor>>, TError, void, TContext>;
type CreateTotpFactorMutationResult = NonNullable<Awaited<ReturnType<typeof createTotpFactor>>>;
type CreateTotpFactorMutationError = CreateTotpFactor400 | CreateTotpFactor403;
declare const useCreateTotpFactor: <TError = CreateTotpFactor400 | CreateTotpFactor403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof createTotpFactor>>, TError, void, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createTotpFactor>>, TError, void, TContext>;
/**
 * 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 getMeQueryKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/me"];
declare const getMeQueryOptions: <TData = Awaited<ReturnType<typeof me>>, TError = Me403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof me>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof me>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type MeQueryResult = NonNullable<Awaited<ReturnType<typeof me>>>;
type MeQueryError = Me403;
declare function useMe<TData = Awaited<ReturnType<typeof me>>, TError = Me403>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof me>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof me>>, TError, Awaited<ReturnType<typeof me>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useMe<TData = Awaited<ReturnType<typeof me>>, TError = Me403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof me>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof me>>, TError, Awaited<ReturnType<typeof me>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useMe<TData = Awaited<ReturnType<typeof me>>, TError = Me403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof me>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
/**
 * 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 getUpdateMeMutationOptions: <TError = UpdateMe400 | UpdateMe403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateMe>>, TError, {
        data: UpdateMeBody;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof updateMe>>, TError, {
    data: UpdateMeBody;
}, TContext>;
type UpdateMeMutationResult = NonNullable<Awaited<ReturnType<typeof updateMe>>>;
type UpdateMeMutationBody = UpdateMeBody;
type UpdateMeMutationError = UpdateMe400 | UpdateMe403;
declare const useUpdateMe: <TError = UpdateMe400 | UpdateMe403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateMe>>, TError, {
        data: UpdateMeBody;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updateMe>>, TError, {
    data: UpdateMeBody;
}, TContext>;
/**
 * 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 getRegisterPasskeyMutationOptions: <TError = RegisterPasskey400 | RegisterPasskey403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof registerPasskey>>, TError, void, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof registerPasskey>>, TError, void, TContext>;
type RegisterPasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof registerPasskey>>>;
type RegisterPasskeyMutationError = RegisterPasskey400 | RegisterPasskey403;
declare const useRegisterPasskey: <TError = RegisterPasskey400 | RegisterPasskey403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof registerPasskey>>, TError, void, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof registerPasskey>>, TError, void, TContext>;
/**
 * 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 getVerifyPasskeyMutationOptions: <TError = VerifyPasskey400 | VerifyPasskey403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof verifyPasskey>>, TError, {
        data: VerifyPasskeyRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof verifyPasskey>>, TError, {
    data: VerifyPasskeyRequest;
}, TContext>;
type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof verifyPasskey>>>;
type VerifyPasskeyMutationBody = VerifyPasskeyRequest;
type VerifyPasskeyMutationError = VerifyPasskey400 | VerifyPasskey403;
declare const useVerifyPasskey: <TError = VerifyPasskey400 | VerifyPasskey403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof verifyPasskey>>, TError, {
        data: VerifyPasskeyRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof verifyPasskey>>, TError, {
    data: VerifyPasskeyRequest;
}, TContext>;
/**
 * 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 getDeletePasskeyMutationOptions: <TError = DeletePasskey400 | DeletePasskey403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePasskey>>, TError, {
        passkeyId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof deletePasskey>>, TError, {
    passkeyId: string;
}, TContext>;
type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof deletePasskey>>>;
type DeletePasskeyMutationError = DeletePasskey400 | DeletePasskey403;
declare const useDeletePasskey: <TError = DeletePasskey400 | DeletePasskey403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePasskey>>, TError, {
        passkeyId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deletePasskey>>, TError, {
    passkeyId: string;
}, TContext>;
/**
 * 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 getSendEmailChangeMutationOptions: <TError = SendEmailChange400 | SendEmailChange403 | SendEmailChange409 | SendEmailChange422 | SendEmailChange429, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof sendEmailChange>>, TError, {
        data: SendEmailChangeRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof sendEmailChange>>, TError, {
    data: SendEmailChangeRequest;
}, TContext>;
type SendEmailChangeMutationResult = NonNullable<Awaited<ReturnType<typeof sendEmailChange>>>;
type SendEmailChangeMutationBody = SendEmailChangeRequest;
type SendEmailChangeMutationError = SendEmailChange400 | SendEmailChange403 | SendEmailChange409 | SendEmailChange422 | SendEmailChange429;
declare const useSendEmailChange: <TError = SendEmailChange400 | SendEmailChange403 | SendEmailChange409 | SendEmailChange422 | SendEmailChange429, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof sendEmailChange>>, TError, {
        data: SendEmailChangeRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof sendEmailChange>>, TError, {
    data: SendEmailChangeRequest;
}, TContext>;
/**
 * 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 getSendVerificationMutationOptions: <TError = SendVerification400 | SendVerification403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof sendVerification>>, TError, void, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof sendVerification>>, TError, void, TContext>;
type SendVerificationMutationResult = NonNullable<Awaited<ReturnType<typeof sendVerification>>>;
type SendVerificationMutationError = SendVerification400 | SendVerification403;
declare const useSendVerification: <TError = SendVerification400 | SendVerification403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof sendVerification>>, TError, void, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof sendVerification>>, TError, void, TContext>;
/**
 * 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 getSessionsQueryKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/sessions"];
declare const getSessionsQueryOptions: <TData = Awaited<ReturnType<typeof sessions>>, TError = Sessions403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof sessions>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof sessions>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type SessionsQueryResult = NonNullable<Awaited<ReturnType<typeof sessions>>>;
type SessionsQueryError = Sessions403;
declare function useSessions<TData = Awaited<ReturnType<typeof sessions>>, TError = Sessions403>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof sessions>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof sessions>>, TError, Awaited<ReturnType<typeof sessions>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useSessions<TData = Awaited<ReturnType<typeof sessions>>, TError = Sessions403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof sessions>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof sessions>>, TError, Awaited<ReturnType<typeof sessions>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useSessions<TData = Awaited<ReturnType<typeof sessions>>, TError = Sessions403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof sessions>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
/**
 * 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 getRevokeAllSessionsMutationOptions: <TError = RevokeAllSessions400 | RevokeAllSessions403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof revokeAllSessions>>, TError, {
        data: RevokeAllSessionsRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof revokeAllSessions>>, TError, {
    data: RevokeAllSessionsRequest;
}, TContext>;
type RevokeAllSessionsMutationResult = NonNullable<Awaited<ReturnType<typeof revokeAllSessions>>>;
type RevokeAllSessionsMutationBody = RevokeAllSessionsRequest;
type RevokeAllSessionsMutationError = RevokeAllSessions400 | RevokeAllSessions403;
declare const useRevokeAllSessions: <TError = RevokeAllSessions400 | RevokeAllSessions403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof revokeAllSessions>>, TError, {
        data: RevokeAllSessionsRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof revokeAllSessions>>, TError, {
    data: RevokeAllSessionsRequest;
}, TContext>;
/**
 * 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 getRevokeSessionMutationOptions: <TError = RevokeSession400 | RevokeSession403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof revokeSession>>, TError, {
        sessionId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof revokeSession>>, TError, {
    sessionId: string;
}, TContext>;
type RevokeSessionMutationResult = NonNullable<Awaited<ReturnType<typeof revokeSession>>>;
type RevokeSessionMutationError = RevokeSession400 | RevokeSession403;
declare const useRevokeSession: <TError = RevokeSession400 | RevokeSession403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof revokeSession>>, TError, {
        sessionId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof revokeSession>>, TError, {
    sessionId: string;
}, TContext>;
/**
 * 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 getDeleteTotpFactorsMutationOptions: <TError = DeleteTotpFactors400 | DeleteTotpFactors403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteTotpFactors>>, TError, void, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteTotpFactors>>, TError, void, TContext>;
type DeleteTotpFactorsMutationResult = NonNullable<Awaited<ReturnType<typeof deleteTotpFactors>>>;
type DeleteTotpFactorsMutationError = DeleteTotpFactors400 | DeleteTotpFactors403;
declare const useDeleteTotpFactors: <TError = DeleteTotpFactors400 | DeleteTotpFactors403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteTotpFactors>>, TError, void, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteTotpFactors>>, TError, void, TContext>;
/**
 * 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 getUpdatePasswordMutationOptions: <TError = UpdatePassword400 | UpdatePassword403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof updatePassword>>, TError, {
        data: UpdatePasswordRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof updatePassword>>, TError, {
    data: UpdatePasswordRequest;
}, TContext>;
type UpdatePasswordMutationResult = NonNullable<Awaited<ReturnType<typeof updatePassword>>>;
type UpdatePasswordMutationBody = UpdatePasswordRequest;
type UpdatePasswordMutationError = UpdatePassword400 | UpdatePassword403;
declare const useUpdatePassword: <TError = UpdatePassword400 | UpdatePassword403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof updatePassword>>, TError, {
        data: UpdatePasswordRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updatePassword>>, TError, {
    data: UpdatePasswordRequest;
}, TContext>;
/**
 * 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 getVerifyMutationOptions: <TError = Verify400 | Verify403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof verify>>, TError, {
        data: VerifyRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof verify>>, TError, {
    data: VerifyRequest;
}, TContext>;
type VerifyMutationResult = NonNullable<Awaited<ReturnType<typeof verify>>>;
type VerifyMutationBody = VerifyRequest;
type VerifyMutationError = Verify400 | Verify403;
declare const useVerify: <TError = Verify400 | Verify403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof verify>>, TError, {
        data: VerifyRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof verify>>, TError, {
    data: VerifyRequest;
}, TContext>;
/**
 * 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 getVerifyEmailChangeMutationOptions: <TError = VerifyEmailChange400 | VerifyEmailChange403 | VerifyEmailChange409 | VerifyEmailChange422 | VerifyEmailChange429, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof verifyEmailChange>>, TError, {
        data: VerifyEmailChangeRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof verifyEmailChange>>, TError, {
    data: VerifyEmailChangeRequest;
}, TContext>;
type VerifyEmailChangeMutationResult = NonNullable<Awaited<ReturnType<typeof verifyEmailChange>>>;
type VerifyEmailChangeMutationBody = VerifyEmailChangeRequest;
type VerifyEmailChangeMutationError = VerifyEmailChange400 | VerifyEmailChange403 | VerifyEmailChange409 | VerifyEmailChange422 | VerifyEmailChange429;
declare const useVerifyEmailChange: <TError = VerifyEmailChange400 | VerifyEmailChange403 | VerifyEmailChange409 | VerifyEmailChange422 | VerifyEmailChange429, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof verifyEmailChange>>, TError, {
        data: VerifyEmailChangeRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof verifyEmailChange>>, TError, {
    data: VerifyEmailChangeRequest;
}, TContext>;
/**
 * 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 getVerifyTotpFactorMutationOptions: <TError = VerifyTotpFactor400 | VerifyTotpFactor403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof verifyTotpFactor>>, TError, {
        data: VerifyTotpFactorRequest;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof verifyTotpFactor>>, TError, {
    data: VerifyTotpFactorRequest;
}, TContext>;
type VerifyTotpFactorMutationResult = NonNullable<Awaited<ReturnType<typeof verifyTotpFactor>>>;
type VerifyTotpFactorMutationBody = VerifyTotpFactorRequest;
type VerifyTotpFactorMutationError = VerifyTotpFactor400 | VerifyTotpFactor403;
declare const useVerifyTotpFactor: <TError = VerifyTotpFactor400 | VerifyTotpFactor403, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof verifyTotpFactor>>, TError, {
        data: VerifyTotpFactorRequest;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof verifyTotpFactor>>, TError, {
    data: VerifyTotpFactorRequest;
}, TContext>;
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 getGetAuditLogStreamQueryKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/audit-log-stream"];
declare const getGetAuditLogStreamQueryOptions: <TData = Awaited<ReturnType<typeof getAuditLogStream>>, TError = GetAuditLogStream403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAuditLogStream>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof getAuditLogStream>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type GetAuditLogStreamQueryResult = NonNullable<Awaited<ReturnType<typeof getAuditLogStream>>>;
type GetAuditLogStreamQueryError = GetAuditLogStream403;
declare function useGetAuditLogStream<TData = Awaited<ReturnType<typeof getAuditLogStream>>, TError = GetAuditLogStream403>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAuditLogStream>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getAuditLogStream>>, TError, Awaited<ReturnType<typeof getAuditLogStream>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useGetAuditLogStream<TData = Awaited<ReturnType<typeof getAuditLogStream>>, TError = GetAuditLogStream403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAuditLogStream>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getAuditLogStream>>, TError, Awaited<ReturnType<typeof getAuditLogStream>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useGetAuditLogStream<TData = Awaited<ReturnType<typeof getAuditLogStream>>, TError = GetAuditLogStream403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAuditLogStream>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getGenerateAdminPortalLinkMutationOptions: <TError = GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof generateAdminPortalLink>>, TError, {
        params: GenerateAdminPortalLinkParams;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof generateAdminPortalLink>>, TError, {
    params: GenerateAdminPortalLinkParams;
}, TContext>;
type GenerateAdminPortalLinkMutationResult = NonNullable<Awaited<ReturnType<typeof generateAdminPortalLink>>>;
type GenerateAdminPortalLinkMutationError = GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500;
declare const useGenerateAdminPortalLink: <TError = GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof generateAdminPortalLink>>, TError, {
        params: GenerateAdminPortalLinkParams;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof generateAdminPortalLink>>, TError, {
    params: GenerateAdminPortalLinkParams;
}, TContext>;
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 getListOrganizationDomainsQueryKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/organization-domains"];
declare const getListOrganizationDomainsQueryOptions: <TData = Awaited<ReturnType<typeof listOrganizationDomains>>, TError = ListOrganizationDomains403 | ListOrganizationDomains404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationDomains>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof listOrganizationDomains>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type ListOrganizationDomainsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationDomains>>>;
type ListOrganizationDomainsQueryError = ListOrganizationDomains403 | ListOrganizationDomains404;
declare function useListOrganizationDomains<TData = Awaited<ReturnType<typeof listOrganizationDomains>>, TError = ListOrganizationDomains403 | ListOrganizationDomains404>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationDomains>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationDomains>>, TError, Awaited<ReturnType<typeof listOrganizationDomains>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListOrganizationDomains<TData = Awaited<ReturnType<typeof listOrganizationDomains>>, TError = ListOrganizationDomains403 | ListOrganizationDomains404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationDomains>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationDomains>>, TError, Awaited<ReturnType<typeof listOrganizationDomains>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListOrganizationDomains<TData = Awaited<ReturnType<typeof listOrganizationDomains>>, TError = ListOrganizationDomains403 | ListOrganizationDomains404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizationDomains>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getDeleteOrganizationDomainMutationOptions: <TError = DeleteOrganizationDomain403 | DeleteOrganizationDomain404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationDomain>>, TError, {
        domainId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationDomain>>, TError, {
    domainId: string;
}, TContext>;
type DeleteOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganizationDomain>>>;
type DeleteOrganizationDomainMutationError = DeleteOrganizationDomain403 | DeleteOrganizationDomain404;
declare const useDeleteOrganizationDomain: <TError = DeleteOrganizationDomain403 | DeleteOrganizationDomain404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationDomain>>, TError, {
        domainId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteOrganizationDomain>>, TError, {
    domainId: string;
}, TContext>;
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 getReverifyOrganizationDomainMutationOptions: <TError = ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof reverifyOrganizationDomain>>, TError, {
        domainId: string;
    }, TContext>;
    fetch?: RequestInit;
}) => UseMutationOptions<Awaited<ReturnType<typeof reverifyOrganizationDomain>>, TError, {
    domainId: string;
}, TContext>;
type ReverifyOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof reverifyOrganizationDomain>>>;
type ReverifyOrganizationDomainMutationError = ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404;
declare const useReverifyOrganizationDomain: <TError = ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404, TContext = unknown>(options?: {
    mutation?: UseMutationOptions<Awaited<ReturnType<typeof reverifyOrganizationDomain>>, TError, {
        domainId: string;
    }, TContext>;
    fetch?: RequestInit;
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof reverifyOrganizationDomain>>, TError, {
    domainId: string;
}, TContext>;
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 getListSsoConnectionsQueryKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/sso-connections"];
declare const getListSsoConnectionsQueryOptions: <TData = Awaited<ReturnType<typeof listSsoConnections>>, TError = unknown>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listSsoConnections>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof listSsoConnections>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type ListSsoConnectionsQueryResult = NonNullable<Awaited<ReturnType<typeof listSsoConnections>>>;
type ListSsoConnectionsQueryError = unknown;
declare function useListSsoConnections<TData = Awaited<ReturnType<typeof listSsoConnections>>, TError = unknown>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listSsoConnections>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listSsoConnections>>, TError, Awaited<ReturnType<typeof listSsoConnections>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListSsoConnections<TData = Awaited<ReturnType<typeof listSsoConnections>>, TError = unknown>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listSsoConnections>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listSsoConnections>>, TError, Awaited<ReturnType<typeof listSsoConnections>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListSsoConnections<TData = Awaited<ReturnType<typeof listSsoConnections>>, TError = unknown>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listSsoConnections>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getListDirectoriesQueryKey: () => readonly ["https://api.workos.com/_widgets/directory-sync/directories"];
declare const getListDirectoriesQueryOptions: <TData = Awaited<ReturnType<typeof listDirectories>>, TError = ListDirectories403 | ListDirectories404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDirectories>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof listDirectories>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type ListDirectoriesQueryResult = NonNullable<Awaited<ReturnType<typeof listDirectories>>>;
type ListDirectoriesQueryError = ListDirectories403 | ListDirectories404;
declare function useListDirectories<TData = Awaited<ReturnType<typeof listDirectories>>, TError = ListDirectories403 | ListDirectories404>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDirectories>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listDirectories>>, TError, Awaited<ReturnType<typeof listDirectories>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListDirectories<TData = Awaited<ReturnType<typeof listDirectories>>, TError = ListDirectories403 | ListDirectories404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDirectories>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listDirectories>>, TError, Awaited<ReturnType<typeof listDirectories>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useListDirectories<TData = Awaited<ReturnType<typeof listDirectories>>, TError = ListDirectories403 | ListDirectories404>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDirectories>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
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 getGetDirectoryQueryKey: (directoryId: string) => readonly [`https://api.workos.com/_widgets/directory-sync/directories/${string}`];
declare const getGetDirectoryQueryOptions: <TData = Awaited<ReturnType<typeof getDirectory>>, TError = GetDirectory403 | GetDirectory404>(directoryId: string, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDirectory>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof getDirectory>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type GetDirectoryQueryResult = NonNullable<Awaited<ReturnType<typeof getDirectory>>>;
type GetDirectoryQueryError = GetDirectory403 | GetDirectory404;
declare function useGetDirectory<TData = Awaited<ReturnType<typeof getDirectory>>, TError = GetDirectory403 | GetDirectory404>(directoryId: string, options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDirectory>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getDirectory>>, TError, Awaited<ReturnType<typeof getDirectory>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useGetDirectory<TData = Awaited<ReturnType<typeof getDirectory>>, TError = GetDirectory403 | GetDirectory404>(directoryId: string, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDirectory>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getDirectory>>, TError, Awaited<ReturnType<typeof getDirectory>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useGetDirectory<TData = Awaited<ReturnType<typeof getDirectory>>, TError = GetDirectory403 | GetDirectory404>(directoryId: string, options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDirectory>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
/**
 * 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 getSettingsQueryKey: () => readonly ["https://api.workos.com/_widgets/settings"];
declare const getSettingsQueryOptions: <TData = Awaited<ReturnType<typeof settings>>, TError = Settings403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof settings>>, TError, TData>>;
    fetch?: RequestInit;
}) => UseQueryOptions<Awaited<ReturnType<typeof settings>>, TError, TData> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
type SettingsQueryResult = NonNullable<Awaited<ReturnType<typeof settings>>>;
type SettingsQueryError = Settings403;
declare function useSettings<TData = Awaited<ReturnType<typeof settings>>, TError = Settings403>(options: {
    query: Partial<UseQueryOptions<Awaited<ReturnType<typeof settings>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof settings>>, TError, Awaited<ReturnType<typeof settings>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useSettings<TData = Awaited<ReturnType<typeof settings>>, TError = Settings403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof settings>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof settings>>, TError, Awaited<ReturnType<typeof settings>>>, "initialData">;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};
declare function useSettings<TData = Awaited<ReturnType<typeof settings>>, TError = Settings403>(options?: {
    query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof settings>>, TError, TData>>;
    fetch?: RequestInit;
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
    queryKey: DataTag<QueryKey, TData, TError>;
};

export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionState, type ActiveSessionsResponse, type AuditLogStreamJSON, type AuditLogStreamState, type AuditLogStreamType, type AuthenticationInformation403, type AuthenticationInformationQueryError, 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 CreateOrganizationApiKeyMutationBody, type CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationBody, type CreatePasswordMutationError, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationError, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationFactor, type CreateUserApiKey400, type CreateUserApiKey400ErrorsItem, type CreateUserApiKey403, type CreateUserApiKey404, type CreateUserApiKey422, type CreateUserApiKey422ErrorsItem, type CreateUserApiKeyMutationBody, type CreateUserApiKeyMutationError, type CreateUserApiKeyMutationResult, type CreateUserApiKeyRequest, type CreateUserApiKeyResponse, type DataInstallation, type DataIntegration, type DataIntegrationsResponse, type DeleteDataInstallation200, type DeleteDataInstallation403, type DeleteDataInstallation404, type DeleteDataInstallationMutationError, type DeleteDataInstallationMutationResult, type DeleteOrganizationApiKey200, type DeleteOrganizationApiKey403, type DeleteOrganizationApiKey404, type DeleteOrganizationApiKeyMutationError, type DeleteOrganizationApiKeyMutationResult, type DeleteOrganizationDomain403, type DeleteOrganizationDomain404, type DeleteOrganizationDomainMutationError, type DeleteOrganizationDomainMutationResult, type DeletePasskey200, type DeletePasskey400, type DeletePasskey403, type DeletePasskeyMutationError, type DeletePasskeyMutationResult, type DeleteTotpFactors200, type DeleteTotpFactors400, type DeleteTotpFactors403, type DeleteTotpFactorsMutationError, type DeleteTotpFactorsMutationResult, type DeleteUserApiKey200, type DeleteUserApiKey403, type DeleteUserApiKey404, type DeleteUserApiKeyMutationError, type DeleteUserApiKeyMutationResult, type DirectoriesResponse, type Directory, type DirectoryMetadata, DirectoryState, DirectoryType, type DirectoryUsersMetadata, DomainVerificationNameServer, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationError, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type GetAuditLogStream200, type GetAuditLogStream403, type GetAuditLogStreamQueryError, type GetAuditLogStreamQueryResult, type GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryError, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlParams, type GetDataIntegrationAuthorizeUrlQueryError, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type GetDirectory403, type GetDirectory404, type GetDirectoryQueryError, type GetDirectoryQueryResult, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberBody, type InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, type InviteMemberResponse, type ListDirectories403, type ListDirectories404, type ListDirectoriesQueryError, type ListDirectoriesQueryResult, type ListMetadata, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions400ErrorsItem, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryError, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys400ErrorsItem, type ListOrganizationApiKeys403, type ListOrganizationApiKeysParams, type ListOrganizationApiKeysQueryError, type ListOrganizationApiKeysQueryResult, type ListOrganizationApiKeysResponse, type ListOrganizationApiKeysResponseData, type ListOrganizationApiKeysResponseListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryError, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryError, type ListSsoConnectionsQueryResult, type ListUserApiKeyPermission, type ListUserApiKeyPermissions400, type ListUserApiKeyPermissions400ErrorsItem, type ListUserApiKeyPermissions403, type ListUserApiKeyPermissionsParams, type ListUserApiKeyPermissionsQueryError, type ListUserApiKeyPermissionsQueryResult, type ListUserApiKeyPermissionsResponse, type ListUserApiKeyPermissionsResponseListMetadata, type ListUserApiKeys400, type ListUserApiKeys400ErrorsItem, type ListUserApiKeys403, type ListUserApiKeysParams, type ListUserApiKeysQueryError, type ListUserApiKeysQueryResult, type ListUserApiKeysResponse, type ListUserApiKeysResponseData, type ListUserApiKeysResponseDataOwner, type ListUserApiKeysResponseListMetadata, type Me, type Me403, type MeOauthProfiles, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberRole, type MemberRoles, MemberStatus, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type MembersResponse, type MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, OidcSessionState, type OrganizationDomain, OrganizationDomainState, type OrganizationInfo, type Organizations403, type Organizations404, type OrganizationsQueryError, type OrganizationsQueryResult, type OrganizationsResponse, type RegisterPasskey400, type RegisterPasskey403, type RegisterPasskeyMutationError, type RegisterPasskeyMutationResult, type RegisterPasskeyResponse, type RegisterPasskeyResponseOptions, type RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationError, type RemoveMemberMutationResult, type RemoveMemberResponse, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInvite422, type ResendInviteMutationError, type ResendInviteMutationResult, type ResendInviteResponse, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationError, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationBody, type RevokeAllSessionsMutationError, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationError, type RevokeInviteMutationResult, type RevokeMemberResponse, type RevokeSession200, type RevokeSession400, type RevokeSession403, type RevokeSessionMutationError, type RevokeSessionMutationResult, type Roles403, type Roles404, type RolesAndConfig403, type RolesAndConfig404, type RolesAndConfigQueryError, type RolesAndConfigQueryResult, type RolesAndConfigResponse, type RolesQueryError, type RolesQueryResult, SamlSessionState, type SendEmailChange400, type SendEmailChange403, type SendEmailChange409, type SendEmailChange422, type SendEmailChange429, type SendEmailChangeMutationBody, type SendEmailChangeMutationError, type SendEmailChangeMutationResult, type SendEmailChangeRequest, type SendEmailChangeResponse, type SendVerification400, type SendVerification403, type SendVerificationMutationError, type SendVerificationMutationResult, type SendVerificationResponse, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type Settings403, type SettingsQueryError, type SettingsQueryResult, type SettingsResponse, type SsoConnection, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeBody, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberBody, type UpdateMemberMutationBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdateMemberResponse, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationBody, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyEmailChange400, type VerifyEmailChange403, type VerifyEmailChange409, type VerifyEmailChange422, type VerifyEmailChange429, type VerifyEmailChangeMutationBody, type VerifyEmailChangeMutationError, type VerifyEmailChangeMutationResult, type VerifyEmailChangeRequest, type VerifyEmailChangeResponse, type VerifyMutationBody, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationBody, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationBody, type VerifyTotpFactorMutationError, 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, getAuthenticationInformationQueryKey, getAuthenticationInformationQueryOptions, getAuthenticationInformationUrl, getCreateOrganizationApiKeyMutationOptions, getCreateOrganizationApiKeyUrl, getCreatePasswordMutationOptions, getCreatePasswordUrl, getCreateTotpFactorMutationOptions, getCreateTotpFactorUrl, getCreateUserApiKeyMutationOptions, 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, getDeleteDataInstallationMutationOptions, getDeleteDataInstallationUrl, getDeleteOrganizationApiKeyMutationOptions, getDeleteOrganizationApiKeyUrl, getDeleteOrganizationDomainMutationOptions, getDeleteOrganizationDomainUrl, getDeletePasskeyMutationOptions, getDeletePasskeyUrl, getDeleteTotpFactorsMutationOptions, getDeleteTotpFactorsUrl, getDeleteUserApiKeyMutationOptions, getDeleteUserApiKeyUrl, getDirectory, type getDirectoryResponse, type getDirectoryResponse200, type getDirectoryResponse403, type getDirectoryResponse404, type getDirectoryResponseError, type getDirectoryResponseSuccess, getGenerateAdminPortalLinkMutationOptions, getGenerateAdminPortalLinkUrl, getGetAuditLogStreamQueryKey, getGetAuditLogStreamQueryOptions, getGetAuditLogStreamUrl, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataInstallationAuthorizationStatusQueryOptions, getGetDataInstallationAuthorizationStatusUrl, getGetDataIntegrationAuthorizeUrlQueryKey, getGetDataIntegrationAuthorizeUrlQueryOptions, getGetDataIntegrationAuthorizeUrlUrl, getGetDirectoryQueryKey, getGetDirectoryQueryOptions, getGetDirectoryUrl, getInviteMemberMutationOptions, getInviteMemberUrl, getListDirectoriesQueryKey, getListDirectoriesQueryOptions, getListDirectoriesUrl, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeyPermissionsQueryOptions, getListOrganizationApiKeyPermissionsUrl, getListOrganizationApiKeysQueryKey, getListOrganizationApiKeysQueryOptions, getListOrganizationApiKeysUrl, getListOrganizationDomainsQueryKey, getListOrganizationDomainsQueryOptions, getListOrganizationDomainsUrl, getListSsoConnectionsQueryKey, getListSsoConnectionsQueryOptions, getListSsoConnectionsUrl, getListUserApiKeyPermissionsQueryKey, getListUserApiKeyPermissionsQueryOptions, getListUserApiKeyPermissionsUrl, getListUserApiKeysQueryKey, getListUserApiKeysQueryOptions, getListUserApiKeysUrl, getMeQueryKey, getMeQueryOptions, getMeUrl, getMembersQueryKey, getMembersQueryOptions, getMembersUrl, getMyDataIntegrationsQueryKey, getMyDataIntegrationsQueryOptions, getMyDataIntegrationsUrl, getOrganizationsQueryKey, getOrganizationsQueryOptions, getOrganizationsUrl, getRegisterPasskeyMutationOptions, getRegisterPasskeyUrl, getRemoveMemberMutationOptions, getRemoveMemberUrl, getResendInviteMutationOptions, getResendInviteUrl, getReverifyOrganizationDomainMutationOptions, getReverifyOrganizationDomainUrl, getRevokeAllSessionsMutationOptions, getRevokeAllSessionsUrl, getRevokeInviteMutationOptions, getRevokeInviteUrl, getRevokeSessionMutationOptions, getRevokeSessionUrl, getRolesAndConfigQueryKey, getRolesAndConfigQueryOptions, getRolesAndConfigUrl, getRolesQueryKey, getRolesQueryOptions, getRolesUrl, getSendEmailChangeMutationOptions, getSendEmailChangeUrl, getSendVerificationMutationOptions, getSendVerificationUrl, getSessionsQueryKey, getSessionsQueryOptions, getSessionsUrl, getSettingsQueryKey, getSettingsQueryOptions, getSettingsUrl, getUpdateMeMutationOptions, getUpdateMeUrl, getUpdateMemberMutationOptions, getUpdateMemberUrl, getUpdatePasswordMutationOptions, getUpdatePasswordUrl, getVerifyEmailChangeMutationOptions, getVerifyEmailChangeUrl, getVerifyMutationOptions, getVerifyPasskeyMutationOptions, getVerifyPasskeyUrl, getVerifyTotpFactorMutationOptions, 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 };
