import { ReduceOptions } from './reduceoptions'; /** * Applies an accumulator function over an iterable sequence from the right, returning the result of the aggregation as a * single element in the result sequence. The seed value, if specified, is used as the initial accumulator value. * For aggregation behavior with incremental intermediate results, scan. * * @export * @template T The type of the elements in the source sequence. * @template R The type of the result of the aggregation. * @param {Iterable} source An iterable sequence to aggregate over. * @param {ReduceOptions} options The options which contains a callback and optional seed. * @returns {R} The final accumulator value calculated from the right. */ export declare function reduceRight(source: Iterable, options: ReduceOptions): R; export declare function reduceRight(source: Iterable, accumulator: (accumulator: R, current: T, index: number) => R, seed?: R): R;