import { factory } from '../../factory'; import type { ReserveActionRepo } from '../../repo/action/reserve'; import type { UseActionRepo } from '../../repo/action/use'; import type { AssetTransactionRepo } from '../../repo/assetTransaction'; import type { AuthorizationRepo } from '../../repo/authorization'; import type { OrderRepo } from '../../repo/order'; import type { ReservationRepo } from '../../repo/reservation'; import type { IntegrationSettingRepo } from '../../repo/setting/integration'; import type { TaskRepo } from '../../repo/task'; /** * 予約使用 */ export declare function useReservation(params: { project: { id: string; }; agent: factory.action.consume.use.reservation.IAgent; object: { /** * 予約ID */ id: string; }; instrument: factory.action.consume.use.reservation.IInstrument[]; location?: { identifier?: string; }; }): (repos: { actions: { use: UseActionRepo; reserve: ReserveActionRepo; }; assetTransaction: AssetTransactionRepo; code: AuthorizationRepo; order: OrderRepo; reservation: ReservationRepo; integrationSetting: IntegrationSettingRepo; task: TaskRepo; }) => Promise;