import type { Knex } from 'knex'; import type { Transaction } from './knex.types.js'; export interface DbConfig extends Knex.Config { client: DbClient; connection: DbConnectionConfig; /** * The version of the paradedb extension * env: PARADEDB_VER * @example 0.14.0 */ version?: string; } export type DbClient = 'pg' | 'pg-native'; export interface DbConnectionConfig { host: string; port: number; user: string; database: string; password?: string | (() => string | Promise); keepAlive?: boolean; statement_timeout?: false | number; parseInputDatesAsUTC?: boolean; ssl?: boolean; query_timeout?: number; keepAliveInitialDelayMillis?: number; idle_in_transaction_session_timeout?: number; connectionTimeoutMillis?: number; } export interface OptionsBase { trx?: Transaction | undefined | null; } //# sourceMappingURL=types.d.ts.map