import { JsonWebKey2020, Ed25519VerificationKey2018 } from './types'; import { LdKeyPairInstance } from '@transmute/ld-key-pair'; import { X25519KeyPair } from '@transmute/x25519-key-pair'; export declare class Ed25519KeyPair implements LdKeyPairInstance { id: string; type: string; controller: string; publicKey: Uint8Array; privateKey?: Uint8Array; static fingerprintFromPublicKey(importableType: JsonWebKey2020): Promise; static toX25519KeyPair(kp: Ed25519KeyPair): Promise; static generate: ({ secureRandom, }: { secureRandom: () => Uint8Array; }) => Promise; static from: (k: JsonWebKey2020 | Ed25519VerificationKey2018) => Promise; static fromFingerprint({ fingerprint }: { fingerprint: string; }): Promise; constructor(opts: { id: string; type: string; controller: string; publicKey: Uint8Array; privateKey?: Uint8Array; }); fingerprint(): Promise; export(options?: { privateKey?: boolean; type: 'JsonWebKey2020' | 'Ed25519VerificationKey2018'; }): Promise; signer(type?: 'EdDsa'): { sign({ data }: any): Promise; }; verifier(type?: 'EdDsa'): { verify({ data, signature }: any): Promise; }; getDerivedKeyPairs(): Promise<(this | X25519KeyPair)[]>; }