import type { TSchema } from "typebox"; import type { TReasoningEffort, TToolSpec } from "../../lib/llm/types.js"; import type { TOpenAiTool } from "./types.js"; /** * The effort to send `model`. GPT-6 models reject `minimal` with a 400, so * it becomes `low`, the nearest setting they accept; a configured * `minimal` — such as a consumer's environment override written for * GPT-5 — must not fail a run once the model changes under it. */ export declare function reasoningEffortForModel(model: string, effort: TReasoningEffort): TReasoningEffort; export declare function translateTools(tools: readonly TToolSpec[]): TOpenAiTool[]; export declare function findFunctionHandler(tools: readonly TToolSpec[] | undefined, name: string): Extract | undefined; export declare function deriveSchemaName(schema: TSchema): string; //# sourceMappingURL=openai-tools.d.ts.map