/// import { PassThrough, TransformOptions } from 'stream'; export interface FunnelOptions extends TransformOptions { maxListeners?: number; name?: string; } export default class Funnel extends PassThrough { private static id; private numSources; private name; constructor(options: FunnelOptions); toString(): string; addSource(source: NodeJS.ReadableStream, waitForEnd?: boolean): void; addSources(sources: NodeJS.ReadableStream[], waitForEnd?: boolean): void; sourceFinished(source: NodeJS.ReadableStream): void; }