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