import type { Knex } from 'knex'; import { IndexManager } from './index-manager/index-manager.js'; import type { Transaction } from './knex.types.js'; import type { DbConfig } from './types.js'; export declare class ParadeDb { readonly dbId: string; readonly index: IndexManager; readonly dbh: Knex; protected readonly dbConfig: DbConfig; constructor(dbId: string, dbConfig: Partial); /** * Query builder Search * @link https://knexjs.org/guide/query-builder.html */ search(tableName: string): Knex.QueryBuilder; /** * Get the version of pg_search extension * @returns version string eg. "0.13.0" */ getSearchVersion(): Promise; getCurrentTime(): Promise; /** * * @param zone available `SELECT pg_timezone_names()` */ setTimeZone(zone: string): Promise; startTransaction(): Promise; execute(sql: string, params: unknown[], trx: Transaction | undefined | null): Promise; /** * Close the db connection */ destroy(): Promise; } //# sourceMappingURL=paradedb.d.ts.map