import type { IsomorphicIterable, Predicate, Single, Unary, } from "@vangware/types"; import type { ReducerOutput } from "./types/ReducerOutput.js"; /** * Evaluates items in an iterable or asynchronous iterable against a predicate * and returns `true` if all items evaluates to `true`. * * @category Reducers * @example * ```typescript * const everyEven = every((number: number) => number % 2 === 0); * everyEven([2, 4, 6, 8]); // true * everyEven([1, 2, 3, 4]); // false * ``` * @param predicate Predicate function to evaluate each item. * @returns Curried function with `predicate` set in context. */ export declare const every: ( predicate: Single extends Single ? Unary : Predicate, ) => >( iterable: Iterable_1, ) => ReducerOutput;