import sql from "mssql"; export interface SQLTransactionConfig { isolationLevel?: sql.IIsolationLevel; } export interface SQLTransactionOperation { execute(transaction: sql.Transaction, data: T): Promise; } export declare class SQLTransactionManager { private connection; constructor(connection: sql.ConnectionPool); /** * Executes a transaction with the given operation and data, manages rollbacks * @param operation The SQLTransactionOperation to execute * @param data The sql input parameters to pass to the operation * @param config The configuration for the transaction * @returns The result of the operation; throws exceptions on failures */ executeTransaction(operation: SQLTransactionOperation, data: T, config?: SQLTransactionConfig): Promise; } //# sourceMappingURL=sql-transaction-manager.d.ts.map