/**
 * Migrations Doctor
 *
 * Diagnoses and (with --rebuild-journal) repairs drift between
 * `quickback/drizzle/<dir>/*.sql`, `_journal.json`, and `<idx>_snapshot.json`.
 *
 * The compiler refuses to emit new migrations when this state is inconsistent
 * (see apps/compiler/src/utils/validate-migration-state.ts) because drizzle-kit
 * silently skips emission against a stale diff base, producing a compile that
 * appears successful while shipping a Worker that 500s on the new tables.
 *
 * Usage:
 *   quickback migrations doctor                    # diagnose only
 *   quickback migrations doctor --rebuild-journal  # rebuild _journal.json from on-disk .sql filenames
 */
export declare function migrations(args: string[]): Promise<void>;
//# sourceMappingURL=migrations.d.ts.map