import { RedisCache } from "coa-redis"; import { MysqlBin } from "../libs/MysqlBin"; import { CoaMysql } from "../typings"; export declare class MysqlSafeTransaction { private readonly bin; private readonly cache; constructor(bin: MysqlBin, cache: RedisCache); safeTransaction(handler: (trx: CoaMysql.Transaction) => Promise): Promise; }