export type QueryResult<Row> = { rows: Row[]; }; export interface Queryable { query<Row = Record<string, unknown>>( text: string, values?: readonly unknown[], ): Promise<QueryResult<Row>>; }