// Type definitions for pull-stream 3.6.8 // Project: https://github.com/pull-stream/pull-stream // Definitions by: Jaco Greeff // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// declare module 'pull-stream' { type Pull = { (source: any, sink: any): void; collect: (cb: (error: Error | null, values: Array) => any) => void, drain: (handler: (message: Buffer) => void, errorHandler?: () => boolean) => void; values: (values: Array) => void; }; export = Pull; }