/**
 * Context Window Monitor
 *
 * Monitors context window usage and alerts when thresholds are exceeded.
 *
 * Thresholds:
 * - 70%: Info alert - "Still plenty of headroom"
 * - 85%: Warning - Consider compaction
 * - 95%: Critical - Immediate action needed
 */
export declare const CONTEXT_THRESHOLDS: {
    /** Info level - remind agent there's still room */
    readonly INFO: 0.7;
    /** Warning level - consider compaction soon */
    readonly WARNING: 0.85;
    /** Critical level - immediate action needed */
    readonly CRITICAL: 0.95;
};
export declare const CONTEXT_MONITOR_CONFIG: {
    /** Default max tokens for most models */
    readonly DEFAULT_MAX_TOKENS: 200000;
    /** Check interval in milliseconds */
    readonly CHECK_INTERVAL_MS: 30000;
    /** Minimum time between alerts (ms) */
    readonly ALERT_COOLDOWN_MS: 60000;
};
/**
 * Calculate context usage percentage
 */
export declare function calculateUsage(usedTokens: number, maxTokens: number): number;
/**
 * Get alert level based on usage
 */
export declare function getAlertLevel(usage: number): "info" | "warning" | "critical" | null;
/**
 * Format usage for display
 */
export declare function formatUsage(usage: number, usedTokens: number, maxTokens: number): string;
/**
 * Check context window usage and alert if needed
 */
export declare function checkContextWindow(sessionID: string, usedTokens: number, maxTokens?: number): void;
/**
 * Get injection prompt for context-aware agents
 * This reminds agents about context status when usage is high
 */
export declare function getContextInjection(usedTokens: number, maxTokens?: number): string | null;
/**
 * Cleanup session state
 */
export declare function cleanupSession(sessionID: string): void;
/**
 * Get current monitor status for debugging
 */
export declare function getMonitorStatus(sessionID: string): {
    lastAlertTime: number;
    lastAlertLevel: string | null;
    isMonitoring: boolean;
} | null;
