/** * E2E Test Runner - PostgreSQL Adapter * * Database operations using pg pool */ import type { AdapterConfig, AdapterContext, AdapterStepResult, Logger } from '../types'; import { BaseAdapter } from './base.adapter'; import { type BaseAssertion } from '../assertions/assertion-runner'; export interface PostgreSQLAssertion extends BaseAssertion { row?: number; column: string; } export declare class PostgreSQLAdapter extends BaseAdapter { private pool; constructor(config: AdapterConfig, logger: Logger); get name(): string; connect(): Promise; disconnect(): Promise; execute(action: string, params: Record, ctx: AdapterContext): Promise; healthCheck(): Promise; /** * Execute SQL without returning results */ private executeSQL; /** * Query SQL and return all rows */ private querySQL; /** * Query SQL and return exactly one row */ private queryOneSQL; /** * Count rows matching query */ private countSQL; /** * Run assertions on query results using shared runner */ private runAssertions; /** * Tagged template literal for execute */ executeTemplate(strings: TemplateStringsArray, ...values: unknown[]): Promise; /** * Tagged template literal for query */ queryTemplate(strings: TemplateStringsArray, ...values: unknown[]): Promise[]>; /** * Tagged template literal for queryOne */ queryOneTemplate(strings: TemplateStringsArray, ...values: unknown[]): Promise>; /** * Convert tagged template to parameterized query */ private taggedToQuery; } //# sourceMappingURL=postgresql.adapter.d.ts.map