import type { Connection } from 'mongoose'; import { factory } from '../factory'; type IAggregation = factory.aggregation.IAggregation; /** * 集計リポジトリ */ export declare class AggregationRepo { private readonly aggregationModel; constructor(connection: Connection); saveAggregation(params: IAggregation): Promise; search(params: { limit: number; page: number; typeOf?: { $eq?: string; }; aggregateDuration?: { $eq?: string; }; aggregateStart?: { $gte?: Date; $lte?: Date; }; }): Promise; unsetUnnecessaryFields(params: { filter: any; $unset: any; }): Promise; } export {};