import type { LockObserverConfig, ObserverPool, QueryExecutor } from './fault-types.mts'; /** Returns the PostgreSQL backend PID serving `query`'s current connection. */ export declare function getTestPostgresBackendProcessId(query: QueryExecutor): Promise; /** Runs `text` on the executor chosen by `observerPool`. */ export declare function runObservation(config: LockObserverConfig, observerPool: ObserverPool, text: string, values: unknown[]): Promise<{ rows: Row[]; }>; /** Returns the backend PID holding an exact session advisory lock owned by this test. */ export declare function getAdvisoryLockHolderProcessId(config: LockObserverConfig, input: { key: string; mode?: 'exclusive' | 'shared'; namespace?: number; }): Promise;