/** * Limit the amount of chunks in a pipe. * @param {number} limit Limit the amount of chunks passed through the pipe. */ export default function limit(limit: number): (stream: AsyncIterable) => AsyncGenerator;