import type { Connection } from 'mongoose'; import { factory } from '../factory'; /** * 取引リポジトリ */ export declare class TransactionRepo { private readonly transactionModel; constructor(connection: Connection); /** * タスク未エクスポートの取引をひとつ取得してエクスポートを開始する */ startExportTasks(params: { status?: { $eq?: factory.transactionStatusType; }; id?: string; tasksExportAction: { agent: { name: string; }; }; endDate: { $lt: Date; }; sort?: { endDate?: factory.sortType; startDate?: factory.sortType; }; }): Promise | null>; /** * set task status exported by transaction id * IDでタスクをエクスポート済に変更する */ setTasksExportedById(params: { id: string; }): Promise; }