import { createPinboard } from "./server.js"; //#region src/postgres-durability.d.ts declare namespace PostgresDurabilityStore { /** Structurally a pg Pool or Client; the deployment supplies the driver. */ type Queryable = { query(text: string, values?: unknown[]): Promise<{ rows: Record[]; rowCount: number | null; }>; }; } /** DurabilityStore over the pinned host's `pinned_tray_index` table: a * `marked` row `(ns, id, tray_ns, tray_id)` means a tray has in-flight * work, so its instance needs waking; unmarked rows stay put. */ declare class PostgresDurabilityStore implements createPinboard.DurabilityStore { private readonly db; constructor(db: PostgresDurabilityStore.Queryable); listMarked(cursor: string | null, limit: number): Promise<{ entries: { env: string; hostname: string; ns: string; id: string; }[]; cursor: string | null; }>; } //#endregion export { PostgresDurabilityStore }; //# sourceMappingURL=postgres-durability.d.ts.map