/**
 * Migration: 007 - Procedural Memory Enhancement
 * Description: Add workflow_name, skill_name, trigger_conditions fields to memory_item table and extend memory_link relation_type enum
 * Version: 7.0
 * Date: 2025-01-XX
 */
import type Database from 'better-sqlite3';
import type { Migration } from '../types.js';
/**
 * Procedural Memory Enhancement Migration
 *
 * This migration:
 * 1. Adds workflow_name, skill_name, trigger_conditions fields to memory_item table
 * 2. Creates indexes for new fields (workflow_name, skill_name)
 * 3. Extends memory_link relation_type enum to include 'version_of' for version management
 */
export declare class ProceduralMemoryEnhancementMigration implements Migration {
    version: string;
    name: string;
    description: string;
    /**
     * Load SQL file content
     */
    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 column exists in table
     */
    private columnExists;
    /**
     * Check if index exists
     */
    private indexExists;
    /**
     * Validate before migration
     */
    validateBefore(db: Database.Database): Promise<void>;
    /**
     * Execute migration (Up)
     */
    up(db: Database.Database): Promise<void>;
    /**
     * Rollback migration (Down)
     *
     * Note: SQLite does not support ALTER TABLE DROP COLUMN directly (requires SQLite 3.35.0+).
     * For full rollback, table recreation would be required, which is complex.
     * This implementation provides a basic rollback that removes indexes and attempts to remove columns.
     */
    down(db: Database.Database): Promise<void>;
    /**
     * Validate after migration
     */
    validateAfter(db: Database.Database): Promise<void>;
}
//# sourceMappingURL=007-procedural-memory-enhancement.d.ts.map