/** * Claude caps its usable context at `min(model window, autoCompactWindow)`, but reports only the * full model window in `result.modelUsage`, so the configured value has to be read from the same * settings files the CLI reads, highest precedence first. Out-of-range entries fall through to the * next file exactly as the CLI schema drops them. The `CLAUDE_CODE_AUTO_COMPACT_WINDOW` override is * deliberately not consulted: buildClaudeEnv strips every `CLAUDE_CODE*` variable from the child * environment, so it can never reach the spawned CLI. */ export declare function resolveAutoCompactWindow(cwd: string, userConfigDir?: string): number | null;