import { UseMutationOptions, QueryClient, UseMutationResult, UseQueryOptions, DataTag, QueryKey, DefinedInitialDataOptions, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryResult } from '@tanstack/react-query'; import { BodyType, ErrorType } from './widgets-api-client.js'; 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 InviteMemberInput = { 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 UpdateMemberInput = { 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 UpdateMeInput = { 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; }; declare const useCreateOrganizationApiKeyHook: () => (createOrganizationApiKeyRequest: BodyType, signal?: AbortSignal) => Promise; declare const useCreateOrganizationApiKeyMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type CreateOrganizationApiKeyMutationResult = NonNullable>>>; type CreateOrganizationApiKeyMutationBody = BodyType; type CreateOrganizationApiKeyMutationError = ErrorType; declare const useCreateOrganizationApiKey: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; declare const useListOrganizationApiKeysHook: () => (params?: ListOrganizationApiKeysParams, signal?: AbortSignal) => Promise; declare const getListOrganizationApiKeysQueryKey: (params?: ListOrganizationApiKeysParams) => readonly ["/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]]; declare const useListOrganizationApiKeysQueryOptions: >>, TError = ErrorType>(params?: ListOrganizationApiKeysParams, options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type ListOrganizationApiKeysQueryResult = NonNullable>>>; type ListOrganizationApiKeysQueryError = ErrorType; declare function useListOrganizationApiKeys>>, TError = ErrorType>(params: undefined | ListOrganizationApiKeysParams, options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useListOrganizationApiKeys>>, TError = ErrorType>(params?: ListOrganizationApiKeysParams, options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useListOrganizationApiKeys>>, TError = ErrorType>(params?: ListOrganizationApiKeysParams, options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useListOrganizationApiKeyPermissionsHook: () => (params?: ListOrganizationApiKeyPermissionsParams, signal?: AbortSignal) => Promise; declare const getListOrganizationApiKeyPermissionsQueryKey: (params?: ListOrganizationApiKeyPermissionsParams) => readonly ["/_widgets/ApiKeys/permissions", ...ListOrganizationApiKeyPermissionsParams[]]; declare const useListOrganizationApiKeyPermissionsQueryOptions: >>, TError = ErrorType>(params?: ListOrganizationApiKeyPermissionsParams, options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type ListOrganizationApiKeyPermissionsQueryResult = NonNullable>>>; type ListOrganizationApiKeyPermissionsQueryError = ErrorType; declare function useListOrganizationApiKeyPermissions>>, TError = ErrorType>(params: undefined | ListOrganizationApiKeyPermissionsParams, options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useListOrganizationApiKeyPermissions>>, TError = ErrorType>(params?: ListOrganizationApiKeyPermissionsParams, options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useListOrganizationApiKeyPermissions>>, TError = ErrorType>(params?: ListOrganizationApiKeyPermissionsParams, options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useDeleteOrganizationApiKeyHook: () => (apiKeyId: string, signal?: AbortSignal) => Promise; declare const useDeleteOrganizationApiKeyMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { apiKeyId: string; }, TContext>; }) => UseMutationOptions>>, TError, { apiKeyId: string; }, TContext>; type DeleteOrganizationApiKeyMutationResult = NonNullable>>>; type DeleteOrganizationApiKeyMutationError = ErrorType; declare const useDeleteOrganizationApiKey: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { apiKeyId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { apiKeyId: string; }, TContext>; declare const useDeleteDataInstallationHook: () => (installationId: string, signal?: AbortSignal) => Promise; declare const useDeleteDataInstallationMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { installationId: string; }, TContext>; }) => UseMutationOptions>>, TError, { installationId: string; }, TContext>; type DeleteDataInstallationMutationResult = NonNullable>>>; type DeleteDataInstallationMutationError = ErrorType; declare const useDeleteDataInstallation: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { installationId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { installationId: string; }, TContext>; declare const useMyDataIntegrationsHook: () => (signal?: AbortSignal) => Promise; declare const getMyDataIntegrationsQueryKey: () => readonly ["/_widgets/DataIntegrations/mine"]; declare const useMyDataIntegrationsQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type MyDataIntegrationsQueryResult = NonNullable>>>; type MyDataIntegrationsQueryError = ErrorType; declare function useMyDataIntegrations>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useMyDataIntegrations>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useMyDataIntegrations>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useGetDataInstallationAuthorizationStatusHook: () => (dataIntegrationId: string, state: string, signal?: AbortSignal) => Promise; declare const getGetDataInstallationAuthorizationStatusQueryKey: (dataIntegrationId: string, state: string) => readonly [`/_widgets/DataIntegrations/${string}/authorization-status/${string}`]; declare const useGetDataInstallationAuthorizationStatusQueryOptions: >>, TError = ErrorType>(dataIntegrationId: string, state: string, options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type GetDataInstallationAuthorizationStatusQueryResult = NonNullable>>>; type GetDataInstallationAuthorizationStatusQueryError = ErrorType; declare function useGetDataInstallationAuthorizationStatus>>, TError = ErrorType>(dataIntegrationId: string, state: string, options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useGetDataInstallationAuthorizationStatus>>, TError = ErrorType>(dataIntegrationId: string, state: string, options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useGetDataInstallationAuthorizationStatus>>, TError = ErrorType>(dataIntegrationId: string, state: string, options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useGetDataIntegrationAuthorizeUrlHook: () => (slug: string, params?: GetDataIntegrationAuthorizeUrlParams, signal?: AbortSignal) => Promise; declare const getGetDataIntegrationAuthorizeUrlQueryKey: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]]; declare const useGetDataIntegrationAuthorizeUrlQueryOptions: >>, TError = ErrorType>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type GetDataIntegrationAuthorizeUrlQueryResult = NonNullable>>>; type GetDataIntegrationAuthorizeUrlQueryError = ErrorType; declare function useGetDataIntegrationAuthorizeUrl>>, TError = ErrorType>(slug: string, params: undefined | GetDataIntegrationAuthorizeUrlParams, options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useGetDataIntegrationAuthorizeUrl>>, TError = ErrorType>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useGetDataIntegrationAuthorizeUrl>>, TError = ErrorType>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useCreateUserApiKeyHook: () => (createUserApiKeyRequest: BodyType, signal?: AbortSignal) => Promise; declare const useCreateUserApiKeyMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type CreateUserApiKeyMutationResult = NonNullable>>>; type CreateUserApiKeyMutationBody = BodyType; type CreateUserApiKeyMutationError = ErrorType; declare const useCreateUserApiKey: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; declare const useListUserApiKeysHook: () => (params?: ListUserApiKeysParams, signal?: AbortSignal) => Promise; declare const getListUserApiKeysQueryKey: (params?: ListUserApiKeysParams) => readonly ["/_widgets/UserApiKeys/api-keys", ...ListUserApiKeysParams[]]; declare const useListUserApiKeysQueryOptions: >>, TError = ErrorType>(params?: ListUserApiKeysParams, options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type ListUserApiKeysQueryResult = NonNullable>>>; type ListUserApiKeysQueryError = ErrorType; declare function useListUserApiKeys>>, TError = ErrorType>(params: undefined | ListUserApiKeysParams, options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useListUserApiKeys>>, TError = ErrorType>(params?: ListUserApiKeysParams, options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useListUserApiKeys>>, TError = ErrorType>(params?: ListUserApiKeysParams, options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useListUserApiKeyPermissionsHook: () => (params?: ListUserApiKeyPermissionsParams, signal?: AbortSignal) => Promise; declare const getListUserApiKeyPermissionsQueryKey: (params?: ListUserApiKeyPermissionsParams) => readonly ["/_widgets/UserApiKeys/permissions", ...ListUserApiKeyPermissionsParams[]]; declare const useListUserApiKeyPermissionsQueryOptions: >>, TError = ErrorType>(params?: ListUserApiKeyPermissionsParams, options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type ListUserApiKeyPermissionsQueryResult = NonNullable>>>; type ListUserApiKeyPermissionsQueryError = ErrorType; declare function useListUserApiKeyPermissions>>, TError = ErrorType>(params: undefined | ListUserApiKeyPermissionsParams, options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useListUserApiKeyPermissions>>, TError = ErrorType>(params?: ListUserApiKeyPermissionsParams, options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useListUserApiKeyPermissions>>, TError = ErrorType>(params?: ListUserApiKeyPermissionsParams, options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useDeleteUserApiKeyHook: () => (apiKeyId: string, signal?: AbortSignal) => Promise; declare const useDeleteUserApiKeyMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { apiKeyId: string; }, TContext>; }) => UseMutationOptions>>, TError, { apiKeyId: string; }, TContext>; type DeleteUserApiKeyMutationResult = NonNullable>>>; type DeleteUserApiKeyMutationError = ErrorType; declare const useDeleteUserApiKey: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { apiKeyId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, 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. */ declare const useInviteMemberHook: () => (inviteMemberInput: BodyType, signal?: AbortSignal) => Promise; declare const useInviteMemberMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type InviteMemberMutationResult = NonNullable>>>; type InviteMemberMutationBody = BodyType; type InviteMemberMutationError = ErrorType; declare const useInviteMember: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; /** * Cancels a pending invitation for the specified user, preventing them from joining the organization via that invite link. */ declare const useRevokeInviteHook: () => (userId: string, signal?: AbortSignal) => Promise; declare const useRevokeInviteMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { userId: string; }, TContext>; }) => UseMutationOptions>>, TError, { userId: string; }, TContext>; type RevokeInviteMutationResult = NonNullable>>>; type RevokeInviteMutationError = ErrorType; declare const useRevokeInvite: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { userId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, 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. */ declare const useResendInviteHook: () => (userId: string, signal?: AbortSignal) => Promise; declare const useResendInviteMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { userId: string; }, TContext>; }) => UseMutationOptions>>, TError, { userId: string; }, TContext>; type ResendInviteMutationResult = NonNullable>>>; type ResendInviteMutationError = ErrorType; declare const useResendInvite: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { userId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, 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. */ declare const useMembersHook: () => (params?: MembersParams, signal?: AbortSignal) => Promise; declare const getMembersQueryKey: (params?: MembersParams) => readonly ["/_widgets/UserManagement/members", ...MembersParams[]]; declare const useMembersQueryOptions: >>, TError = ErrorType>(params?: MembersParams, options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type MembersQueryResult = NonNullable>>>; type MembersQueryError = ErrorType; declare function useMembers>>, TError = ErrorType>(params: undefined | MembersParams, options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useMembers>>, TError = ErrorType>(params?: MembersParams, options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useMembers>>, TError = ErrorType>(params?: MembersParams, options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; /** * Removes the specified user from the organization by revoking their membership. The user account itself is not deleted. */ declare const useRemoveMemberHook: () => (userId: string, signal?: AbortSignal) => Promise; declare const useRemoveMemberMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { userId: string; }, TContext>; }) => UseMutationOptions>>, TError, { userId: string; }, TContext>; type RemoveMemberMutationResult = NonNullable>>>; type RemoveMemberMutationError = ErrorType; declare const useRemoveMember: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { userId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { userId: string; }, TContext>; /** * Updates the specified member's organization membership, such as changing their assigned role. */ declare const useUpdateMemberHook: () => (userId: string, updateMemberInput: BodyType, signal?: AbortSignal) => Promise; declare const useUpdateMemberMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { userId: string; data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { userId: string; data: BodyType; }, TContext>; type UpdateMemberMutationResult = NonNullable>>>; type UpdateMemberMutationBody = BodyType; type UpdateMemberMutationError = ErrorType; declare const useUpdateMember: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { userId: string; data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { userId: string; data: BodyType; }, TContext>; /** * Returns the list of organizations the authenticated user is a member of. */ declare const useOrganizationsHook: () => (signal?: AbortSignal) => Promise; declare const getOrganizationsQueryKey: () => readonly ["/_widgets/UserManagement/organizations"]; declare const useOrganizationsQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type OrganizationsQueryResult = NonNullable>>>; type OrganizationsQueryError = ErrorType; declare function useOrganizations>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useOrganizations>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useOrganizations>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; /** * Returns the list of roles available in the organization that can be assigned to members. */ declare const useRolesHook: () => (signal?: AbortSignal) => Promise; declare const getRolesQueryKey: () => readonly ["/_widgets/UserManagement/roles"]; declare const useRolesQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type RolesQueryResult = NonNullable>>>; type RolesQueryError = ErrorType; declare function useRoles>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useRoles>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useRoles>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; /** * Returns the list of roles available in the organization along with the user management configuration, such as whether role assignment is enabled. */ declare const useRolesAndConfigHook: () => (signal?: AbortSignal) => Promise; declare const getRolesAndConfigQueryKey: () => readonly ["/_widgets/UserManagement/roles-and-config"]; declare const useRolesAndConfigQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type RolesAndConfigQueryResult = NonNullable>>>; type RolesAndConfigQueryError = ErrorType; declare function useRolesAndConfig>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useRolesAndConfig>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useRolesAndConfig>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; /** * Returns the authentication methods and MFA factors configured for the authenticated user, including enrolled TOTP factors and passkeys. */ declare const useAuthenticationInformationHook: () => (signal?: AbortSignal) => Promise; declare const getAuthenticationInformationQueryKey: () => readonly ["/_widgets/UserProfile/authentication-information"]; declare const useAuthenticationInformationQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type AuthenticationInformationQueryResult = NonNullable>>>; type AuthenticationInformationQueryError = ErrorType; declare function useAuthenticationInformation>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useAuthenticationInformation>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useAuthenticationInformation>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; /** * Sets a password for the authenticated user. Only available when the user does not already have a password configured. Requires elevated access. */ declare const useCreatePasswordHook: () => (createPasswordRequest: BodyType, signal?: AbortSignal) => Promise; declare const useCreatePasswordMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type CreatePasswordMutationResult = NonNullable>>>; type CreatePasswordMutationBody = BodyType; type CreatePasswordMutationError = ErrorType; declare const useCreatePassword: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; /** * Initiates TOTP (authenticator app) enrollment for the authenticated user by generating a new TOTP secret and QR code. Requires elevated access. */ declare const useCreateTotpFactorHook: () => (signal?: AbortSignal) => Promise; declare const useCreateTotpFactorMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, void, TContext>; }) => UseMutationOptions>>, TError, void, TContext>; type CreateTotpFactorMutationResult = NonNullable>>>; type CreateTotpFactorMutationError = ErrorType; declare const useCreateTotpFactor: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, void, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, void, TContext>; /** * Returns the profile information of the currently authenticated user, including their name, email, and linked authentication factors. */ declare const useMeHook: () => (signal?: AbortSignal) => Promise; declare const getMeQueryKey: () => readonly ["/_widgets/UserProfile/me"]; declare const useMeQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type MeQueryResult = NonNullable>>>; type MeQueryError = ErrorType; declare function useMe>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useMe>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useMe>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; /** * Updates the profile information of the currently authenticated user, such as their first name, last name, or email address. */ declare const useUpdateMeHook: () => (updateMeInput: BodyType, signal?: AbortSignal) => Promise; declare const useUpdateMeMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type UpdateMeMutationResult = NonNullable>>>; type UpdateMeMutationBody = BodyType; type UpdateMeMutationError = ErrorType; declare const useUpdateMe: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; /** * Initiates passkey (WebAuthn) registration for the authenticated user by returning the credential creation options. Requires elevated access. */ declare const useRegisterPasskeyHook: () => (signal?: AbortSignal) => Promise; declare const useRegisterPasskeyMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, void, TContext>; }) => UseMutationOptions>>, TError, void, TContext>; type RegisterPasskeyMutationResult = NonNullable>>>; type RegisterPasskeyMutationError = ErrorType; declare const useRegisterPasskey: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, void, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, void, TContext>; /** * Completes passkey (WebAuthn) registration by verifying the credential created by the authenticator. Requires elevated access. */ declare const useVerifyPasskeyHook: () => (verifyPasskeyRequest: BodyType, signal?: AbortSignal) => Promise; declare const useVerifyPasskeyMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type VerifyPasskeyMutationResult = NonNullable>>>; type VerifyPasskeyMutationBody = BodyType; type VerifyPasskeyMutationError = ErrorType; declare const useVerifyPasskey: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; /** * Removes the specified passkey from the authenticated user's account. Requires elevated access. */ declare const useDeletePasskeyHook: () => (passkeyId: string, signal?: AbortSignal) => Promise; declare const useDeletePasskeyMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { passkeyId: string; }, TContext>; }) => UseMutationOptions>>, TError, { passkeyId: string; }, TContext>; type DeletePasskeyMutationResult = NonNullable>>>; type DeletePasskeyMutationError = ErrorType; declare const useDeletePasskey: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { passkeyId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, 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. */ declare const useSendEmailChangeHook: () => (sendEmailChangeRequest: BodyType, signal?: AbortSignal) => Promise; declare const useSendEmailChangeMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type SendEmailChangeMutationResult = NonNullable>>>; type SendEmailChangeMutationBody = BodyType; type SendEmailChangeMutationError = ErrorType; declare const useSendEmailChange: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; /** * Sends a verification email to the authenticated user to confirm their email address. */ declare const useSendVerificationHook: () => (signal?: AbortSignal) => Promise; declare const useSendVerificationMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, void, TContext>; }) => UseMutationOptions>>, TError, void, TContext>; type SendVerificationMutationResult = NonNullable>>>; type SendVerificationMutationError = ErrorType; declare const useSendVerification: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, void, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, void, TContext>; /** * Returns all currently active sessions for the authenticated user, including device and location information where available. */ declare const useSessionsHook: () => (signal?: AbortSignal) => Promise; declare const getSessionsQueryKey: () => readonly ["/_widgets/UserProfile/sessions"]; declare const useSessionsQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type SessionsQueryResult = NonNullable>>>; type SessionsQueryError = ErrorType; declare function useSessions>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useSessions>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useSessions>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; /** * Revokes all active sessions for the authenticated user except optionally the current one, signing them out of all other devices. */ declare const useRevokeAllSessionsHook: () => (revokeAllSessionsRequest: BodyType, signal?: AbortSignal) => Promise; declare const useRevokeAllSessionsMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type RevokeAllSessionsMutationResult = NonNullable>>>; type RevokeAllSessionsMutationBody = BodyType; type RevokeAllSessionsMutationError = ErrorType; declare const useRevokeAllSessions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; /** * Revokes a specific active session by ID, signing the user out of that particular device or browser. */ declare const useRevokeSessionHook: () => (sessionId: string, signal?: AbortSignal) => Promise; declare const useRevokeSessionMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { sessionId: string; }, TContext>; }) => UseMutationOptions>>, TError, { sessionId: string; }, TContext>; type RevokeSessionMutationResult = NonNullable>>>; type RevokeSessionMutationError = ErrorType; declare const useRevokeSession: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { sessionId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { sessionId: string; }, TContext>; /** * Removes all TOTP factors enrolled for the authenticated user, disabling authenticator app as a second factor. Requires elevated access. */ declare const useDeleteTotpFactorsHook: () => (signal?: AbortSignal) => Promise; declare const useDeleteTotpFactorsMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, void, TContext>; }) => UseMutationOptions>>, TError, void, TContext>; type DeleteTotpFactorsMutationResult = NonNullable>>>; type DeleteTotpFactorsMutationError = ErrorType; declare const useDeleteTotpFactors: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, void, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, void, TContext>; /** * Changes the password for the authenticated user. Requires the current password to be supplied alongside the new password. */ declare const useUpdatePasswordHook: () => (updatePasswordRequest: BodyType, signal?: AbortSignal) => Promise; declare const useUpdatePasswordMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type UpdatePasswordMutationResult = NonNullable>>>; type UpdatePasswordMutationBody = BodyType; type UpdatePasswordMutationError = ErrorType; declare const useUpdatePassword: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, 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. */ declare const useVerifyHook: () => (verifyRequest: BodyType, signal?: AbortSignal) => Promise; declare const useVerifyMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type VerifyMutationResult = NonNullable>>>; type VerifyMutationBody = BodyType; type VerifyMutationError = ErrorType; declare const useVerify: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, 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. */ declare const useVerifyEmailChangeHook: () => (verifyEmailChangeRequest: BodyType, signal?: AbortSignal) => Promise; declare const useVerifyEmailChangeMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type VerifyEmailChangeMutationResult = NonNullable>>>; type VerifyEmailChangeMutationBody = BodyType; type VerifyEmailChangeMutationError = ErrorType; declare const useVerifyEmailChange: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; /** * Completes TOTP enrollment by verifying the one-time code generated by the authenticator app. Requires elevated access. */ declare const useVerifyTotpFactorHook: () => (verifyTotpFactorRequest: BodyType, signal?: AbortSignal) => Promise; declare const useVerifyTotpFactorMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }) => UseMutationOptions>>, TError, { data: BodyType; }, TContext>; type VerifyTotpFactorMutationResult = NonNullable>>>; type VerifyTotpFactorMutationBody = BodyType; type VerifyTotpFactorMutationError = ErrorType; declare const useVerifyTotpFactor: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { data: BodyType; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { data: BodyType; }, TContext>; declare const useGetAuditLogStreamHook: () => (signal?: AbortSignal) => Promise; declare const getGetAuditLogStreamQueryKey: () => readonly ["/_widgets/admin-portal/audit-log-stream"]; declare const useGetAuditLogStreamQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type GetAuditLogStreamQueryResult = NonNullable>>>; type GetAuditLogStreamQueryError = ErrorType; declare function useGetAuditLogStream>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useGetAuditLogStream>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useGetAuditLogStream>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useGenerateAdminPortalLinkHook: () => (params: GenerateAdminPortalLinkParams, signal?: AbortSignal) => Promise; declare const useGenerateAdminPortalLinkMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { params: GenerateAdminPortalLinkParams; }, TContext>; }) => UseMutationOptions>>, TError, { params: GenerateAdminPortalLinkParams; }, TContext>; type GenerateAdminPortalLinkMutationResult = NonNullable>>>; type GenerateAdminPortalLinkMutationError = ErrorType; declare const useGenerateAdminPortalLink: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { params: GenerateAdminPortalLinkParams; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { params: GenerateAdminPortalLinkParams; }, TContext>; declare const useListOrganizationDomainsHook: () => (signal?: AbortSignal) => Promise; declare const getListOrganizationDomainsQueryKey: () => readonly ["/_widgets/admin-portal/organization-domains"]; declare const useListOrganizationDomainsQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type ListOrganizationDomainsQueryResult = NonNullable>>>; type ListOrganizationDomainsQueryError = ErrorType; declare function useListOrganizationDomains>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useListOrganizationDomains>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useListOrganizationDomains>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useDeleteOrganizationDomainHook: () => (domainId: string, signal?: AbortSignal) => Promise; declare const useDeleteOrganizationDomainMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { domainId: string; }, TContext>; }) => UseMutationOptions>>, TError, { domainId: string; }, TContext>; type DeleteOrganizationDomainMutationResult = NonNullable>>>; type DeleteOrganizationDomainMutationError = ErrorType; declare const useDeleteOrganizationDomain: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { domainId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { domainId: string; }, TContext>; declare const useReverifyOrganizationDomainHook: () => (domainId: string, signal?: AbortSignal) => Promise; declare const useReverifyOrganizationDomainMutationOptions: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { domainId: string; }, TContext>; }) => UseMutationOptions>>, TError, { domainId: string; }, TContext>; type ReverifyOrganizationDomainMutationResult = NonNullable>>>; type ReverifyOrganizationDomainMutationError = ErrorType; declare const useReverifyOrganizationDomain: , TContext = unknown>(options?: { mutation?: UseMutationOptions>>, TError, { domainId: string; }, TContext>; }, queryClient?: QueryClient) => UseMutationResult>>, TError, { domainId: string; }, TContext>; declare const useListSsoConnectionsHook: () => (signal?: AbortSignal) => Promise; declare const getListSsoConnectionsQueryKey: () => readonly ["/_widgets/admin-portal/sso-connections"]; declare const useListSsoConnectionsQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type ListSsoConnectionsQueryResult = NonNullable>>>; type ListSsoConnectionsQueryError = ErrorType; declare function useListSsoConnections>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useListSsoConnections>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useListSsoConnections>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useListDirectoriesHook: () => (signal?: AbortSignal) => Promise; declare const getListDirectoriesQueryKey: () => readonly ["/_widgets/directory-sync/directories"]; declare const useListDirectoriesQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type ListDirectoriesQueryResult = NonNullable>>>; type ListDirectoriesQueryError = ErrorType; declare function useListDirectories>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useListDirectories>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useListDirectories>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare const useGetDirectoryHook: () => (directoryId: string, signal?: AbortSignal) => Promise; declare const getGetDirectoryQueryKey: (directoryId: string) => readonly [`/_widgets/directory-sync/directories/${string}`]; declare const useGetDirectoryQueryOptions: >>, TError = ErrorType>(directoryId: string, options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type GetDirectoryQueryResult = NonNullable>>>; type GetDirectoryQueryError = ErrorType; declare function useGetDirectory>>, TError = ErrorType>(directoryId: string, options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useGetDirectory>>, TError = ErrorType>(directoryId: string, options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useGetDirectory>>, TError = ErrorType>(directoryId: string, options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; /** * Returns the widget settings for the current environment, including enabled authentication methods and branding configuration. */ declare const useSettingsHook: () => (signal?: AbortSignal) => Promise; declare const getSettingsQueryKey: () => readonly ["/_widgets/settings"]; declare const useSettingsQueryOptions: >>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }) => UseQueryOptions>>, TError, TData> & { queryKey: DataTag; }; type SettingsQueryResult = NonNullable>>>; type SettingsQueryError = ErrorType; declare function useSettings>>, TError = ErrorType>(options: { query: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): DefinedUseQueryResult & { queryKey: DataTag; }; declare function useSettings>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>> & Pick>>, TError, Awaited>>>, "initialData">; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; declare function useSettings>>, TError = ErrorType>(options?: { query?: Partial>>, TError, TData>>; }, queryClient?: QueryClient): UseQueryResult & { queryKey: DataTag; }; 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 InviteMemberInput, 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 UpdateMeInput, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberInput, 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, getAuthenticationInformationQueryKey, getGetAuditLogStreamQueryKey, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, getGetDirectoryQueryKey, getListDirectoriesQueryKey, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeysQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getListUserApiKeyPermissionsQueryKey, getListUserApiKeysQueryKey, getMeQueryKey, getMembersQueryKey, getMyDataIntegrationsQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, getSettingsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useCreateOrganizationApiKey, useCreateOrganizationApiKeyHook, useCreateOrganizationApiKeyMutationOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useCreateUserApiKey, useCreateUserApiKeyHook, useCreateUserApiKeyMutationOptions, useDeleteDataInstallation, useDeleteDataInstallationHook, useDeleteDataInstallationMutationOptions, useDeleteOrganizationApiKey, useDeleteOrganizationApiKeyHook, useDeleteOrganizationApiKeyMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useDeleteUserApiKey, useDeleteUserApiKeyHook, useDeleteUserApiKeyMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useGetAuditLogStream, useGetAuditLogStreamHook, useGetAuditLogStreamQueryOptions, useGetDataInstallationAuthorizationStatus, useGetDataInstallationAuthorizationStatusHook, useGetDataInstallationAuthorizationStatusQueryOptions, useGetDataIntegrationAuthorizeUrl, useGetDataIntegrationAuthorizeUrlHook, useGetDataIntegrationAuthorizeUrlQueryOptions, useGetDirectory, useGetDirectoryHook, useGetDirectoryQueryOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListDirectories, useListDirectoriesHook, useListDirectoriesQueryOptions, useListOrganizationApiKeyPermissions, useListOrganizationApiKeyPermissionsHook, useListOrganizationApiKeyPermissionsQueryOptions, useListOrganizationApiKeys, useListOrganizationApiKeysHook, useListOrganizationApiKeysQueryOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useListUserApiKeyPermissions, useListUserApiKeyPermissionsHook, useListUserApiKeyPermissionsQueryOptions, useListUserApiKeys, useListUserApiKeysHook, useListUserApiKeysQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useMyDataIntegrations, useMyDataIntegrationsHook, useMyDataIntegrationsQueryOptions, useOrganizations, useOrganizationsHook, useOrganizationsQueryOptions, useRegisterPasskey, useRegisterPasskeyHook, useRegisterPasskeyMutationOptions, useRemoveMember, useRemoveMemberHook, useRemoveMemberMutationOptions, useResendInvite, useResendInviteHook, useResendInviteMutationOptions, useReverifyOrganizationDomain, useReverifyOrganizationDomainHook, useReverifyOrganizationDomainMutationOptions, useRevokeAllSessions, useRevokeAllSessionsHook, useRevokeAllSessionsMutationOptions, useRevokeInvite, useRevokeInviteHook, useRevokeInviteMutationOptions, useRevokeSession, useRevokeSessionHook, useRevokeSessionMutationOptions, useRoles, useRolesAndConfig, useRolesAndConfigHook, useRolesAndConfigQueryOptions, useRolesHook, useRolesQueryOptions, useSendEmailChange, useSendEmailChangeHook, useSendEmailChangeMutationOptions, useSendVerification, useSendVerificationHook, useSendVerificationMutationOptions, useSessions, useSessionsHook, useSessionsQueryOptions, useSettings, useSettingsHook, useSettingsQueryOptions, useUpdateMe, useUpdateMeHook, useUpdateMeMutationOptions, useUpdateMember, useUpdateMemberHook, useUpdateMemberMutationOptions, useUpdatePassword, useUpdatePasswordHook, useUpdatePasswordMutationOptions, useVerify, useVerifyEmailChange, useVerifyEmailChangeHook, useVerifyEmailChangeMutationOptions, useVerifyHook, useVerifyMutationOptions, useVerifyPasskey, useVerifyPasskeyHook, useVerifyPasskeyMutationOptions, useVerifyTotpFactor, useVerifyTotpFactorHook, useVerifyTotpFactorMutationOptions };