import type React from 'react';
import type { Message } from '../../../types/core.js';
/**
 * Checks context usage and displays warning if approaching limit.
 * Shows different warnings based on TOKEN_THRESHOLD thresholds.
 *
 * @param allMessages - All messages to check token count for
 * @param systemMessage - System message to include in count
 * @param currentProvider - Current LLM provider name
 * @param currentModel - Current model name
 * @param addToChatQueue - Callback to add warning message to chat
 * @param getNextComponentKey - Function to generate unique React keys
 */
export declare const checkContextUsage: (allMessages: Message[], systemMessage: Message, currentProvider: string, currentModel: string, addToChatQueue: (component: React.ReactNode) => void, getNextComponentKey: () => number) => Promise<void>;
//# sourceMappingURL=context-checker.d.ts.map