import { z } from "zod"; import { GammaInfraClient } from "../client.js"; import { type McpToolResult } from "./result.js"; export declare const chatCompletionsInputSchema: z.ZodObject<{ model: z.ZodString; messages: z.ZodArray; content: z.ZodUnion<[z.ZodString, z.ZodArray, z.ZodNull]>; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_calls: z.ZodOptional>; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string | any[] | null; name?: string | undefined; tool_call_id?: string | undefined; tool_calls?: any[] | undefined; }, { role: "system" | "user" | "assistant" | "tool"; content: string | any[] | null; name?: string | undefined; tool_call_id?: string | undefined; tool_calls?: any[] | undefined; }>, "many">; temperature: z.ZodOptional; max_tokens: z.ZodOptional; max_completion_tokens: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; response_format: z.ZodOptional; tools: z.ZodOptional>; tool_choice: z.ZodOptional; cost_quality: z.ZodOptional; max_latency_ms: z.ZodOptional; preference: z.ZodOptional>; region: z.ZodOptional; }, "strict", z.ZodTypeAny, { model: string; messages: { role: "system" | "user" | "assistant" | "tool"; content: string | any[] | null; name?: string | undefined; tool_call_id?: string | undefined; tool_calls?: any[] | undefined; }[]; temperature?: number | undefined; max_tokens?: number | undefined; max_completion_tokens?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; response_format?: any; tools?: any[] | undefined; tool_choice?: any; cost_quality?: number | undefined; max_latency_ms?: number | undefined; preference?: "quality" | "cost" | "latency" | undefined; region?: string | undefined; }, { model: string; messages: { role: "system" | "user" | "assistant" | "tool"; content: string | any[] | null; name?: string | undefined; tool_call_id?: string | undefined; tool_calls?: any[] | undefined; }[]; temperature?: number | undefined; max_tokens?: number | undefined; max_completion_tokens?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; response_format?: any; tools?: any[] | undefined; tool_choice?: any; cost_quality?: number | undefined; max_latency_ms?: number | undefined; preference?: "quality" | "cost" | "latency" | undefined; region?: string | undefined; }>; export type ChatCompletionsInput = z.infer; export declare const chatCompletionsTool: { name: string; description: string; inputSchema: z.ZodObject<{ model: z.ZodString; messages: z.ZodArray; content: z.ZodUnion<[z.ZodString, z.ZodArray, z.ZodNull]>; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_calls: z.ZodOptional>; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string | any[] | null; name?: string | undefined; tool_call_id?: string | undefined; tool_calls?: any[] | undefined; }, { role: "system" | "user" | "assistant" | "tool"; content: string | any[] | null; name?: string | undefined; tool_call_id?: string | undefined; tool_calls?: any[] | undefined; }>, "many">; temperature: z.ZodOptional; max_tokens: z.ZodOptional; max_completion_tokens: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; response_format: z.ZodOptional; tools: z.ZodOptional>; tool_choice: z.ZodOptional; cost_quality: z.ZodOptional; max_latency_ms: z.ZodOptional; preference: z.ZodOptional>; region: z.ZodOptional; }, "strict", z.ZodTypeAny, { model: string; messages: { role: "system" | "user" | "assistant" | "tool"; content: string | any[] | null; name?: string | undefined; tool_call_id?: string | undefined; tool_calls?: any[] | undefined; }[]; temperature?: number | undefined; max_tokens?: number | undefined; max_completion_tokens?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; response_format?: any; tools?: any[] | undefined; tool_choice?: any; cost_quality?: number | undefined; max_latency_ms?: number | undefined; preference?: "quality" | "cost" | "latency" | undefined; region?: string | undefined; }, { model: string; messages: { role: "system" | "user" | "assistant" | "tool"; content: string | any[] | null; name?: string | undefined; tool_call_id?: string | undefined; tool_calls?: any[] | undefined; }[]; temperature?: number | undefined; max_tokens?: number | undefined; max_completion_tokens?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; response_format?: any; tools?: any[] | undefined; tool_choice?: any; cost_quality?: number | undefined; max_latency_ms?: number | undefined; preference?: "quality" | "cost" | "latency" | undefined; region?: string | undefined; }>; }; export declare function chatCompletionsHandler(input: ChatCompletionsInput, client: GammaInfraClient): Promise; //# sourceMappingURL=chat_completions.d.ts.map