/** * AST Context Service * * Smart context extraction for token reduction. * Provides budget-aware context assembly at different extraction levels. */ import type { ContextLevel, SmartContextOptions, SmartContextResult } from './ast.types.js'; /** * Extract smart context for a task */ export declare function extractSmartContext(options: SmartContextOptions): SmartContextResult; /** * Context Deduplicator — tracks what was sent across pipeline stages */ export declare class ContextDeduplicator { private state; getBackReference(symbolId: string): null | string; recordFileSent(filePath: string, stage: string, level: ContextLevel): void; recordSymbolSent(symbolId: string, stage: string, level: ContextLevel): void; reset(): void; wasFileSent(filePath: string, minLevel: ContextLevel): null | { level: ContextLevel; stage: string; }; wasSymbolSent(symbolId: string, minLevel: ContextLevel): null | { level: ContextLevel; stage: string; }; } export declare function getContextDeduplicator(): ContextDeduplicator; export declare function resetContextDeduplicator(): void; //# sourceMappingURL=ast-context.service.d.ts.map