import { Kysely } from 'kysely'; import { DreamDbConfig } from '../dream-app/index.js'; import { DbConnectionType } from '../types/db.js'; export default class DreamDbConnection { static getConnection(connectionName: string, connectionType: DbConnectionType, dialectProvider: DialectProviderCb): Kysely; private static getConnectionTypeName; } export declare function dreamDbConnections(): { [key: string]: { [key: string]: Kysely; }; }; export declare function closeAllDbConnections(): Promise; export declare function closeAllConnectionsForConnectionName(connectionName: string): Promise[]>; export type DialectProviderCb = (connectionConf: DreamDbConfig) => any;