export interface ContextWindowState { usedTokens: number; maxTokens: number; sessionId: string; } export interface ContextWindowThresholds { warningPct: number; criticalPct: number; } export type ContextWindowAction = "none" | "warn" | "recover"; export interface ContextWindowCheckResult { action: ContextWindowAction; usagePct: number; message?: string; } export declare function checkContextWindow(state: ContextWindowState, thresholds?: ContextWindowThresholds): ContextWindowCheckResult; export declare function createContextWindowMonitor(thresholds?: ContextWindowThresholds): { check: (state: ContextWindowState) => ContextWindowCheckResult; };