import type { MemoryStore, MemoryEvent } from "./memory.js"; /** * Sliding window context manager with token-based compaction. */ export declare class ContextManager { private readonly memory; private readonly windowTokens; private encoder?; constructor(memory: MemoryStore, windowTokens: number); private getEncoder; private countTokens; /** Return recent events that fit within token window. */ getWindow(): Promise; /** Returns true if compaction is needed (>80% of window used). */ needsCompaction(): Promise; estimateTokenCount(): Promise; } //# sourceMappingURL=context.d.ts.map