import { type PoolQueryClient } from "../../generated/storage-kit/index.js"; export declare const APP_NAME = "sessions"; /** True when the environment selects the PostgreSQL (remote) backend for sessions. */ export declare function isCloudMode(env?: NodeJS.ProcessEnv): boolean; /** * Get the process-wide cloud Postgres client, creating it on first use. * Throws a clear error (never a silent no-op) when the environment is not in * cloud mode or the database URL is missing. */ export declare function getCloudClient(): PoolQueryClient; /** Close the cloud client (used on shutdown / in tests). */ export declare function closeCloudClient(): Promise; //# sourceMappingURL=client.d.ts.map