/**
 * Database migration runner for Proletariat workspace databases.
 *
 * Tracks applied migrations in a `prlt_migrations` table and runs
 * pending migrations on startup. Handles the initial state where
 * existing databases have no migrations table yet.
 */
import Database from 'better-sqlite3';
export interface Migration {
    /** Unique, sortable migration ID (e.g. "0001") */
    id: string;
    /** Human-readable name (e.g. "baseline") */
    name: string;
    /** Apply the migration to the database */
    up: (db: Database.Database) => void;
}
/**
 * Run all pending migrations against the database.
 *
 * - Creates the `prlt_migrations` tracking table if it doesn't exist.
 * - Skips migrations that have already been applied.
 * - Each migration runs in its own transaction so partial failures
 *   don't leave the tracking table out of sync.
 *
 * Safe to call on both brand-new and existing databases.
 */
export declare function runDrizzleMigrations(db: Database.Database, migrations: Migration[]): void;
