import { types } from "../../../../ledger-sdk/src"; import { CommandDto } from '../../command/dtos/command.dto'; import { CommandEntityFactory } from '../../command/factories/command.entity.factory'; import { PrepareCommandEntityFactory } from '../../command/factories/prepare-command.entity.factory'; import { EntryDto } from '../../entry/dtos/entry.dto'; import { EntryEntityFactory } from '../../entry/factories/entry.entity.factory'; import { IntentEntityFactory } from '../../intent/factories/intent.entity.factory'; import { TransactionsService } from '../transactions.service'; export declare abstract class TransactionsController { protected commandFactory: CommandEntityFactory; protected transactions: TransactionsService; protected entryFactory: EntryEntityFactory; protected prepareCommandFactory: PrepareCommandEntityFactory; protected intentFactory: IntentEntityFactory; constructor(commandFactory: CommandEntityFactory, transactions: TransactionsService, entryFactory: EntryEntityFactory, prepareCommandFactory: PrepareCommandEntityFactory, intentFactory: IntentEntityFactory); abstract getSchema(): types.BridgeEntrySchema; create(dto: EntryDto): Promise; abort(handle: string, dto: CommandDto): Promise; commit(handle: string, dto: CommandDto): Promise; }