/** * forked from https://github.com/bitchan/eccrypto/blob/master/index.js * * rewrite curves & hashes */ export declare const encrypt: (publicKeyTo: any, msg: any, opts?: any) => Promise<{ iv: any; ephemPublicKey: any; ciphertext: Uint8Array; mac: Buffer; }>; export declare const decrypt: (privateKey: any, opts: any) => Promise>;