import type { Connection, PipelineStage } from 'mongoose'; import { factory } from '../factory'; type IMatchStage = PipelineStage.Match; type IReportAsFindResult = Pick & { isPartOf: { mainEntity: factory.report.accountingReport.IOrderAsMainEntity; }; }; /** * 経理レポート管理リポジトリ */ export declare class AdminAccountingReportRepo { private readonly accountingReportModel; constructor(connection: Connection); static CREATE_MONGO_CONDITIONS(params: factory.report.accountingReport.ISearchConditions & { seller?: { id?: string; }; }): IMatchStage[]; findAccountingReports(params: factory.report.accountingReport.ISearchConditions & { seller?: { id?: string; }; limit: number; page: number; }): Promise; /** * 注文番号で削除する */ deleteByOrderNumber(params: { mainEntity: { orderNumber: string; }; }): Promise; unsetUnnecessaryFields(params: { filter: any; $unset: any; }): Promise; } export {};