import { RawMap } from './map';
import { Key, type Signer, Verifier } from './key';
export declare class Ed25519Key extends Key implements Signer, Verifier {
    static fromBytes(data: Uint8Array): Ed25519Key;
    static generate<T>(kid?: T): Ed25519Key;
    static fromSecret<T>(secret: Uint8Array, kid?: T): Ed25519Key;
    static fromPublic<T>(pubkey: Uint8Array, kid?: T): Ed25519Key;
    constructor(kv?: RawMap);
    getSecretKey(): Uint8Array;
    getPublicKey(): Uint8Array;
    public(): Ed25519Key;
    sign(message: Uint8Array): Uint8Array;
    verify(message: Uint8Array, signature: Uint8Array): boolean;
}
