klayr-did
Version:
Klayr DID/VC Development Kit
41 lines (40 loc) • 2.29 kB
TypeScript
/// <reference types="node" />
import vc from '@klayr-did/klayr-verifiable-credentials';
export * from '@klayr-did/klayr-did-module';
export * as did from '@klayr-did/klayr-decentralized-identifier';
export * as vc from '@klayr-did/klayr-verifiable-credentials';
declare const _default: {
did: {
client: typeof import("@klayr-did/klayr-decentralized-identifier/dist/client");
cryptography: typeof import("@klayr-did/klayr-decentralized-identifier/dist/cryptography");
resolver: typeof import("@klayr-did/klayr-decentralized-identifier/dist/resolver");
utils: typeof import("@klayr-did/klayr-decentralized-identifier/dist/utils");
parseDIDComponent(did: string): {
did: string;
uri: string;
scheme: string;
method: any;
chainspace: any;
namespace: string;
uniqueId: string;
path: any;
fragment: any;
query: any;
};
getAddressDIDFromPublicKey(chainspace: string, publicKey: Buffer): string;
getDIDDocument(did: string, options: import("@klayr-did/klayr-decentralized-identifier").CreateResolverParam): Promise<import("@klayr-did/klayr-decentralized-identifier").DidDocument | undefined>;
};
vc: typeof vc;
DidModule: typeof import("@klayr-did/klayr-did-module").DidModule;
DidMethod: typeof import("@klayr-did/klayr-did-module").DidMethod;
DidEndpoint: typeof import("@klayr-did/klayr-did-module").DidEndpoint;
AddControllersCommand: typeof import("@klayr-did/klayr-did-module").AddControllersCommand;
AddKeysCommand: typeof import("@klayr-did/klayr-did-module").AddKeysCommand;
AddServiceEndpointCommand: typeof import("@klayr-did/klayr-did-module").AddServiceEndpointCommand;
CreateCommand: typeof import("@klayr-did/klayr-did-module").CreateCommand;
DeactivateCommand: typeof import("@klayr-did/klayr-did-module").DeactivateCommand;
RemoveControllersCommand: typeof import("@klayr-did/klayr-did-module").RemoveControllersCommand;
RemoveKeysCommand: typeof import("@klayr-did/klayr-did-module").RemoveKeysCommand;
RemoveServiceEndpointCommand: typeof import("@klayr-did/klayr-did-module").RemoveServiceEndpointCommand;
};
export default _default;