import { IndexedPredicate } from "../types/IndexedPredicate"; /** * Determines whether every element in the source iterable satisfies the predicate. * * @typeParam T - Element type produced by the source iterable. * @param src - Source iterable to test. * @param pred - Predicate receiving each element and its index; must return `true` for all elements. * @returns `true` when every invocation of `pred` returns truthy; otherwise `false`. * @throws Error Rethrows any error thrown by `pred`. * * @example * ```ts * const allEven = _every([2, 4, 6], (value) => value % 2 === 0); * console.log(allEven); // true * ``` * * or using the curried version: * ```ts * const allEven = pipeInto([2, 4, 6], every((value) => value % 2 === 0)); * console.log(allEven); // true * ``` */ export declare function _every(src: Iterable, pred: IndexedPredicate): boolean; /** * Curried version of {@link _every}. */ export declare const every: (pred: IndexedPredicate) => (src: Iterable) => boolean;