import { OperatorFunction, MonoTypeOperatorFunction } from '../types'; export declare function takeWhile(predicate: (value: T, index: number) => value is S): OperatorFunction; export declare function takeWhile(predicate: (value: T, index: number) => boolean): MonoTypeOperatorFunction;