import { IdeSyncConfig } from '../types/index.js'; export interface ContextEvent { type: 'uncaught_exception' | 'unhandled_rejection' | 'agent_failure' | 'state_mutation'; message: string; timestamp: string; stackTrace?: string; payload?: any; } /** * IDE State Sync (Telepathic Context Injector) * * Captures, semantically filters, and formats runtime state/errors into a * local markdown file for seamless IDE AI integration (Cursor, Copilot, etc.) */ export declare class IdeContextSync { private config; private embeddingService?; private recentEmbeddings; private readonly MAX_HISTORY; private readonly SIMILARITY_THRESHOLD; constructor(ideConfig?: IdeSyncConfig); /** * Intercept a context event, filter it, and async-write it to the IDE context file */ intercept(event: ContextEvent): Promise; /** * Use semantic similarity (or string fallback) to strip noise and repetitive logs */ private applySemanticFilter; /** * Compress and format the context into a highly structured, LLM-optimized Markdown format */ private formatMarkdown; /** * Write the formatted context to the local file */ private writeContext; } //# sourceMappingURL=IdeContextSync.d.ts.map