import * as crypto from 'node:crypto'; import { Transform, type TransformCallback, type TransformOptions } from 'node:stream'; export declare class EncryptTransform extends Transform { private iv; private cipher; private ivSent; constructor(cipher: crypto.Cipher, iv: Buffer, opts?: TransformOptions); _transform(chunk: any, _encoding: BufferEncoding, callback: TransformCallback): void; _flush(callback: TransformCallback): void; }