import { QueryRunner } from 'typeorm'; import { IsolationLevel } from 'typeorm/driver/types/IsolationLevel'; import { DataSourceMapService } from './data-source-map.service'; export declare class TypeORMTransactionService { private readonly dataSourceMapService; constructor(dataSourceMapService: DataSourceMapService); createConnection(connectionName?: string): QueryRunner; runInTransaction(method: (...param: any[]) => any, args: any[]): Promise; wrapByTransaction(method: (...param: any[]) => any, args: any[], queryRunner: QueryRunner, isolationLevel: IsolationLevel, isNested?: boolean): Promise; }