import { ErrorInterface, SuccessInterface } from "../../config/Interfaces/Helper/response.helper.interface"; import { CollectionResolver } from "../../config/Interfaces/Operation/aggregation.interface"; export default class Aggregation { private AllData; private readonly Pipeline; private readonly path; private readonly collectionName; private readonly ResponseHelper; private readonly collectionResolver?; constructor(collectionName: string, path: string, Pipeline: Record[], collectionResolver?: CollectionResolver); exec(): Promise; private loadSourceData; }