import { Stream } from 'stream'; declare function isStreamEnded(stream: Stream): boolean; declare namespace isStreamEnded {} export = isStreamEnded;