export declare const DEFAULT_OPENROUTER_MAX_OUTPUT_TOKENS = 8192; export declare const DEFAULT_AI_SDK_MAX_OUTPUT_TOKENS = 4096; export declare const DEFAULT_ANTHROPIC_MAX_OUTPUT_TOKENS = 8192; export declare const DEFAULT_BUILDER_MAX_OUTPUT_TOKENS = 8192; /** Cap for the first attempt of an interactive chat turn. */ export declare const MAIN_CHAT_MAX_OUTPUT_TOKENS_CAP = 32000; /** * Cap used only when retrying a turn that came back with an empty final * response (see production-agent.ts's empty-final-response retry). Higher * than the first-attempt cap so the retry meaningfully raises the ceiling. */ export declare const EMPTY_RESPONSE_RETRY_MAX_OUTPUT_TOKENS_CAP = 64000; /** * Resolve the max_output_tokens floor for the first attempt of an * interactive chat turn: min(model ceiling, 32K). Always at or above the * flat per-engine defaults above, regardless of whether the model is known. */ export declare function resolveMainChatMaxOutputTokens(modelId?: string): number; /** * Resolve the max_output_tokens to use when retrying a turn after an empty * final response: min(model ceiling, 64K). */ export declare function resolveEmptyResponseRetryMaxOutputTokens(modelId?: string): number; /** Anthropic's documented minimum extended-thinking budget. */ export declare const ANTHROPIC_MIN_THINKING_BUDGET_TOKENS = 1024; /** * Clamp a requested Anthropic thinking budget so it leaves guaranteed * headroom under `maxOutputTokens` for non-thinking output, and stays within * the provider's valid range (>= 1024, < maxOutputTokens). */ export declare function clampThinkingBudgetTokens(requestedBudgetTokens: number, maxOutputTokens: number): number | undefined; export declare function normalizeMaxOutputTokens(value: unknown, modelId?: string): number | null; export declare function defaultMaxOutputTokensForEngine(engineName: string, modelId?: string): number; export declare function resolveMaxOutputTokensForEngine(engineName: string, explicit?: unknown, modelId?: string): number; //# sourceMappingURL=output-tokens.d.ts.map