import type { dbKysely, dbKyselyD1 } from "../db";
export declare function insertTodo(db: BATI.If<{
    "!BATI.hasD1": ReturnType<typeof dbKysely>;
    "BATI.hasD1": ReturnType<typeof dbKyselyD1>;
}>, text: string): Promise<{
    id: number;
    text: string;
}>;
export declare function getAllTodos(db: BATI.If<{
    "!BATI.hasD1": ReturnType<typeof dbKysely>;
    "BATI.hasD1": ReturnType<typeof dbKyselyD1>;
}>): Promise<{
    id: number;
    text: string;
}[]>;
