import type { IComponent } from "@twin.org/core"; import type { IDidDocument } from "@twin.org/standards-w3c-did"; /** * Interface describing a contract which provides identity operations. */ export interface IIdentityResolverComponent extends IComponent { /** * Resolve an identity. * @param identity The id of the document to resolve. * @returns The resolved document. */ identityResolve(identity: string): Promise; }