/// <reference types="node" />
import { DfnsSigner } from '../types';
export declare class MockEddsaSigner implements DfnsSigner {
    private privateKeyString;
    publicKey: Buffer;
    private privateKey;
    private readonly ed25519PrivKeyPrefix;
    private readonly ed25519PubKeyPrefix;
    private static readonly DEFAULT_ACCOUNT;
    private constructor();
    getPublicKey(): Buffer;
    private toDER;
    private setPrivateKey;
    static defaultAccount(): MockEddsaSigner;
    static fromPrivateKey(privateKey: string): MockEddsaSigner;
    static newAccount(): MockEddsaSigner;
    protected getPublicKeyAsync(): Promise<Buffer>;
    sign(hash: Buffer): Promise<{
        r: string;
        s: string;
    }>;
}
