/**
 * Database connection for open-domains
 */
import { Database } from "bun:sqlite";
/**
 * The default data root — the effective local data home (see `app-home.ts`).
 * Env overrides (HASNA_DOMAINS_DB_PATH wins over the legacy DOMAINS_DB_PATH
 * alias) and the exact-app overrides (HASNA_DOMAINS_HOME / HASNA_DOMAINS_DIR
 * win over DOMAINS_HOME / DOMAINS_DIR) are honored unchanged and win over the
 * default. This low-level module is used only by explicit migration/unit
 * fixtures; normal clients reject these settings.
 */
export declare function getDbPath(env?: NodeJS.ProcessEnv): string;
export declare function getDatabase(): Database;
export declare function closeDatabase(): void;
//# sourceMappingURL=database.d.ts.map