import type { IsomorphicIterable, Maybe, Unary } from "@vangware/types"; import type { ReducerOutput } from "./types/ReducerOutput.js"; /** * Returns the value of the first item in the iterable or asynchronous iterable * where predicate is `true`, `undefined` otherwise. * * @category Reducers * @example * ``` * const findEven = find((number: number) => number % 2 === 0); * findEven([1, 2, 3, 4]); // 2 * findEven([1, 3, 5, 7]); // undefined * ``` * @param predicate Predicate function to search for item. * @returns Curried function with `predicate` set in context. */ export declare const find: ( predicate: Unary, ) => >( iterable: Iterable_1, ) => ReducerOutput>;