import type { SqlExecutor } from "../../contracts/storage/sql.js"; /** Runs a nested storage unit atomically inside the current async SQL transaction. */ export declare function withSqlSavepoint(sql: SqlExecutor, name: string, operation: () => Promise): Promise; /** Rolls a named savepoint back and releases it from the current async SQL transaction. */ export declare function rollbackSqlSavepoint(sql: SqlExecutor, name: string): Promise; //# sourceMappingURL=sqlTransaction.d.ts.map