import type { Ary } from '../internal/types/tools/index.js'; /** * Drops elements from the array until the predicate returns `true`. * @param array The array to take from. * @param pred The predicate function. * * @example * ```typescript * dropUntil([1, 2, 3, 4, 5], (x) => x === 3); // => [3, 4, 5] * dropUntil([1, 2, 3, 4, 5], (x) => x === 10); // => [] * ``` */ declare const dropUntil: ( array: AS, pred: (value: AS[number], index: number, array: AS) => boolean, ) => import('../internal/types/tools/index.js').If< Ary.IsWritable, AS[number][], readonly AS[number][] >; export default dropUntil; //# sourceMappingURL=dropUntil.d.ts.map