import { CalculatedField, Context, App, Queries, Collection, CollectionItem } from "../../../main.js"; type StagesGetter = (context: Context, item: CollectionItem, db_document: any) => Queries.QueryStage[]; export default class Aggregate extends CalculatedField { name: string; stages_getter: StagesGetter; constructor(app: App, collection: Collection, stages_getter: StagesGetter); calculate(context: Context, item: CollectionItem, db_document: any): Promise; } export {};