import { AllCollections } from "../../../types/schema.js"; import { AggregationOptions, AggregationOutput } from "../../../types/aggregate.js"; import { RestCommand } from "../../types.js"; //#region src/rest/commands/read/aggregate.d.ts /** * Aggregate allow you to perform calculations on a set of values, returning a single result. * @param collection The collection to aggregate * @param options The aggregation options * @returns Aggregated data * @throws Will throw if collection is empty */ declare const aggregate: , Options extends AggregationOptions>(collection: Collection, options: Options) => RestCommand, Schema>; //#endregion export { aggregate }; //# sourceMappingURL=aggregate.d.ts.map