export type ReducerFnType = (acc: R, curr: I, index?: number, arr?: I[]) => R; export type ReduceType = (reducerFn: ReducerFnType, initialValue: R) => (arr: I[]) => R; export declare const reduce: ReduceType; //# sourceMappingURL=index.d.ts.map