import type { BaseSQLiteDatabase } from "drizzle-orm/sqlite-core" import type * as schema from "./schemas" import type { DB } from "./types" export declare const sqlite: unknown export declare const db: DB export declare function initializeDB(): Promise export declare function migrateDB(): Promise export declare function getDBFile(): Promise export declare function exportDB(): Promise /** * Deletes the database file, normally you should reload the app after calling this function. */ export declare function deleteDB(): Promise export type AsyncDb = BaseSQLiteDatabase<"async", any, typeof schema>