/// import { PostgresConnectionOptions } from 'typeorm/driver/postgres/PostgresConnectionOptions'; import { Logger } from '@scaleleap/logger'; import { Config } from './config'; export { PostgresConnectionOptions } from 'typeorm/driver/postgres/PostgresConnectionOptions'; export interface CreateConnectionOptions { /** * Standard TypeORM options that will override and merge with the defaults. */ connectionOptions?: Partial; /** * An instance of Pino logger. */ logger?: Logger; } /** * Factory function to create TypeORM connections with sane defaults. */ export declare function createConnectionOptions(options?: CreateConnectionOptions, config?: Config): PostgresConnectionOptions;