import type { TransactionConfig } from '@expo/entity'; import { EntityQueryContextProvider } from '@expo/entity'; import type { Knex } from 'knex'; /** * Query context provider for knex (postgres). */ export declare class PostgresEntityQueryContextProvider extends EntityQueryContextProvider { private readonly knexInstance; constructor(knexInstance: Knex); protected getQueryInterface(): any; protected createTransactionRunner(transactionConfig?: TransactionConfig): (transactionScope: (trx: any) => Promise) => Promise; protected createNestedTransactionRunner(outerQueryInterface: any): (transactionScope: (queryInterface: any) => Promise) => Promise; private static convertTransactionConfig; }