///
///
import { Writable } from 'stream';
import type { Messagable } from '../types/streams.js';
/**
* A `Writable` stream that a `Readable` stream can pipe into in order to
* stream data between threads.
*/
export declare class WritableToPort extends Writable {
#private;
/**
* The object containing any meta data about the stream that can be
* used to identify it.
*/
get metaData(): Record;
constructor(target: Target, id: string, metaData?: Record);
_write(chunk: Buffer, _: BufferEncoding, callback: (error?: Error | null | undefined) => void): void;
}