import { AggregationComputer, AggregationGroupComputer, IndexKey, IValue, _IIndex, _ISelection, _IType, _Transaction } from '../../interfaces-private';
import { ExprCall } from 'pgsql-ast-parser';
export declare function buildCount(this: void, base: _ISelection, call: ExprCall): CountStar | CountExpr;
declare class CountStar implements AggregationComputer<number> {
    private on;
    constructor(on: _ISelection);
    get type(): _IType<any>;
    computeFromIndex(key: IndexKey, index: _IIndex, t: _Transaction): number | undefined;
    computeNoGroup(t: _Transaction): number | undefined;
    createGroup(): AggregationGroupComputer<number>;
}
declare class CountExpr implements AggregationComputer<number> {
    private exp;
    constructor(exp: IValue);
    get type(): _IType<any>;
    createGroup(t: _Transaction): AggregationGroupComputer<number>;
}
export {};
//# sourceMappingURL=count.d.ts.map