import { PublicKey, PrivateKey, NameType } from '@wharfkit/antelope'; import { ProjPointType } from '@noble/curves/abstract/weierstrass'; import { Signer } from 'did-jwt'; import { Issuer } from 'did-jwt-vc'; /** * Create a Antelope DID string * * @param account {NameType} the account name e.g. "myaccount" * @param chain {string} the chain name or chain id * @returns {string} the Antelope DID string * * @example createDid("myaccount", "telos") // returns "did:antelope:telos:myaccount" * @example createDid("myaccount", "eos:testnet:jungle") // returns "did:antelope:eos:testnet:jungle:myaccount" * @example createDid("myaccount", "2a02a0053e5a8cf73a56ba0fda11e4d92e0238a4a2aa74fccf46d5a910746840") // returns "did:antelope:2a02a0053e5a8cf73a56ba0fda11e4d92e0238a4a2aa74fccf46d5a910746840:myaccount" */ export declare function createDid(account: NameType, chain: string): string; export declare function createSigner(privateKey: PrivateKey): Signer; export declare function createIssuer(did: string, privateKey: PrivateKey): Issuer; export declare function toPublicKeyHex(publicKey: PublicKey): string; export interface JWK { crv: string; kty: string; x: string; y: string; kid: string; } export declare function createJWK(publicKey: PublicKey): JWK; export declare function getCurveNamesFromType(key: PublicKey): { jwkCurve: "secp256k1" | "P-256"; verificationMethodType: "EcdsaSecp256k1VerificationKey2019" | "JsonWebKey2020"; }; export declare function toNobel(publicKey: PublicKey): ProjPointType; //# sourceMappingURL=utils.d.ts.map