import type { CreateOrganizationRequest, EnsureSystemOrgRequest, IdentityApiClientOptions, DelegatedPrincipalTokenRequest, DelegatedPrincipalTokenResponse, OnBehalfOfTokenRequest, OnBehalfOfTokenResponse, Organization, OrganizationListParams, OrganizationListResponse, OrganizationRecord, RegisterServiceRequest, RegisterServiceResponse, ScopedClaimGrantRequest, ScopedClaimGrantResponse, ScopedClaimTokenRequest, ScopedClaimTokenResponse, ServiceCredentials, UpdateOrganizationRequest, VerifyMembershipResponse } from './types'; export declare class IdentityApiClient { private readonly baseUrl; private readonly internalToken; private readonly timeoutMs; private readonly serviceTokenProvider; private readonly allowInternalTokenFallback; constructor(options: IdentityApiClientOptions); private resolveBearer; private assertRegisterRequest; registerService(request: RegisterServiceRequest): Promise; registerServiceFull(request: RegisterServiceRequest): Promise; verifyMembership(userId: string, orgId: string, realm?: string): Promise; ensureSystemOrg(request: EnsureSystemOrgRequest): Promise; getSystemOrg(name: string): Promise; listOrgIds(realm: string): Promise; listOrganizations(realm: string, params?: OrganizationListParams): Promise; getOrganization(id: string, realm: string): Promise; createOrganization(input: CreateOrganizationRequest): Promise; updateOrganization(id: string, input: UpdateOrganizationRequest): Promise; deleteOrganization(id: string, realm: string): Promise; mintOnBehalfOfToken(request: OnBehalfOfTokenRequest): Promise; mintDelegatedPrincipalToken(request: DelegatedPrincipalTokenRequest): Promise; grantScopedClaim(request: ScopedClaimGrantRequest): Promise; revokeScopedClaim(request: ScopedClaimGrantRequest): Promise; mintScopedClaimToken(request: ScopedClaimTokenRequest): Promise; private get; private post; private patch; private getEnvelope; private request; } export declare class IdentityApiError extends Error { readonly statusCode: number; readonly responseBody?: string | undefined; constructor(message: string, statusCode: number, responseBody?: string | undefined); }