import type { FoldFn } from '../types/functions/mod'; import { Curry2 } from '../lib/utils/mod'; export interface Fold { (fn: FoldFn, init: B | Promise, iter: AsyncIterable): Promise; (fn: FoldFn, init: B | Promise): (iter: AsyncIterable) => Promise; (fn: FoldFn): Curry2, AsyncIterable, Promise>; } export declare const fold: Fold; //# sourceMappingURL=fold.d.ts.map