import { EventResult } from './aiding.ts'; import { SignifyClient } from './clienting.ts'; export declare class Delegations { client: SignifyClient; /** * Delegations * @param {SignifyClient} client */ constructor(client: SignifyClient); /** * Approve the delegation via interaction event * @async * @param {string} name Name or alias of the identifier * @param {any} [data] The anchoring interaction event * @returns {Promise} A promise to the delegated approval result */ approve(name: string, data?: any): Promise; }