export type PreserveReasoning = boolean | "auto"; /** * Wafer reasoning dialect. * * Wafer natively accepts a granular `reasoning_effort` (`none | low | medium | * high | max`), so — unlike the binary friendli/openrouter dialects — an * explicit level is forwarded verbatim instead of being collapsed to on/off: * - a level string (e.g. `'high'`, or `'max'` via providerOptions) * -> `reasoning_effort: ` * - reasoning on without a level (`reasoning_effort: true`) * -> `thinking: { type: 'enabled' }` * - reasoning off (`'none'` / `false`) * -> `thinking: { type: 'disabled' }` * * (`max` is Wafer-specific and not in the AI SDK's level set, so it is reachable * via `providerOptions.wafer.reasoningEffort: 'max'`.) */ export declare const waferReasoningTransform: (args: Record) => Record; export declare function createWaferRequestTransform(preserveReasoning?: PreserveReasoning): (args: Record) => Record; /** * Keeps a call-level `reasoning` option (including `'none'`) alive down to * {@link waferReasoningTransform}. */ export declare const waferReasoningMiddleware: import("ai").LanguageModelMiddleware;