import { ArrPred } from '../typings/types'; interface DropWhile { (fn: ArrPred, list: ArrayLike): T[]; (fn: ArrPred): (list: ArrayLike) => T[]; } /** * Returns a new list excluding the leading elements of a given list which * satisfy the supplied predicate function. It passes each value to the supplied * predicate function, skipping elements while the predicate function returns * `true`. * * @param {Function} fn The function called per iteration. * @param {Array} arr The collection to iterate over. * @return {Array} A new array. * @example * * var lteTwo = x => x <= 2; * * dropWhile(lteTwo, [1, 2, 3, 4, 3, 2, 1]); //=> [3, 4, 3, 2, 1] */ declare const _default: DropWhile; export default _default;