import type { Reducer } from "./api.js";
/**
 * Reducer to compute sum of values with given `init` value. Default: 0
 */
export declare function add(init?: number): Reducer<number, number>;
export declare function add(src: Iterable<number>): number;
export declare function add(init: number, src: Iterable<number>): number;
//# sourceMappingURL=add.d.ts.map