/** * Mirror OpenCode's OpenAI stripping (v2 provider/openai.ts context/compaction; * v1 openai/codex.ts chat.params) and v1 github-copilot/copilot.ts for GPT. * These backends can reject max_output_tokens, so Corvus must not re-add it. * Callers read host model IDs before mutation; true bypasses the default, * false retains it, and no configuration toggle disables this rule. */ export declare function hostOmitsOutputLimit({ providerID, modelID }: { providerID: string; modelID: string; }): boolean; /** * Leave a defined hook-visible output budget unchanged; otherwise use the smaller * of the model output limit and 32,000, falling back to 32,000 without a limit. * * Invariant: callers read the current value and available model limit before * mutating the request. A defined current value disables this default on either * host, even above 32,000; an absent limit uses the fallback, not a proven model * ceiling. Known limitation: v1 normally seeds the current value before its hook; * v2 exposes neither the resolved limit nor route/model generation defaults, so * the fallback can replace a larger hidden default. */ export declare function resolveOutputBudget({ current, modelLimit }: { current?: number; modelLimit?: number; }): number | undefined; //# sourceMappingURL=output-budget.d.ts.map