import type { AnyDb } from './dialect.js'; /** Push the merged schema to the database via drizzle-kit/api. */ export declare function provisionSchema>(db: AnyDb, schema: TSchema, options?: { force?: boolean; databaseUrl?: string; }): Promise; /** * Provision the database for a Bunderstack app. * * The migrations folder is the mode switch: * - `/meta/_journal.json` exists → apply committed migrations via * drizzle-orm's migrator. Pure runtime; drizzle-kit is never imported, so a * fresh clone deploys with `bun install --production`. * - No migrations → development: push the schema straight to the database via * drizzle-kit (install it with `bun add -d drizzle-kit`). * * Once you run `bunx drizzle-kit generate` for the first time, provision stops * pushing and every schema change goes through an explicit `generate`. */ export declare function provision(app: object, options?: { force?: boolean; }): Promise; //# sourceMappingURL=provision.d.ts.map