import { type PostgresJsDatabase } from 'drizzle-orm/postgres-js';
import * as schema from './schema.js';
export type Db = PostgresJsDatabase<typeof schema>;
export interface DbHandle {
    db: Db;
    close: () => Promise<void>;
}
export declare function createDb(url: string, opts?: {
    max?: number;
    applicationName?: string;
}): DbHandle;
//# sourceMappingURL=db.d.ts.map