import type { Database as DatabaseType } from "better-sqlite3"; /** Whether this database's run ledger still pins the five outcomes it shipped * with — a healable defect, not a refusal. */ export declare function hasFiveOutcomeRunTable(db: DatabaseType): boolean; /** * Widen the run-outcome CHECK to admit `rate_limited`. SQLite cannot ALTER a * CHECK and the boot verifier compares stored SQL with zero tolerance, so this * is a table rebuild: rename, recreate at the canonical shape, copy every row, * drop the legacy table. The indexes come last on purpose — a rename carries * them along under their original names, so they have to die with the legacy * table before the canonical DDL can mint them again. * * The caller runs this inside the migration transaction, so a failure anywhere * leaves the old table exactly as it was. */ export declare function widenRunOutcomes(db: DatabaseType): void; //# sourceMappingURL=runs-migrate.d.ts.map