import { CharSize, EccCurve, Msg, PrivateKey, PublicKey, HashAlg, SymmKey, SymmKeyOpts } from '../types.js'; export declare function sign(msg: Msg, privateKey: PrivateKey, charSize?: CharSize, hashAlg?: HashAlg): Promise; export declare function verify(msg: Msg, sig: Msg, publicKey: string | PublicKey, charSize?: CharSize, curve?: EccCurve, hashAlg?: HashAlg): Promise; export declare function encrypt(msg: Msg, privateKey: PrivateKey, publicKey: string | PublicKey, charSize?: CharSize, curve?: EccCurve, opts?: Partial): Promise; export declare function decrypt(msg: Msg, privateKey: PrivateKey, publicKey: string | PublicKey, curve?: EccCurve, opts?: Partial): Promise; export declare function getPublicKey(keypair: CryptoKeyPair): Promise; export declare function getSharedKey(privateKey: PrivateKey, publicKey: PublicKey, opts?: Partial): Promise; declare const _default: { sign: typeof sign; verify: typeof verify; encrypt: typeof encrypt; decrypt: typeof decrypt; getPublicKey: typeof getPublicKey; getSharedKey: typeof getSharedKey; }; export default _default;