1 | import { AsyncIterableX } from '../../asynciterable/asynciterablex';
|
2 | export declare function reduceRightProto<T, R = T>(this: AsyncIterableX<T>, accumulator: (previousValue: R, currentValue: T, currentIndex: number) => R | Promise<R>, seed?: never[]): Promise<R>;
|
3 | export declare function reduceRightProto<T, R = T>(this: AsyncIterableX<T>, accumulator: (previousValue: R, currentValue: T, currentIndex: number) => R | Promise<R>, seed?: R): Promise<R>;
|
4 | declare module '../../asynciterable/asynciterablex' {
|
5 | interface AsyncIterableX<T> {
|
6 | reduceRight: typeof reduceRightProto;
|
7 | }
|
8 | }
|