import { MemoryFile } from './types.js';
import { StorageManager } from './storage.js';
import { MemoryTier } from './tier-routing.js';
import { S as SearchBackend } from './port-B6VEDIkC.js';
import './index-1qIcnbG1.js';
import './page-versioning.js';
import './consolidation-operator.js';
import './memory-projection-store-CY8TU40w.js';
import 'better-sqlite3';
import './lifecycle.js';

interface TierMigrationRequest {
    memory: MemoryFile;
    fromTier: MemoryTier;
    toTier: MemoryTier;
    reason: string;
}
interface TierMigrationResult {
    memoryId: string;
    fromTier: MemoryTier;
    toTier: MemoryTier;
    changed: boolean;
    reason: string;
    targetPath: string;
}
interface TierMigrationExecutorOptions {
    storage: StorageManager;
    qmd: SearchBackend;
    hotCollection: string;
    coldCollection: string;
    autoEmbed?: boolean;
    journalPath?: string;
}
declare class TierMigrationExecutor {
    private readonly storage;
    private readonly qmd;
    private readonly hotCollection;
    private readonly coldCollection;
    private readonly autoEmbed;
    private readonly journalPath;
    constructor(options: TierMigrationExecutorOptions);
    migrateMemory(request: TierMigrationRequest): Promise<TierMigrationResult>;
    private collectionForTier;
    private appendJournal;
}

export { MemoryTier, TierMigrationExecutor, type TierMigrationExecutorOptions, type TierMigrationRequest, type TierMigrationResult };
