import type { DatabaseSync } from "node:sqlite"; import { Hono } from "hono"; import type { BabybaseConfig, S3Config } from "./types.js"; type AppVariables = { db: DatabaseSync | null; babybaseConfig: { database: string | undefined; basePath: string; migrationsDir: string; settingsDir: string; readonly: boolean; }; }; declare module "hono" { interface ContextVariableMap extends AppVariables { } } export type AppEnv = { Variables: AppVariables; }; export declare function defineBabybase(config?: BabybaseConfig): { app: Hono; getDb: () => DatabaseSync | null; }; export type { BabybaseConfig, S3Config }; //# sourceMappingURL=index.d.ts.map