import type { DataSource, EntityManager } from "typeorm"; import type { IsolationLevel } from "./database"; export interface Tx { em: EntityManager; commit(): Promise; rollback(): Promise; } export declare function createTransaction(con: DataSource, isolationLevel: IsolationLevel): Promise; //# sourceMappingURL=tx.d.ts.map