import { OperatorFunction, MonoTypeOperatorFunction } from '../types'; export declare function reduce(accumulator: (acc: T, value: T, index: number) => T, seed?: T): MonoTypeOperatorFunction; export declare function reduce(accumulator: (acc: T[], value: T, index: number) => T[], seed: T[]): OperatorFunction; export declare function reduce(accumulator: (acc: R, value: T, index: number) => R, seed?: R): OperatorFunction;