import type { Connection, FilterQuery } from 'mongoose'; import { factory } from '../factory'; import { IDocType } from './mongoose/schemas/scheduledTasks'; type IKeyOfProjection = keyof IDocType; type IFindParams = Pick; /** * 予定タスク管理リポジトリ */ export declare class AdminScheduledTaskRepo { private readonly scheduledTaskModel; constructor(connection: Connection); static CREATE_MONGO_CONDITIONS(params: Pick): FilterQuery[]; /** * 検索する */ findScheduledTasks(params: IFindParams, inclusion: IKeyOfProjection[]): Promise<(IDocType & { id: string; })[]>; } export {};