import type { AggregateSpec } from './QueryPlan.ts';
import type { QueryPropertyBag } from './QueryReadModelProvider.ts';
type PropsFetcher = (nodeId: string) => Promise<QueryPropertyBag>;
export type AggregateResult = {
    stateHash: string;
    count?: number;
    sum?: number;
    avg?: number;
    min?: number;
    max?: number;
};
export declare function runAggregate(params: {
    strand: readonly string[];
    stateHash: string;
    getProps: PropsFetcher;
    spec: AggregateSpec;
}): Promise<AggregateResult>;
export {};
