/// <reference types="node" />
import { Transform } from 'stream';
import { CryptoService } from './crypto.service';
export declare class DecryptTransform extends Transform {
    private cryptoService;
    prev: any;
    header: any;
    constructor(cryptoService: CryptoService, options?: any);
    _transform(chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
    _flush(callback: (error?: Error | null) => void): void;
    private extractHeader;
    private extractBody;
}
