import type { ThinkingConfig } from '../../config/unified-config-types';
export type RuntimeThinkingSource = 'flag' | 'env' | 'config' | undefined;
/**
 * Parse CCS_THINKING env value using same rules as CLI parsing:
 * integer string => number, known level/off aliases => normalized string.
 * Unknown/invalid values are ignored to preserve config fallback behavior.
 */
export declare function parseEnvThinkingOverride(raw: string | undefined): string | number | undefined;
/**
 * Runtime precedence: CLI flag > CCS_THINKING env var.
 * Config is handled later during model/env resolution.
 */
export declare function resolveRuntimeThinkingOverride(flagOverride: string | number | undefined, envValue: string | undefined): {
    thinkingOverride: string | number | undefined;
    thinkingSource: RuntimeThinkingSource;
};
/**
 * Effective off logic for codex reasoning proxy wiring.
 */
export declare function shouldDisableCodexReasoning(thinkingConfig: ThinkingConfig, thinkingOverride: string | number | undefined): boolean;
/**
 * Build user-facing startup feedback label/source based on effective precedence.
 */
export declare function buildThinkingStartupStatus(thinkingConfig: ThinkingConfig, thinkingOverride: string | number | undefined, thinkingSource: RuntimeThinkingSource, sourceDisplay?: string): {
    thinkingLabel: string;
    sourceLabel: string;
};
//# sourceMappingURL=thinking-override-resolver.d.ts.map