/**
 * Finds and returns the first element in an iterable that matches the given predicate.
 *
 * Iterates over the provided iterable and applies the predicate function to each item.
 * Returns the first item for which the predicate returns true. If no item matches,
 * it returns undefined.
 *
 * @param iter - The iterable to search through (e.g. an array, Set, or generator).
 * @param predicate - A function that tests each element. Should return true for the desired item.
 * @returns The first matching item, or undefined if none match.
 *
 * @example
 * ```ts
 * findInIterable([1, 2, 3, 4], (n) => n % 2 === 0);
 * // 2
 * ```
 */
export declare function findInIterable<T>(iter: Iterable<T>, predicate: (item: T) => boolean | undefined): T | undefined;
//# sourceMappingURL=find-in-iterable.d.ts.map