import type { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";
import type { dbKysely, dbKyselyD1 } from "@batijs/kysely/database/kysely/db";
import type { db as sqliteDb } from "@batijs/sqlite/database/sqlite/db";
import { type UniversalHandler } from "@universal-middleware/core";
export declare const createTodoHandler: UniversalHandler<Universal.Context & BATI.If<{
    'BATI.has("sqlite") && !BATI.hasD1': {
        db: ReturnType<typeof sqliteDb>;
    };
    'BATI.has("drizzle") && !BATI.hasD1': {
        db: ReturnType<typeof dbSqlite>;
    };
    'BATI.has("drizzle")': {
        db: ReturnType<typeof dbD1>;
    };
    'BATI.has("kysely") && !BATI.hasD1': {
        db: ReturnType<typeof dbKysely>;
    };
    'BATI.has("kysely")': {
        db: ReturnType<typeof dbKyselyD1>;
    };
    "BATI.hasD1": {
        db: D1Database;
    };
    _: object;
}>>;
