/**
 * SQLite Migrations Module
 *
 * Manages database schema migrations using umzug v3.
 * Legacy migrations (V1–V36) are registered programmatically from legacy-migrations.ts.
 * New migrations (36+) are individual .ts files in the migrations/ directory,
 * discovered at runtime via directory scan.
 *
 * Preserves the same export API (runSQLiteMigrations, LATEST_SCHEMA_VERSION) so
 * all 16+ importing files require zero changes.
 */
import type Database from 'better-sqlite3';
/**
 * The latest schema version (highest legacy migration version number).
 * Exported for test assertions so they don't hardcode version numbers.
 */
export declare const LATEST_SCHEMA_VERSION = 36;
/**
 * Runs all pending database migrations.
 * Safe to call multiple times (idempotent).
 *
 * Internally creates an Umzug instance configured with:
 *   - SQLiteMigrationStorage (custom better-sqlite3 storage adapter)
 *   - 35 legacy inline migrations from legacy-migrations.ts
 *   - Runtime discovery for new migration files (35+)
 *   - Debug-level logger (when DEBUG_SQL is set)
 *
 * @param db - Database instance to run migrations on
 */
/**
 * Returns the total number of registered migrations (legacy + discovered).
 * Exported for test assertions so they don't hardcode migration counts.
 */
export declare function getTotalMigrationCount(): Promise<number>;
export declare function runSQLiteMigrations(db: Database.Database): Promise<void>;
//# sourceMappingURL=migrations.d.ts.map