import type { ProviderMessage } from "../providers/ProviderTypes.js"; import type { RunLogger } from "../runtime/RunLogger.js"; import type { ContextLane, ContextLaneRole, LaneScope, LocalContextConfig } from "./Types.js"; import { ContextStore } from "./ContextStore.js"; import { ContextRedactor } from "./ContextRedactor.js"; import { ContextSummarizer } from "./ContextSummarizer.js"; export interface ContextManagerOptions { config: LocalContextConfig; store: ContextStore; redactor?: ContextRedactor; summarizer?: ContextSummarizer; logger?: RunLogger; charPerToken?: number; } export declare const buildLaneId: (scope: LaneScope) => string; export declare class ContextManager { private options; private lanes; private enabled; private charPerToken; constructor(options: ContextManagerOptions); getLane(scope: LaneScope): Promise; append(laneId: string, message: ProviderMessage, meta?: { model?: string; tokens?: number; role?: ContextLaneRole; persisted?: boolean; }): Promise; prepare(laneId: string, options?: { systemPrompt?: string; bundle?: string; model?: string; }): Promise; summarizeIfNeeded(laneId: string, options?: { systemPrompt?: string; bundle?: string; model?: string; }): Promise; flush(laneId: string): Promise; private ensureLane; private enforceStorageLimits; private updateStateFromSnapshot; private logLaneUpdate; private logLaneSummarized; private logLaneTrimmed; } //# sourceMappingURL=ContextManager.d.ts.map