import { AsyncSequence } from "../../sequency"; export declare class TakeWhile { /** * Takes all elements of the sequence as long as the given `predicate` evaluates to true. * * @param {(item: T) => Promise | boolean} predicate * @returns {AsyncSequence} */ takeWhile(this: AsyncSequence, predicate: (item: T) => Promise | boolean): AsyncSequence; }