import type { IteratorOrIterable, Predicate } from './types';
/**
 * Take all elements from the input iterator while the given `predicate` returns a truthy value.
 * @param arg The input iterator.
 * @param predicate A function to call for each value.
 */
export declare function takeWhile<T>(arg: IteratorOrIterable<T>, predicate: Predicate<T>): IterableIterator<T>;
export declare function takeWhile<T>(predicate: Predicate<T>): (arg: IteratorOrIterable<T>) => IterableIterator<T>;
export default takeWhile;
//# sourceMappingURL=takeWhile.d.ts.map