import { type HttpContext } from "./http.js"; export declare class Identity { readonly actorDid: string; private constructor(); static static(did: unknown): Identity; static key(_pathOrBytes?: unknown): never; static federated(..._args: unknown[]): never; } export interface IdentityInfo { actor: string; did?: string; method?: string; display_name?: string; key_path?: string; key_fingerprint?: string; } export interface RotateIdentityInput { ack: "ROTATE"; reason?: string; } export interface RotateIdentityResult { object?: string; identity: { actor: string; did: string; method?: string; key_path?: string; previous_did?: string; }; audit_record: { id: string; thread: string; }; operational_record?: { id: string; thread: string; }; rotated_at: string; next_steps?: string[]; } export declare class ClientIdentity { private readonly inner; private readonly ctx; constructor(inner: Identity, ctx: HttpContext); get actorDid(): string; get identity(): Identity; get(): Promise; rotate(input: RotateIdentityInput, opts?: { signal?: AbortSignal; headers?: Record; }): Promise; }