/// <reference types="node" />
import { Point, Scalar } from "@dedis/kyber";
import IdentityEd25519 from "./identity-ed25519";
import ISigner from "./signer";
export default class SignerEd25519 extends IdentityEd25519 implements ISigner {
    readonly secret: Scalar;
    /**
     * Create a Ed25519 signer from the private given as a buffer
     *
     * @param bytes the private key
     * @returns the new signer
     */
    static fromBytes(bytes: Buffer): SignerEd25519;
    static random(): SignerEd25519;
    private priv;
    constructor(pub: Point, priv: Scalar);
    /** @inheritdoc */
    sign(msg: Buffer): Buffer;
}
