import type { Curried } from '../../compositions/curry.js'; import type { Series, SyncSeries } from '../../controls/types.js'; declare function _syncFlatMap(input: SyncSeries, mapper: (value: I) => SyncSeries): Generator; declare function _asyncFlatMap(input: Series, mapper: (value: Awaited) => Series): AsyncGenerator>; export declare function flatMapSync(...args: Parameters>): ReturnType>; export declare function flatMapSync(...args: Parameters>>): ReturnType>>; export declare function flatMapAsync(...args: Parameters>): ReturnType>; export declare function flatMapAsync(...args: Parameters>>): ReturnType>>; /** Identical to a map followed by flatten. */ export declare namespace flatMap { const sync: typeof flatMapSync; const async: typeof flatMapAsync; } export {}; //# sourceMappingURL=flat-map.d.ts.map