import type {
	IsomorphicIterable,
	Predicate,
	Single,
	Unary,
} from "@lou.codes/types";
/**
 * Evaluates items in an iterable or asynchronous iterable against a predicate
 * and returns `true` if any item evaluates to `true`.
 *
 * @category Asynchronous Reducers
 * @example
 * ```typescript
 * const someEven = some((number: number) => number % 2 === 0);
 * someEven([1, 2, 3, 4]); // true
 * someEven([1, 3, 5, 7]); // false
 * ```
 * @param predicate Predicate function to evaluate each item.
 * @returns Curried function with `predicate` set in context.
 */
export declare const some: <Item, Predicated extends Item = never>(
	predicate: Single<Predicated> extends Single<never> ? Unary<Item, boolean>
	:	Predicate<Item, Predicated>,
) => (iterable: IsomorphicIterable<Item>) => Promise<boolean>;
