/**
 * Take while a predicate holds true
 */
export declare function takeWhile<T>(predicate: (t: T) => boolean): (source: AsyncIterable<T>) => AsyncGenerator<T, void, unknown>;
