import { IterableX } from '../iterablex.js'; import { OperatorFunction } from '../../interfaces.js'; /** @ignore */ export declare class SkipWhileIterable extends IterableX { private _source; private _predicate; constructor(source: Iterable, predicate: (value: TSource, index: number) => boolean); [Symbol.iterator](): Generator; } /** * Bypasses elements in an async-iterale sequence as long as a specified condition is true * and then returns the remaining elements. * * @template T The type of the elements in the source sequence. * @template S The result of the predicate that is truthy/falsy. * @param {(value: T, index: number) => value is S} predicate A function to test each element for a condition. * @returns {OperatorFunction} An iterable sequence that contains the elements from the input * sequence starting at the first element in the linear series that does not pass the test specified by predicate. */ export declare function skipWhile(predicate: (value: T, index: number) => value is S): OperatorFunction; /** * Bypasses elements in an async-iterale sequence as long as a specified condition is true * and then returns the remaining elements. * * @template T The type of the elements in the source sequence. * @param {((value: T, index: number) => boolean)} predicate A function to test each element for a condition. * @returns {OperatorFunction} An iterable sequence that contains the elements from the input * sequence starting at the first element in the linear series that does not pass the test specified by predicate. */ export declare function skipWhile(predicate: (value: T, index: number) => boolean): OperatorFunction;