import { IDataFieldValue, ITPivotTupleInfo, PivotErrorTypeEnum, PivotSubtotalTypeEnum } from '../types';
/**
 * @class PivotTuple
 * @description use Welford algorithm calc subtotal
 * https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance
 */
export declare class PivotTuple {
    private _sum;
    private _count;
    private _countN;
    private _product;
    private _min;
    private _max;
    private _squareSum;
    constructor();
    getInfo(): ITPivotTupleInfo;
    reset(): void;
    addValue(value: IDataFieldValue): void;
    unionTuples(tuples: PivotTuple[]): void;
    unionTupleInfo(tupleInfo: ITPivotTupleInfo): void;
    getSubtotal(subtotalType: PivotSubtotalTypeEnum): number | {
        errorType: PivotErrorTypeEnum;
    };
}
