import { DbContext, ISOLATION_LEVEL, TDbConnConf, TDbContextOption } from "@simplysm/sd-orm-common"; import { Type } from "@simplysm/sd-core-common"; export declare class SdOrm { readonly dbContextType: Type; readonly config: TDbConnConf; readonly dbContextOpt?: Partial | undefined; constructor(dbContextType: Type, config: TDbConnConf, dbContextOpt?: Partial | undefined); connectAsync(callback: (conn: T) => Promise, isolationLevel?: ISOLATION_LEVEL): Promise; connectWithoutTransactionAsync(callback: (conn: T) => Promise): Promise; }