import { Cypher } from '../Cypher'; import { IKeyPairBytes } from '../../types'; /** * Encrypts a message using ECIES * @see https://cryptobook.nakov.com/asymmetric-key-ciphers/ecies-public-key-encryption */ export declare class ECDSA extends Cypher { private readonly ec; readonly sign: IKeyPairBytes; constructor(curve: 'secp256r1' | 'secp256k1', sign: IKeyPairBytes); createSignature(input: Uint8Array): Uint8Array; verifySignature(input: Uint8Array, signature: Uint8Array): boolean; encryptMessage(input: Uint8Array): Uint8Array; decryptMessage(encryptedMessage: Uint8Array): Uint8Array; }