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