import { I as IterableContainer } from './IterableContainer-CtfinwiH.cjs'; /** * Returns elements from the end of the array until the predicate returns false. * The returned elements will be in the same order as in the original array. * * @param data - The array. * @param predicate - The predicate. * @signature * R.takeLastWhile(data, predicate) * @example * R.takeLastWhile([1, 2, 10, 3, 4, 5], x => x < 10) // => [3, 4, 5] * @dataFirst * @category Array */ declare function takeLastWhile(data: T, predicate: (item: T[number], index: number, data: T) => boolean): Array; /** * Returns elements from the end of the array until the predicate returns false. * The returned elements will be in the same order as in the original array. * * @param predicate - The predicate. * @signature * R.takeLastWhile(predicate)(data) * @example * R.pipe([1, 2, 10, 3, 4, 5], R.takeLastWhile(x => x < 10)) // => [3, 4, 5] * @dataLast * @category Array */ declare function takeLastWhile(predicate: (item: T[number], index: number, data: T) => boolean): (data: T) => Array; export { takeLastWhile };