/// <reference types="node" />
import { Writable } from 'stream';
import { DeferredPromise } from '@naturalcycles/js-lib';
import { TransformOptions } from '../stream.model';
export interface WritableVoidOptions extends TransformOptions {
    /**
     * If set - it will be Resolved when the Stream is done (after final.cb)
     */
    streamDone?: DeferredPromise;
}
/**
 * Use as a "null-terminator" of stream.pipeline.
 * It consumes the stream as quickly as possible without doing anything.
 * Put it in the end of your pipeline in case it ends with Transform that needs a consumer.
 */
export declare function writableVoid(opt?: WritableVoidOptions): Writable;
