import { DidResolver } from "../../domain/DidResolver.js";
import { DidResolutionResult } from "../../types.js";
import { AgentContext } from "../../../../agent/context/AgentContext.js";

//#region src/modules/dids/methods/peer/PeerDidResolver.d.ts
declare class PeerDidResolver implements DidResolver {
  readonly supportedMethods: string[];
  /**
   * No remote resolving done, did document is fetched from storage. To not pollute the cache we don't allow caching
   */
  readonly allowsCaching = false;
  /**
   * Did peer records are often server from local did doucment, but it's easier to handle it in
   * the peer did resolver.
   */
  readonly allowsLocalDidRecord = false;
  resolve(agentContext: AgentContext, did: string): Promise<DidResolutionResult>;
}
//#endregion
export { PeerDidResolver };
//# sourceMappingURL=PeerDidResolver.d.ts.map