import predicateType from '../helpers/predicateType'; /** * Creates a new array with elements dropped until the predicate returns false. * * @since 1.0.0 * * @template T * @param {T[]} array - The input array. * @param {Function} [predicate=identity] - The function invoked per iteration. * @returns {T[]} - Returns the slice of the array. * * @example * dropWhile([1, 2, 3], n => n < 3); // => [3] * * dropWhile(['foo', 'bar', 'baz'], str => str.startsWith('f')); // => ['bar', 'baz'] */ declare const dropWhile: (array: T[], predicate?: predicateType) => T[]; export default dropWhile;