import { factory } from '../../../factory'; import type { AssetTransactionRepo } from '../../../repo/assetTransaction'; import type { ProjectRepo } from '../../../repo/project'; import type { ReservationRepo } from '../../../repo/reservation'; export type IStartOperation = (repos: { project: ProjectRepo; reservation: ReservationRepo; assetTransaction: AssetTransactionRepo; }) => Promise; export type IStartParams = factory.assetTransaction.cancelReservation.IStartParamsWithoutDetail & { seller: { id?: string; }; instrument: factory.assetTransaction.cancelReservation.IInstrument[]; }; export declare function validateStartParams(params: IStartParams): (repos: { reservation: ReservationRepo; assetTransaction: AssetTransactionRepo; }) => Promise<{ reserveTransaction: import("@chevre/factory/lib/chevre/assetTransaction/reserve").ITransaction | undefined; reservations: (Pick & { reservationFor: Pick; })[] | undefined; }>; /** * 取引開始 */ export declare function start(params: IStartParams): IStartOperation>;