/** * Model context window sizes (in tokens) for various LLM providers. * These values represent the maximum context length each model can handle. */ export declare const MODEL_CONTEXT_WINDOWS: Record; /** * Default context window size when model is not found in the mapping */ export declare const DEFAULT_CONTEXT_WINDOW = 128000; /** * Set custom model context windows to extend or override the default mapping * @param customWindows - Custom model to context window mapping */ export declare function setCustomModelContextWindows(customWindows: Record): void; /** * Get the context window size for a given model * @param modelId - The model identifier (e.g., 'gpt-4o', 'claude-3-5-sonnet') * @param userMaxTokens - Optional user-specified max tokens to override the default * @returns The context window size in tokens * * @example * ```typescript * const contextWindow = getModelContextWindow('gpt-4o'); * // Returns: 128000 * * const customWindow = getModelContextWindow('gpt-4o', 50000); * // Returns: 50000 (user override) * ``` */ export declare function getModelContextWindow(modelId: string, userMaxTokens?: number): number;