import type { ThemeColor } from "../../../modes/theme/theme";
export type ContextUsageLevel = "normal" | "warning" | "purple" | "error";
export declare function getContextUsageLevel(contextPercent: number, contextWindow: number): ContextUsageLevel;
/**
 * Format context usage as `<percent>%/<window>` (e.g. `5.1%/1M`), matching the
 * status line's context gauge so subagent and footer renderers stay in sync.
 */
export declare function formatContextUsage(contextPercent: number | null | undefined, contextWindow: number): string;
export declare function getContextUsageThemeColor(level: ContextUsageLevel): ThemeColor;
