import * as Domain from "../../domain"; import { Task } from "../../utils/tasks"; import { AgentContext } from "../Context"; /** * Asyncronously create and store a new peer did * * @async * @param {Service[]} services * @param {boolean} [updateMediator=false] * @returns {Promise} */ interface Args { services: Domain.DIDDocument.Service[]; updateMediator: boolean; } export declare class CreatePeerDID extends Task { run(ctx: AgentContext): Promise; /** * Asyncronously update the mediator with the new keyList, used during the mediation process or during DID Rotation * * @async * @param {DID[]} did * @returns {Promise} */ updateKeyListWithDID(ctx: AgentContext, did: Domain.DID): Promise; } export {};