import * as Domain from "../../domain"; import { AgentContext } from "../Context"; import { Task } from "../../utils/tasks"; /** * Handle existing mediator logic * either reconnects existing mediator * or tries to establish new connection * * currently hard limits to a single mediator */ interface Args { mediatorDID: Domain.DID; } export declare class StartMediator extends Task { run(ctx: AgentContext): Promise; /** * Asyncronously achieve mediation by specifying the HOST DID, this will * exchange the mediation protocol messages between the user and the mediator until established * * @async * @param {DID} host * @returns {Promise} */ private achieveMediation; } export {};