import { Transform, type TransformCallback, type TransformOptions } from 'stream';
import type { OptionsInternal } from '../../types.ts';
export default class TarTransform extends Transform {
    private _iterator;
    private _callback;
    private _stream;
    constructor(options?: OptionsInternal | TransformOptions<Transform>);
    _transform(chunk: unknown, encoding: BufferEncoding, callback: TransformCallback): undefined;
    _flush(callback: TransformCallback): undefined;
    destroy(error?: Error): this;
}
