/**
 * Extended Context Configuration
 *
 * Handles the [1m] suffix for models supporting 1M token context window.
 * Claude Code recognizes this suffix to enable extended context.
 *
 * Behavior:
 * - Gemini family (gemini-*): Auto-enabled by default
 * - Claude (Anthropic): Opt-in via --1m flag
 */
/// <reference types="node" />
/// <reference types="bun-types" />
import type { CLIProxyProvider } from '../types';
export declare function applyExtendedContextSuffix(modelId: string): string;
/**
 * Determine if extended context should be applied to a model.
 *
 * @param provider - CLIProxy provider
 * @param modelId - Base model ID (without suffixes)
 * @param extendedContextOverride - CLI override (true = force on, false = force off, undefined = auto)
 * @returns Whether to apply extended context suffix
 */
export declare function shouldApplyExtendedContext(provider: CLIProxyProvider, modelId: string, extendedContextOverride?: boolean): boolean;
/**
 * Apply extended context configuration to env vars.
 * Modifies ANTHROPIC_MODEL and tier models with [1m] suffix.
 *
 * @param envVars - Environment variables to modify (mutated in place)
 * @param provider - CLIProxy provider
 * @param extendedContextOverride - CLI override (true = force on, false = force off, undefined = auto)
 */
export declare function applyExtendedContextConfig(envVars: NodeJS.ProcessEnv, provider: CLIProxyProvider, extendedContextOverride?: boolean): void;
//# sourceMappingURL=extended-context-config.d.ts.map