/** * Throttles an async iterator. Emits a value and then prevents emits until timer has completed. */ export declare function throttle(timer: (value: T) => Promise): (source: AsyncIterable) => AsyncGenerator;