import { DataSource } from 'typeorm'; import { types } from "../../../ledger-sdk/src"; import { CommandsService } from '../command/commands.service'; import { CommandEntity } from '../command/entities/command.entity'; import { BridgePrepareAction, Command } from '../command/types'; import { EntryEntity } from '../entry/entities/entry.entity'; import { EntriesService } from '../entry/entries.service'; import { IntentEntity } from '../intent/entities/intent.entity'; import { IntentsService } from '../intent/intents.service'; import { BankJobDataFactory } from '../job/bank-job.factory'; import { IScheduler } from '../scheduler/scheduler.service'; export declare class TransactionsService { protected commands: CommandsService; protected dataSource: DataSource; protected entries: EntriesService; protected intents: IntentsService; protected scheduler: IScheduler; protected jobFactory: BankJobDataFactory; constructor(commands: CommandsService, dataSource: DataSource, entries: EntriesService, intents: IntentsService, scheduler: IScheduler, jobFactory: BankJobDataFactory); isEntryAccepted(handle: types.LedgerHandle): Promise; prepare(command: CommandEntity, entry: EntryEntity, intent: IntentEntity): Promise; isCommandAccepted(handle: types.LedgerHandle, action: BridgePrepareAction | types.BridgeCommandAction): Promise; abort(command: CommandEntity, intent: IntentEntity): Promise; commit(command: CommandEntity, intent: IntentEntity): Promise; protected finalize(command: CommandEntity, intent: IntentEntity): Promise; protected scheduleCommand(command: Command): Promise; }