import { Document as DidDocument, VerificationMethod } from "@iota/identity-wasm/node";
export default class DidService {
    /**
     * Resolves the DID
     * @param node Node against the DID is resolved
     * @param did  DID to be resolved
     * @returns The DID Document resolved from Tangle
     */
    static resolve(node: string, did: string): Promise<DidDocument>;
    /**
     * Resolves the DID verification method
     * @param node Node against the DID is resolved
     * @param didMethod  DID method to be resolved
     * @returns The DID Document resolved from Tangle
     */
    static resolveMethod(node: string, didMethod: string): Promise<VerificationMethod>;
    /**
     * Verifies that the secret really corresponds to the verification method
     *
     * @param didDocument DID document
     * @param method The method (expressed as a fragment identifier)
     * @param secret The private key (in base 58)
     *
     * @returns true if verified false if not
     */
    static verifyOwnership(didDocument: DidDocument, method: string, secret: string): Promise<boolean>;
}
