/// import { Knex } from "knex"; import { ModelConnectivitySettings } from "./Model"; import { Repository } from "./Model.entity.repository"; import { ClassType } from "../types"; export type QueryParameterTypes = string | number | bigint | boolean | null | Date | Array | Array | Array | Array | Array | Buffer; export declare class TransactionScope { readonly kx: Knex; constructor(kx: Knex); execute(query: string, params?: Array, options?: { debug: boolean; }): Promise; getRepository>(repository: ClassType): Repository; } export declare class ConnectionManager { private readonly kx; constructor(kx: Knex); static getConnectionManager(settings: ModelConnectivitySettings): ConnectionManager; transaction(ctx: (conn: TransactionScope) => Promise): Promise; getRepository>(entity: ClassType): Repository; }