/// import { SignerEd25519 } from "@dedis/cothority/darc"; import { Point, Scalar } from "@dedis/kyber"; /** * KeyPair implements some wrappers for the ed25519 private and public keys. */ export declare class KeyPair { priv: Scalar; pub: Point; static rand(): KeyPair; static fromString(str: string): KeyPair; static fromPrivate(priv: Scalar | Buffer): KeyPair; constructor(priv: Scalar, pub: Point); toString(): string; signer(): SignerEd25519; }