import type { BuiltInModelProviderId, ReasoningConfig } from "@b4run/sdk"; /** What the route's resolved provider is told, and whether reasoning text will stream. */ export interface ResolvedReasoningConfig { /** Constructor options for the provider's chat model, possibly empty. */ readonly constructorOptions: Readonly>; /** * Whether reasoning text reaches the stream: OpenAI only when a `summary` is * requested (the Responses API streams nothing otherwise), Anthropic whenever * thinking is enabled. `GET /agui/:routeId` advertises exactly this. */ readonly streams: boolean; } /** * The route's reasoning controls, checked against its RESOLVED provider. * Throws on a value that cannot mean anything — a sub-object for another * provider, an unknown key such as the 0.13 flat `effort`, a budget the API * would reject — so a misplaced or misspelled setting fails the route when its * model is built instead of silently running at the provider's default (the * same posture as `resolveModelRetryPolicy`). */ export declare function resolveReasoningConfig(provider: BuiltInModelProviderId, reasoning: ReasoningConfig | undefined): ResolvedReasoningConfig; //# sourceMappingURL=reasoning-config.d.ts.map