/**
 * Migration: 010 - Add Core Memory Version Column
 * Description: Add version column to core_memory table for cache invalidation
 * Version: 10.0
 * Date: 2025-12-25
 */
import type Database from 'better-sqlite3';
import type { Migration } from '../types.js';
/**
 * Add Core Memory Version Column Migration
 *
 * This migration:
 * 1. Adds version column to core_memory table (INTEGER NOT NULL DEFAULT 0)
 * 2. Sets version = 1 for all existing rows
 * 3. Creates index on version column for efficient queries
 *
 * Purpose:
 * - Enable version-based cache invalidation
 * - Track changes to core memory records
 * - Support distributed cache synchronization in the future
 */
export declare class AddCoreMemoryVersionMigration implements Migration {
    version: string;
    name: string;
    description: string;
    /**
     * Load SQL file content
     *
     * 빌드 환경과 개발 환경 모두에서 작동하도록 import.meta.url을 사용합니다.
     * npx로 실행할 때도 올바른 경로를 찾을 수 있도록 현재 파일의 위치를 기준으로 합니다.
     */
    private loadSQLFile;
    /**
     * Execute SQL script
     * Removes transaction commands (BEGIN TRANSACTION, COMMIT) as MigrationRunner manages transactions
     */
    private executeSQL;
    /**
     * Check if table exists
     */
    private tableExists;
    /**
     * Check if index exists
     */
    private indexExists;
    /**
     * Check if column exists in table
     */
    private columnExists;
    /**
     * Validate before migration
     */
    validateBefore(db: Database.Database): Promise<void>;
    /**
     * Execute migration (Up)
     */
    up(db: Database.Database): Promise<void>;
    /**
     * Rollback migration (Down)
     */
    down(db: Database.Database): Promise<void>;
    /**
     * Validate after migration
     */
    validateAfter(db: Database.Database): Promise<void>;
}
//# sourceMappingURL=010-add-core-memory-version.d.ts.map