import type { DbIntrospector, ColumnInfo, ForeignKeyInfo, EnumInfo } from '../db-introspector.js'; export interface QueryClient { query(sql: string, params?: unknown[]): Promise<{ rows: T[]; }>; end(): Promise; } export declare class PostgresIntrospector implements DbIntrospector { private client; private ownsClient; constructor(clientOrConnectionString: QueryClient | string); connect(): Promise; listTables(): Promise; getColumns(table: string): Promise; getForeignKeys(table: string): Promise; getAllColumns(): Promise>; getAllForeignKeys(): Promise>; listEnums(): Promise; close(): Promise; }