import * as z from "zod/v4"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CompletionArgsStop, CompletionArgsStop$Outbound } from "./completionargsstop.js"; import { Prediction, Prediction$Outbound } from "./prediction.js"; import { ReasoningEffort } from "./reasoningeffort.js"; import { ResponseFormat, ResponseFormat$Outbound } from "./responseformat.js"; import { ToolChoiceEnum } from "./toolchoiceenum.js"; /** * White-listed arguments from the completion API */ export type CompletionArgs = { stop?: CompletionArgsStop | null | undefined; presencePenalty?: number | null | undefined; frequencyPenalty?: number | null | undefined; temperature?: number | null | undefined; topP?: number | null | undefined; maxTokens?: number | null | undefined; randomSeed?: number | null | undefined; prediction?: Prediction | null | undefined; responseFormat?: ResponseFormat | null | undefined; toolChoice?: ToolChoiceEnum | undefined; reasoningEffort?: ReasoningEffort | null | undefined; }; /** @internal */ export declare const CompletionArgs$inboundSchema: z.ZodType; /** @internal */ export type CompletionArgs$Outbound = { stop?: CompletionArgsStop$Outbound | null | undefined; presence_penalty?: number | null | undefined; frequency_penalty?: number | null | undefined; temperature?: number | null | undefined; top_p?: number | null | undefined; max_tokens?: number | null | undefined; random_seed?: number | null | undefined; prediction?: Prediction$Outbound | null | undefined; response_format?: ResponseFormat$Outbound | null | undefined; tool_choice?: string | undefined; reasoning_effort?: string | null | undefined; }; /** @internal */ export declare const CompletionArgs$outboundSchema: z.ZodType; export declare function completionArgsToJSON(completionArgs: CompletionArgs): string; export declare function completionArgsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=completionargs.d.ts.map