import Database from "better-sqlite3";
import { type BetterSQLite3Database } from "drizzle-orm/better-sqlite3";
import { type FumaDB } from "fumadb";
import { schema as fumaSchema, type RelationsMap } from "fumadb/schema";
import type { FumaDb, FumaTables } from "./fuma-runtime";
type SqliteTestFumaSchema<TTables extends FumaTables> = ReturnType<typeof fumaSchema<string, TTables, RelationsMap<TTables>>>;
export interface SqliteTestFumaDb<TTables extends FumaTables = FumaTables> {
    readonly db: FumaDb<SqliteTestFumaSchema<TTables>>;
    readonly fuma: FumaDB<SqliteTestFumaSchema<TTables>[]>;
    readonly drizzle: BetterSQLite3Database<Record<string, unknown>>;
    readonly sqlite: Database.Database;
    readonly close: () => Promise<void>;
}
export interface CreateSqliteTestFumaDbOptions<TTables extends FumaTables = FumaTables> {
    readonly tables: TTables;
    readonly namespace?: string;
    readonly version?: string;
    readonly path?: string;
}
export declare const createSqliteTestFumaDb: <const TTables extends FumaTables>(options: CreateSqliteTestFumaDbOptions<TTables>) => Promise<SqliteTestFumaDb<TTables>>;
export {};
//# sourceMappingURL=sqlite-test-db.d.ts.map