import { type DbFunctions } from "../Connection";
import { type Dialect, type KyselyPlugin } from "kysely";
import { PostgresConnection } from "./PostgresConnection";
export type Constructor<T> = new (...args: any[]) => T;
export type CustomPostgresConnection = {
    supports?: Partial<PostgresConnection["supported"]>;
    fn?: Partial<DbFunctions>;
    plugins?: KyselyPlugin[];
    excludeTables?: string[];
};
export declare function createCustomPostgresConnection<T extends Constructor<Dialect>, C extends ConstructorParameters<T>[0]>(name: string, dialect: Constructor<Dialect>, options?: CustomPostgresConnection): (config: C) => PostgresConnection;
