import { AgentContext, DidCreateOptions, DidCreateResult, DidDeactivateOptions, DidDeactivateResult, DidDocumentKey, DidRegistrar, DidUpdateOptions, DidUpdateResult, DidDocument } from '@credo-ts/core'; interface WebDidCreateOptions extends DidCreateOptions { domain: string; keys?: DidDocumentKey[]; } interface WebDidUpdateOptions extends DidUpdateOptions { didDocument: DidDocument; domain?: string; keys?: DidDocumentKey[]; } /** * DID Registrar implementation for the 'webvh' method. * Handles creation, update, and (future) deactivation of DIDs using the webvh method. */ export declare class WebDidRegistrar implements DidRegistrar { supportedMethods: string[]; /** * Creates a new DID document and saves it in the repository. * If services are provided, updates the DID document with those services. * @param agentContext The agent context. * @param options The creation options, including domain, endpoints, controller, signer, and verifier. * @returns The result of the DID creation, with error handling. */ create(agentContext: AgentContext, options: WebDidCreateOptions): Promise; /** * Updates an existing DID document and its log in the repository. * Uses internal logic to validate verification methods and handle errors. * @param agentContext The agent context. * @param options The update options, including DID, log, signer, verifier, and services. * @returns The result of the DID update, with error handling and validation. */ update(agentContext: AgentContext, options: WebDidUpdateOptions): Promise; deactivate(agentContext: AgentContext, options: DidDeactivateOptions): Promise; private handleError; } export {};