import type { MaybePromise, Series, SyncSeries } from '../../controls/types.js'; export declare function findSync(input: SyncSeries, test: (value: T) => value is S): S | undefined; export declare function findSync(test: (value: T) => value is S): (input: SyncSeries) => S | undefined; export declare function findSync(input: SyncSeries, test: (value: T) => boolean): T | undefined; export declare function findSync(test: (value: T) => boolean): (input: SyncSeries) => T | undefined; export declare function findAsync>(input: Series, test: ((value: Awaited) => value is S) | ((value: Awaited) => Promise)): Promise; export declare function findAsync>(test: ((value: Awaited) => value is S) | ((value: Awaited) => Promise)): (input: Series) => Promise; export declare function findAsync(input: Series, test: (value: Awaited) => MaybePromise): Promise; export declare function findAsync(test: (value: Awaited) => MaybePromise): (input: Series) => Promise; /** Returns the first met element with the specified test, and undefined otherwise. */ export declare namespace find { const sync: typeof findSync; const async: typeof findAsync; } //# sourceMappingURL=find.d.ts.map