import type { LanguageModelV3CallOptions } from '@ai-sdk/provider'; import { type ChatCompletionParams, type ProviderRoute } from '@namzu/sdk'; import type { ZenModel, ZenProtocol, ZenService } from './models.js'; export declare function goRejectsToolChoice(service: ZenService, model: string): boolean; export declare function createCallOptions(params: ChatCompletionParams, route: ProviderRoute, service: ZenService, protocol: ZenProtocol, known: ZenModel | undefined): LanguageModelV3CallOptions; /** * Admit an anonymous Zen request through the free-tier gate. * * `enabled` is the gate path — anonymous access on the official host. When a * caller registered no tool at all, the injected names also pin tool choice to * `none`: the four names are present because the gate reads them, and the * model is still told not to call any of them, so a turn that never asked for * tools never receives one it cannot execute. `honoursNone` is false on a wire * that rejects the choice — Muse Spark's Answers endpoint accepts only * `auto` — where the tools travel without a choice and the kernel's ordinary * unknown-tool answer covers a call to a name it does not hold. * A caller that did register tools keeps its own choice. */ export declare function withZenFreeTierTools(options: LanguageModelV3CallOptions, enabled: boolean, honoursNone?: boolean): LanguageModelV3CallOptions; //# sourceMappingURL=options.d.ts.map