/** * Context monitor - reads Claude Code context window JSON and writes state. * * Used by the status line integration to track context window usage. * Receives JSON via stdin from Claude Code and writes state files. * * @task T4454 * @epic T4454 */ /** Context window input from Claude Code. */ export interface ContextWindowInput { context_window: { context_window_size?: number; current_usage?: { input_tokens?: number; output_tokens?: number; cache_creation_input_tokens?: number; cache_read_input_tokens?: number; }; }; } /** Context status derived from input. */ export type ContextStatus = 'ok' | 'warning' | 'caution' | 'critical' | 'emergency'; /** Determine status from percentage. */ export declare function getContextStatusFromPercentage(percentage: number): ContextStatus; /** * Process context window input and write state file. * Returns the status line string for display. * * Tries adapter-based context monitoring first; falls back to local implementation. */ export declare function processContextInput(input: ContextWindowInput, cwd?: string): Promise; //# sourceMappingURL=context-monitor.d.ts.map