import { LdKeyPairInstance } from '@transmute/ld-key-pair'; import { GenerateKeyOpts, JsonWebKey2020, KeyPairOptions, P256Key2021, P384Key2021, P521Key2021 } from './types'; export declare class WebCryptoKey implements LdKeyPairInstance { id: string; type: string; controller: string; publicKey: CryptoKey; privateKey?: CryptoKey; static generate: (opts?: GenerateKeyOpts) => Promise; static from: (k: JsonWebKey2020 | P256Key2021 | P384Key2021 | P521Key2021) => Promise; static fingerprintFromPublicKey(publicKey: JsonWebKey2020 | P256Key2021 | P384Key2021 | P521Key2021): Promise; static fromFingerprint({ fingerprint }: { fingerprint: string; }): Promise; constructor(opts: KeyPairOptions); fingerprint(): Promise; export(options?: { privateKey?: boolean; type: 'JsonWebKey2020' | 'P521Key2021' | 'P384Key2021' | 'P256Key2021'; }): Promise; signer(type?: 'Ecdsa'): import("./types").Signer; verifier(type?: 'Ecdsa'): import("./types").Verifier; deriveSecret({ publicKey, }: { publicKey: JsonWebKey2020 | P256Key2021 | P384Key2021 | P521Key2021; }): Promise; }