/**
 * Migration: 008 - AriGraph Schema Expansion
 * Description: Add triple extraction fields to memory_item table for AriGraph pipeline
 * Version: 8.0
 * Date: 2025-01-XX
 */
import type Database from 'better-sqlite3';
import type { Migration } from '../types.js';
/**
 * AriGraph Schema Expansion Migration
 *
 * This migration:
 * 1. Adds subject, predicate, object columns to memory_item table (for semantic memory structural storage)
 * 2. Adds triple_extracted, triple_extracted_status, triple_extraction_metadata columns to memory_item table
 * 3. Creates indexes for triple extraction fields
 * 4. Inserts initial relation types (extracted_from, supported_by) into relation_type_registry
 */
export declare class AriGraphSchemaExpansionMigration 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.
     * Columns cannot be easily removed without table recreation.
     */
    down(db: Database.Database): Promise<void>;
    /**
     * Validate after migration
     */
    validateAfter(db: Database.Database): Promise<void>;
}
//# sourceMappingURL=008-arigraph-schema-expansion.d.ts.map