/// import type * as stream from 'stream'; import type { CryptoAlgorithmName } from './cipher'; import type { CompressOptions } from './compress'; import { EncryptOptions } from './encrypt'; import type { KeyDerivationOptions } from './key-derivation-function'; import type { InputDataType, IteratorConverter } from './types'; export { CompressOptions, CryptoAlgorithmName, EncryptOptions, InputDataType, IteratorConverter, KeyDerivationOptions }; export declare function encrypt(cleartext: InputDataType, password: InputDataType, options?: EncryptOptions): Promise; export declare function decrypt(encryptedData: InputDataType, password: InputDataType): Promise; export declare function encryptStream(password: InputDataType, options?: EncryptOptions): stream.Transform; export declare function decryptStream(password: InputDataType): stream.Transform; export declare function encryptIterator(password: InputDataType, options?: EncryptOptions): IteratorConverter; export declare function decryptIterator(password: InputDataType): IteratorConverter;