import { Kysely } from 'kysely'; import { DreamDbConfig } from '../dream-app/index.js'; import Dream from '../Dream.js'; import { DbConnectionType } from '../types/db.js'; export default function db(connectionName?: string, connectionType?: DbConnectionType, dialectProvider?: (connectionConf: DreamDbConfig) => any): Kysely;