/** * `PgQueryFn` — the minimal pg query seam the server's PG-dialect stores are written against * (`(text, params) => Promise<{ rows }>`; deliberately NO rowCount — callers assert post-state, not counts). * * HISTORY: this type used to be re-exported by `@sema-agent/core` from its pg REFERENCE adapter. core 1.424.0 * removed the whole example-adapter export surface from the npm package (clay's package-hygiene ruling, * board [ref] — examples are in-repo samples, not user API). The type itself is server-owned wiring, so it * moved here VERBATIM (same shape as core 1.423's `examples/adapters/pg-adapter.d.ts`); six plugins consume it. */ export interface PgQueryResult { rows: Array>; } export type PgQueryFn = (text: string, params?: unknown[]) => Promise; /** Same relocation as PgQueryFn (core 1.424 example-adapter export removal): the embedding seam the * pg memory engine takes — verbatim shape from core 1.423's `examples/adapters/pg-adapter.d.ts`. */ export interface PgEmbedder { embed(text: string): Promise; dimensions: number; } //# sourceMappingURL=pg-query.d.ts.map