import type { Curried } from '../../compositions/curry.js'; import type { Series, SyncSeries } from '../../controls/types.js'; declare function _syncForEach(input: SyncSeries, action: (value: T) => void): void; declare function _asyncForEach(input: Series, action: (value: Awaited) => void | Promise): Promise; export declare function forEachSync(...args: Parameters>): ReturnType>; export declare function forEachSync(...args: Parameters>>): ReturnType>>; export declare function forEachAsync(...args: Parameters>): ReturnType>; export declare function forEachAsync(...args: Parameters>>): ReturnType>>; /** Performs the specified action for each element. */ export declare namespace forEach { const sync: typeof forEachSync; const async: typeof forEachAsync; } export {}; //# sourceMappingURL=for-each.d.ts.map