import type { Curried } from '../../compositions/curry.js'; import type { MaybePromise, Series, SyncSeries } from '../../controls/types.js'; declare function _syncPeek(input: SyncSeries, action: (value: T) => void): Generator; declare function _asyncPeek(input: Series, action: (value: Awaited) => MaybePromise): AsyncGenerator>; export declare function peekSync(...args: Parameters>): ReturnType>; export declare function peekSync(...args: Parameters>>): ReturnType>>; export declare function peekAsync(...args: Parameters>): ReturnType>; export declare function peekAsync(...args: Parameters>>): ReturnType>>; /** Performs the specified action for each element and passes it through. */ export declare namespace peek { const sync: typeof peekSync; const async: typeof peekAsync; } export {}; //# sourceMappingURL=peek.d.ts.map