import { runtime_schema_d_exports } from "./runtime-schema.js";
import { NodePgDatabase } from "drizzle-orm/node-postgres";
import { PgliteDatabase } from "drizzle-orm/pglite";

//#region src/db/runtime/runtime-client.d.ts
type AgentsRunDatabaseClient = NodePgDatabase<typeof runtime_schema_d_exports> | PgliteDatabase<typeof runtime_schema_d_exports>;
interface AgentsRunDatabaseConfig {
  connectionString?: string;
  poolSize?: number;
  ssl?: boolean;
  logger?: {
    logQuery: (query: string, params: unknown[]) => void;
  };
}
/**
 * Creates a PostgreSQL database client with connection pooling
 */
declare function createAgentsRunDatabaseClient(config?: AgentsRunDatabaseConfig): AgentsRunDatabaseClient;
//#endregion
export { AgentsRunDatabaseClient, AgentsRunDatabaseConfig, createAgentsRunDatabaseClient };