/**
 * Core Memory Tool - MCP tool for core memory management
 * Operations: list, import, export, summary, embed, search, embed_status
 */
import type { ToolSchema, ToolResult } from '../types/tool.js';
/** Compact memory info for list operation */
interface CoreMemoryCompact {
    id: string;
    preview: string;
    archived: boolean;
    updated_at: string;
}
interface ListResult {
    operation: 'list';
    memories: CoreMemoryCompact[];
    total: number;
}
interface ImportResult {
    operation: 'import';
    id: string;
    message: string;
}
interface ExportResult {
    operation: 'export';
    id: string;
    content: string;
}
interface SummaryResult {
    operation: 'summary';
    id: string;
    summary: string;
}
interface EmbedResult {
    operation: 'embed';
    chunks_processed: number;
    chunks_failed: number;
    elapsed_time: number;
    message: string;
}
interface SearchResult {
    operation: 'search';
    query: string;
    matches: Array<{
        source_id: string;
        source_type: string;
        score: number;
        excerpt: string;
        restore_command: string;
    }>;
    total_matches: number;
}
interface EmbedStatusResult {
    operation: 'embed_status';
    total_chunks: number;
    embedded_chunks: number;
    pending_chunks: number;
    by_type: Record<string, {
        total: number;
        embedded: number;
    }>;
}
type OperationResult = ListResult | ImportResult | ExportResult | SummaryResult | EmbedResult | SearchResult | EmbedStatusResult;
export declare const schema: ToolSchema;
export declare function handler(params: Record<string, unknown>): Promise<ToolResult<OperationResult>>;
export {};
//# sourceMappingURL=core-memory.d.ts.map