/// <reference types="node" />
import type { Sink, Source } from 'it-stream-types';
import type { Writable } from 'node:stream';
/**
 * Convert a Node.js [`Writable`](https://nodejs.org/dist/latest/docs/api/stream.html#class-streamwritable)
 * stream to a [sink](https://achingbrain.github.io/it-stream-types/interfaces/Sink.html).
 */
export declare function sink<T>(writable: Writable): Sink<Source<T>, Promise<void>>;
//# sourceMappingURL=sink.d.ts.map