/** * Idempotent. Patches `pg.Pool.prototype.connect` to stamp the caller's stack * onto each leased client. No-op unless `DREAM_DB_LEAK_DIAGNOSTICS` is set. */ export declare function installDbConnectionLeakDiagnosticsIfEnabled(): void; /** * If diagnostics are enabled, log the acquire stack of every client still * checked out. Called from the shutdown-drain timeout path. */ export declare function reportLeakedDbConnections(label: string): void;