/**
 * Database Migrations
 *
 * Schema versioning and migration support.
 */
import { SqliteDatabase } from './sqlite-adapter';
/**
 * Current schema version
 */
export declare const CURRENT_SCHEMA_VERSION = 8;
/**
 * Migration definition
 */
interface Migration {
    version: number;
    description: string;
    up: (db: SqliteDatabase) => void;
}
/**
 * Get the current schema version from the database
 */
export declare function getCurrentVersion(db: SqliteDatabase): number;
/**
 * Run all pending migrations
 */
export declare function runMigrations(db: SqliteDatabase, fromVersion: number): void;
/**
 * Check if the database needs migration
 */
export declare function needsMigration(db: SqliteDatabase): boolean;
/**
 * Get list of pending migrations
 */
export declare function getPendingMigrations(db: SqliteDatabase): Migration[];
/**
 * Get migration history from database
 */
export declare function getMigrationHistory(db: SqliteDatabase): Array<{
    version: number;
    appliedAt: number;
    description: string | null;
}>;
export {};
//# sourceMappingURL=migrations.d.ts.map