import * as zod from 'zod'; import { z } from 'zod'; import { ChatModelSchemaType, ChatModelV1, UrlType, HeadersType, ParamsType, EmbeddingModelSchemaType, EmbeddingModelV1, ProviderV1 } from '@adaline/provider'; import { MessageType, ConfigType, ToolType, ChatResponseType, PartialChatResponseType, ChatModelPriceType, ContentType, EmbeddingRequestsType, EmbeddingResponseType, EmbeddingModelPriceType } from '@adaline/types'; declare const OpenAIChatModelConfigs: { readonly base: (maxOutputTokens: number, maxSequences: number) => { def: { readonly temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; readonly topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; readonly topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject<{ temperature: zod.ZodOptional>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; }>; }; readonly responseFormat: (maxOutputTokens: number, maxSequences: number) => { def: { responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; }>; }; readonly responseSchema: (maxOutputTokens: number, maxSequences: number) => { def: { responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; }>; }; readonly oSeries: (maxOutputTokens: number, maxSequences: number) => { def: { temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { temperature: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; }; readonly o1Series: (maxOutputTokens: number, maxSequences: number) => { def: { temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { temperature: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; }; readonly gpt5: (maxOutputTokens: number, maxSequences: number) => { def: { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; }; readonly gpt5_1: (maxOutputTokens: number, maxSequences: number) => { def: { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; }; readonly gpt5_2Plus: (maxOutputTokens: number, maxSequences: number) => { def: { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; }; readonly gpt5Codex: (maxOutputTokens: number, maxSequences: number) => { def: { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; }; readonly gpt5Pro: (maxOutputTokens: number, maxSequences: number) => { def: { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; }; readonly responseSchemaWithWebSearch: (maxOutputTokens: number, maxSequences: number) => { def: { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; webSearchTool?: boolean | null | undefined; }>; }; readonly oSeriesWithWebSearch: (maxOutputTokens: number, maxSequences: number) => { def: { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { temperature: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; }; readonly o1SeriesWithWebSearch: (maxOutputTokens: number, maxSequences: number) => { def: { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { temperature: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; }; readonly gpt5WithWebSearch: (maxOutputTokens: number, maxSequences: number) => { def: { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; }; readonly gpt5_1WithWebSearch: (maxOutputTokens: number, maxSequences: number) => { def: { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; }; readonly gpt5_2PlusWithWebSearch: (maxOutputTokens: number, maxSequences: number) => { def: { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; }; readonly gpt5ProWithWebSearch: (maxOutputTokens: number, maxSequences: number) => { def: { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; }; }; declare const OpenAIEmbeddingModelConfigs: { readonly base: () => { def: { readonly encodingFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject<{ encodingFormat: zod.ZodOptional>>>; }, "strip", zod.ZodTypeAny, { encodingFormat?: string | null | undefined; }, { encodingFormat?: string | null | undefined; }>; }; readonly dimensions: (maxDimensions: number) => { def: { readonly dimensions: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly encodingFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; schema: zod.ZodObject>>>; }, { dimensions: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { dimensions?: number | undefined; encodingFormat?: string | null | undefined; }, { dimensions?: number | undefined; encodingFormat?: string | null | undefined; }>; }; }; declare const ChatModelBaseConfigSchema: (maxOutputTokens: number, maxSequences: number) => z.ZodObject<{ temperature: z.ZodOptional>; maxTokens: z.ZodOptional>; stop: z.ZodOptional>>; topP: z.ZodOptional>; frequencyPenalty: z.ZodOptional>; presencePenalty: z.ZodOptional>; seed: z.ZodEffects>, number | undefined, number | undefined>; logProbs: z.ZodOptional>>; topLogProbs: z.ZodOptional>; toolChoice: z.ZodOptional>>>; }, "strip", z.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; }>; declare const ChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: number) => { readonly temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; readonly topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; readonly topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const temperature: { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const maxTokens: (maxOutputTokens: number) => { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const stop: (maxSequences: number) => { def: { type: "multi-string"; param: string; title: string; description: string; max: number; }; schema: zod.ZodOptional>>; }; declare const topP: { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const frequencyPenalty: { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const presencePenalty: { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const seed: { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const logProbs: { def: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; schema: zod.ZodOptional>>; }; declare const topLogProbs: { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const toolChoice: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const reasoningEffort: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const reasoningEffort5_1: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const reasoningEffort5_2Plus: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const reasoningEffortCodex: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const reasoningEffortPro: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const verbosity: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const webSearchTool: { def: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; schema: zod.ZodOptional>>; }; declare const webSearchAllowedDomains: { def: { type: "multi-string"; param: string; title: string; description: string; max: number; }; schema: zod.ZodOptional>>; }; declare const webSearchExternalAccess: { def: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; schema: zod.ZodOptional>>; }; declare const ChatModelGPT5ConfigDef: (maxOutputTokens: number, maxSequences: number) => { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelGPT5ConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; declare const ChatModelGPT5_1ConfigDef: (maxOutputTokens: number, maxSequences: number) => { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelGPT5_1ConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; declare const ChatModelGPT5_1WithWebSearchConfigDef: (maxOutputTokens: number, maxSequences: number) => { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelGPT5_1WithWebSearchConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; declare const ChatModelGPT5_2PlusConfigDef: (maxOutputTokens: number, maxSequences: number) => { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelGPT5_2PlusConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; declare const ChatModelGPT5_2PlusWithWebSearchConfigDef: (maxOutputTokens: number, maxSequences: number) => { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelGPT5_2PlusWithWebSearchConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; declare const ChatModelGPT5CodexConfigDef: (maxOutputTokens: number, maxSequences: number) => { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelGPT5CodexConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; declare const ChatModelGPT5ProConfigDef: (maxOutputTokens: number, maxSequences: number) => { reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelGPT5ProConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; declare const ChatModelGPT5ProWithWebSearchConfigDef: (maxOutputTokens: number, maxSequences: number) => { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelGPT5ProWithWebSearchConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; declare const ChatModelGPT5WithWebSearchConfigDef: (maxOutputTokens: number, maxSequences: number) => { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; verbosity: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelGPT5WithWebSearchConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { reasoningEffort: zod.ZodOptional>>>; verbosity: zod.ZodOptional>>>; responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; verbosity?: string | null | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; declare const ChatModelOSeriesConfigDef: (maxOutputTokens: number, maxSequences: number) => { temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelOSeriesConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { temperature: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; declare const ChatModelO1SeriesConfigDef: (maxOutputTokens: number, maxSequences: number) => { temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelO1SeriesConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { temperature: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; }>; declare const ChatModelOSeriesWithWebSearchConfigDef: (maxOutputTokens: number, maxSequences: number) => { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelOSeriesWithWebSearchConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { temperature: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; declare const ChatModelO1SeriesWithWebSearchConfigDef: (maxOutputTokens: number, maxSequences: number) => { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; reasoningEffort: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelO1SeriesWithWebSearchConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { temperature: zod.ZodOptional>; reasoningEffort: zod.ZodOptional>>>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; reasoningEffort?: string | null | undefined; webSearchTool?: boolean | null | undefined; }>; declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSequences: number) => { responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelResponseFormatConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; }>; declare const ChatModelResponseSchemaConfigDef: (maxOutputTokens: number, maxSequences: number) => { responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelResponseSchemaConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; }, { temperature?: number | undefined; seed?: number | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; }>; declare const ChatModelResponseSchemaWithWebSearchConfigDef: (maxOutputTokens: number, maxSequences: number) => { webSearchTool: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; webSearchAllowedDomains: { type: "multi-string"; param: string; title: string; description: string; max: number; }; webSearchExternalAccess: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; responseFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; responseSchema: { type: "object-schema"; param: string; title: string; description: string; objectSchema?: any; }; temperature: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; maxTokens: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; stop: { type: "multi-string"; param: string; title: string; description: string; max: number; }; topP: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; frequencyPenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; presencePenalty: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; seed: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; logProbs: { type: "select-boolean"; param: string; title: string; description: string; default: boolean | null; }; topLogProbs: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; toolChoice: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const ChatModelResponseSchemaWithWebSearchConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject>; maxTokens: zod.ZodOptional>; stop: zod.ZodOptional>>; topP: zod.ZodOptional>; frequencyPenalty: zod.ZodOptional>; presencePenalty: zod.ZodOptional>; seed: zod.ZodEffects>, number | undefined, number | undefined>; logProbs: zod.ZodOptional>>; topLogProbs: zod.ZodOptional>; toolChoice: zod.ZodOptional>>>; }, { responseFormat: zod.ZodOptional>>>; responseSchema: zod.ZodOptional>; }>, { webSearchTool: zod.ZodOptional>>; webSearchAllowedDomains: zod.ZodOptional>>; webSearchExternalAccess: zod.ZodOptional>>; }>, "strip", zod.ZodTypeAny, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; webSearchTool?: boolean | null | undefined; }, { temperature?: number | undefined; seed?: number | undefined; webSearchAllowedDomains?: string[] | undefined; webSearchExternalAccess?: boolean | null | undefined; stop?: string[] | undefined; maxTokens?: number | undefined; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; logProbs?: boolean | null | undefined; topLogProbs?: number | undefined; toolChoice?: string | null | undefined; responseFormat?: string | null | undefined; responseSchema?: { [x: string]: any; } | undefined; webSearchTool?: boolean | null | undefined; }>; declare const EmbeddingModelBaseConfigSchema: () => z.ZodObject<{ encodingFormat: z.ZodOptional>>>; }, "strip", z.ZodTypeAny, { encodingFormat?: string | null | undefined; }, { encodingFormat?: string | null | undefined; }>; declare const EmbeddingModelBaseConfigDef: () => { readonly encodingFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const encodingFormat: { def: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; schema: zod.ZodOptional>>>; }; declare const dimensions: (maxDimensions: number) => { def: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; schema: zod.ZodOptional>; }; declare const EmbeddingModelDimensionsConfigSchema: (maxDimensions: number) => zod.ZodObject>>>; }, { dimensions: zod.ZodOptional>; }>, "strip", zod.ZodTypeAny, { dimensions?: number | undefined; encodingFormat?: string | null | undefined; }, { dimensions?: number | undefined; encodingFormat?: string | null | undefined; }>; declare const EmbeddingModelDimensionsConfigDef: (maxDimensions: number) => { readonly dimensions: { type: "range"; param: string; title: string; description: string; max: number; default: number; min: number; step: number; }; readonly encodingFormat: { type: "select-string"; param: string; title: string; description: string; default: string; choices: string[]; }; }; declare const OpenAIChatModelRoles: z.ZodEnum<["system", "user", "assistant", "tool"]>; declare const OpenAIChatModelRolesMap: { readonly system: "system"; readonly user: "user"; readonly assistant: "assistant"; readonly tool: "tool"; }; declare const OpenAIChatModelModalities: ChatModelSchemaType["modalities"]; declare const OpenAIChatModelModalitiesEnum: z.ZodEnum<["text", "image", "tool-call", "tool-response"]>; declare const OpenAIChatModelTextModalities: ChatModelSchemaType["modalities"]; declare const OpenAIChatModelTextModalitiesEnum: z.ZodEnum<["text"]>; declare const OpenAIChatModelTextToolModalities: ChatModelSchemaType["modalities"]; declare const OpenAIChatModelTextToolModalitiesEnum: z.ZodEnum<["text", "tool-call", "tool-response"]>; declare const OpenAIChatModelWebSearchModalities: ChatModelSchemaType["modalities"]; declare const OpenAIChatModelWebSearchModalitiesEnum: z.ZodEnum<["text", "image", "tool-call", "tool-response", "search-result"]>; declare const OpenAIChatModelWithWebSearchModalities: ChatModelSchemaType["modalities"]; declare const OpenAIChatModelWithWebSearchModalitiesEnum: z.ZodEnum<["text", "image", "tool-call", "tool-response", "search-result"]>; declare const OpenAIChatModelProWithWebSearchModalities: ChatModelSchemaType["modalities"]; declare const OpenAIChatModelProWithWebSearchModalitiesEnum: z.ZodEnum<["text", "image", "tool-call", "tool-response", "search-result"]>; declare const OpenAIToolCallsCompleteChatResponse: z.ZodArray; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; arguments: string; }, { name: string; arguments: string; }>; }, "strip", z.ZodTypeAny, { function: { name: string; arguments: string; }; type: "function"; id: string; }, { function: { name: string; arguments: string; }; type: "function"; id: string; }>, "many">; declare const OpenAICompleteChatResponse: z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"chat.completion">; created: z.ZodNumber; model: z.ZodString; system_fingerprint: z.ZodNullable; choices: z.ZodArray>; tool_calls: z.ZodOptional; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; arguments: string; }, { name: string; arguments: string; }>; }, "strip", z.ZodTypeAny, { function: { name: string; arguments: string; }; type: "function"; id: string; }, { function: { name: string; arguments: string; }; type: "function"; id: string; }>, "many">>; refusal: z.ZodOptional>; annotations: z.ZodOptional; url_citation: z.ZodObject<{ start_index: z.ZodNumber; end_index: z.ZodNumber; title: z.ZodString; url: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; url: string; start_index: number; end_index: number; }, { title: string; url: string; start_index: number; end_index: number; }>; }, "strip", z.ZodTypeAny, { type: "url_citation"; url_citation: { title: string; url: string; start_index: number; end_index: number; }; }, { type: "url_citation"; url_citation: { title: string; url: string; start_index: number; end_index: number; }; }>, "many">>; }, "strip", z.ZodTypeAny, { role: string; content?: string | null | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; refusal?: string | null | undefined; annotations?: { type: "url_citation"; url_citation: { title: string; url: string; start_index: number; end_index: number; }; }[] | undefined; }, { role: string; content?: string | null | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; refusal?: string | null | undefined; annotations?: { type: "url_citation"; url_citation: { title: string; url: string; start_index: number; end_index: number; }; }[] | undefined; }>; logprobs: z.ZodOptional>; }, { top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }>, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>>; refusal: z.ZodOptional>; }, { top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }>, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>>; }, "strip", z.ZodTypeAny, { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; }, { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; }>>>; finish_reason: z.ZodString; }, "strip", z.ZodTypeAny, { message: { role: string; content?: string | null | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; refusal?: string | null | undefined; annotations?: { type: "url_citation"; url_citation: { title: string; url: string; start_index: number; end_index: number; }; }[] | undefined; }; index: number; finish_reason: string; logprobs?: { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; } | null | undefined; }, { message: { role: string; content?: string | null | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; refusal?: string | null | undefined; annotations?: { type: "url_citation"; url_citation: { title: string; url: string; start_index: number; end_index: number; }; }[] | undefined; }; index: number; finish_reason: string; logprobs?: { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; } | null | undefined; }>, "many">; usage: z.ZodObject<{ prompt_tokens: z.ZodNumber; completion_tokens: z.ZodNumber; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt_tokens: number; completion_tokens: number; total_tokens: number; }, { prompt_tokens: number; completion_tokens: number; total_tokens: number; }>; }, "strip", z.ZodTypeAny, { object: "chat.completion"; choices: { message: { role: string; content?: string | null | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; refusal?: string | null | undefined; annotations?: { type: "url_citation"; url_citation: { title: string; url: string; start_index: number; end_index: number; }; }[] | undefined; }; index: number; finish_reason: string; logprobs?: { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; } | null | undefined; }[]; id: string; model: string; created: number; system_fingerprint: string | null; usage: { prompt_tokens: number; completion_tokens: number; total_tokens: number; }; }, { object: "chat.completion"; choices: { message: { role: string; content?: string | null | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; refusal?: string | null | undefined; annotations?: { type: "url_citation"; url_citation: { title: string; url: string; start_index: number; end_index: number; }; }[] | undefined; }; index: number; finish_reason: string; logprobs?: { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; } | null | undefined; }[]; id: string; model: string; created: number; system_fingerprint: string | null; usage: { prompt_tokens: number; completion_tokens: number; total_tokens: number; }; }>; type OpenAICompleteChatResponseType = z.infer; declare const OpenAIToolCallsStreamChatResponse: z.ZodArray; type: z.ZodOptional>; function: z.ZodOptional; arguments: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; arguments?: string | undefined; }, { name?: string | undefined; arguments?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }, { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }>, "many">; declare const OpenAIStreamChatResponse: z.ZodObject<{ id: z.ZodString; object: z.ZodString; created: z.ZodNumber; model: z.ZodString; system_fingerprint: z.ZodOptional>; choices: z.ZodArray>; tool_calls: z.ZodOptional; type: z.ZodOptional>; function: z.ZodOptional; arguments: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; arguments?: string | undefined; }, { name?: string | undefined; arguments?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }, { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }>, "many">>; refusal: z.ZodOptional>; }, "strip", z.ZodTypeAny, { content?: string | null | undefined; tool_calls?: { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }[] | undefined; refusal?: string | null | undefined; }, { content?: string | null | undefined; tool_calls?: { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }[] | undefined; refusal?: string | null | undefined; }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>; logprobs: z.ZodOptional>; }, { top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }>, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>>; refusal: z.ZodOptional>; }, { top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }>, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>>; }, "strip", z.ZodTypeAny, { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; }, { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; }>>>; finish_reason: z.ZodNullable; }, "strip", z.ZodTypeAny, { index: number; finish_reason: string | null; delta: { content?: string | null | undefined; tool_calls?: { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }[] | undefined; refusal?: string | null | undefined; } | {}; logprobs?: { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; } | null | undefined; }, { index: number; finish_reason: string | null; delta: { content?: string | null | undefined; tool_calls?: { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }[] | undefined; refusal?: string | null | undefined; } | {}; logprobs?: { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; } | null | undefined; }>, "many">; usage: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { object: string; choices: { index: number; finish_reason: string | null; delta: { content?: string | null | undefined; tool_calls?: { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }[] | undefined; refusal?: string | null | undefined; } | {}; logprobs?: { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; } | null | undefined; }[]; id: string; model: string; created: number; system_fingerprint?: string | null | undefined; usage?: { prompt_tokens: number; completion_tokens: number; total_tokens: number; } | null | undefined; }, { object: string; choices: { index: number; finish_reason: string | null; delta: { content?: string | null | undefined; tool_calls?: { index: number; function?: { name?: string | undefined; arguments?: string | undefined; } | undefined; type?: "function" | undefined; id?: string | undefined; }[] | undefined; refusal?: string | null | undefined; } | {}; logprobs?: { content?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; refusal?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | null | undefined; } | null | undefined; }[]; id: string; model: string; created: number; system_fingerprint?: string | null | undefined; usage?: { prompt_tokens: number; completion_tokens: number; total_tokens: number; } | null | undefined; }>; type OpenAIStreamChatResponseType = z.infer; declare const OpenAIChatRequestTool: z.ZodObject<{ type: z.ZodLiteral<"function">; function: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; strict: z.ZodOptional; parameters: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }, { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { function: { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }; type: "function"; }, { function: { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }; type: "function"; }>; type OpenAIChatRequestToolType = z.infer; declare const OpenAIChatRequestToolChoiceEnum: z.ZodEnum<["none", "auto", "required"]>; type OpenAIChatRequestToolChoiceEnumType = z.infer; declare const OpenAIChatRequestToolChoiceFunction: z.ZodObject<{ type: z.ZodLiteral<"function">; function: z.ZodObject<{ name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; }, { name: string; }>; }, "strip", z.ZodTypeAny, { function: { name: string; }; type: "function"; }, { function: { name: string; }; type: "function"; }>; type OpenAIChatRequestToolChoiceFunctionType = z.infer; declare const OpenAIChatRequestResponseFormat: z.ZodUnion<[z.ZodObject<{ type: z.ZodEnum<["text", "json_object"]>; }, "strip", z.ZodTypeAny, { type: "text" | "json_object"; }, { type: "text" | "json_object"; }>, z.ZodObject<{ type: z.ZodLiteral<"json_schema">; json_schema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; strict: z.ZodOptional; schema: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }, { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { type: "json_schema"; json_schema: { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }; }, { type: "json_schema"; json_schema: { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }; }>]>; type OpenAIChatRequestResponseFormatType = z.infer; declare const OpenAIChatRequestTextContent: z.ZodObject<{ text: z.ZodString; type: z.ZodLiteral<"text">; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>; type OpenAIChatRequestTextContentType = z.infer; declare const OpenAIChatRequestImageContent: z.ZodObject<{ type: z.ZodLiteral<"image_url">; image_url: z.ZodObject<{ url: z.ZodString; detail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url: string; detail?: "auto" | "low" | "high" | undefined; }, { url: string; detail?: "auto" | "low" | "high" | undefined; }>; }, "strip", z.ZodTypeAny, { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }, { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }>; type OpenAIChatRequestImageContentType = z.infer; declare const OpenAIChatRequestToolCallContent: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function">; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; arguments: string; }, { name: string; arguments: string; }>; }, "strip", z.ZodTypeAny, { function: { name: string; arguments: string; }; type: "function"; id: string; }, { function: { name: string; arguments: string; }; type: "function"; id: string; }>; type OpenAIChatRequestToolCallContentType = z.infer; declare const OpenAIChatRequestSystemMessage: z.ZodObject<{ role: z.ZodLiteral<"system">; content: z.ZodUnion<[z.ZodString, z.ZodArray; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">]>; }, "strip", z.ZodTypeAny, { role: "system"; content: string | { type: "text"; text: string; }[]; }, { role: "system"; content: string | { type: "text"; text: string; }[]; }>; type OpenAIChatRequestSystemMessageType = z.infer; declare const OpenAIChatRequestUserMessage: z.ZodObject<{ role: z.ZodLiteral<"user">; content: z.ZodUnion<[z.ZodString, z.ZodArray; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, z.ZodObject<{ type: z.ZodLiteral<"image_url">; image_url: z.ZodObject<{ url: z.ZodString; detail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url: string; detail?: "auto" | "low" | "high" | undefined; }, { url: string; detail?: "auto" | "low" | "high" | undefined; }>; }, "strip", z.ZodTypeAny, { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }, { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }>]>, "many">]>; }, "strip", z.ZodTypeAny, { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; })[]; }, { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; })[]; }>; type OpenAIChatRequestUserMessageType = z.infer; declare const OpenAIChatRequestAssistantMessage: z.ZodObject<{ role: z.ZodLiteral<"assistant">; content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">]>>; tool_calls: z.ZodOptional; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; arguments: string; }, { name: string; arguments: string; }>; }, "strip", z.ZodTypeAny, { function: { name: string; arguments: string; }; type: "function"; id: string; }, { function: { name: string; arguments: string; }; type: "function"; id: string; }>, "many">>; }, "strip", z.ZodTypeAny, { role: "assistant"; content?: string | { type: "text"; text: string; }[] | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; }, { role: "assistant"; content?: string | { type: "text"; text: string; }[] | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; }>; type OpenAIChatRequestAssistantMessageType = z.infer; declare const OpenAIChatRequestToolMessage: z.ZodObject<{ role: z.ZodLiteral<"tool">; tool_call_id: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { role: "tool"; content: string; tool_call_id: string; }, { role: "tool"; content: string; tool_call_id: string; }>; type OpenAIChatRequestToolMessageType = z.infer; declare const OpenAIChatRequestMessage: z.ZodUnion<[z.ZodObject<{ role: z.ZodLiteral<"system">; content: z.ZodUnion<[z.ZodString, z.ZodArray; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">]>; }, "strip", z.ZodTypeAny, { role: "system"; content: string | { type: "text"; text: string; }[]; }, { role: "system"; content: string | { type: "text"; text: string; }[]; }>, z.ZodObject<{ role: z.ZodLiteral<"user">; content: z.ZodUnion<[z.ZodString, z.ZodArray; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, z.ZodObject<{ type: z.ZodLiteral<"image_url">; image_url: z.ZodObject<{ url: z.ZodString; detail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url: string; detail?: "auto" | "low" | "high" | undefined; }, { url: string; detail?: "auto" | "low" | "high" | undefined; }>; }, "strip", z.ZodTypeAny, { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }, { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }>]>, "many">]>; }, "strip", z.ZodTypeAny, { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; })[]; }, { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; })[]; }>, z.ZodObject<{ role: z.ZodLiteral<"assistant">; content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">]>>; tool_calls: z.ZodOptional; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; arguments: string; }, { name: string; arguments: string; }>; }, "strip", z.ZodTypeAny, { function: { name: string; arguments: string; }; type: "function"; id: string; }, { function: { name: string; arguments: string; }; type: "function"; id: string; }>, "many">>; }, "strip", z.ZodTypeAny, { role: "assistant"; content?: string | { type: "text"; text: string; }[] | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; }, { role: "assistant"; content?: string | { type: "text"; text: string; }[] | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; }>, z.ZodObject<{ role: z.ZodLiteral<"tool">; tool_call_id: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { role: "tool"; content: string; tool_call_id: string; }, { role: "tool"; content: string; tool_call_id: string; }>]>; type OpenAIChatRequestMessageType = z.infer; declare const OpenAIChatRequest: z.ZodObject<{ model: z.ZodOptional; messages: z.ZodArray; content: z.ZodUnion<[z.ZodString, z.ZodArray; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">]>; }, "strip", z.ZodTypeAny, { role: "system"; content: string | { type: "text"; text: string; }[]; }, { role: "system"; content: string | { type: "text"; text: string; }[]; }>, z.ZodObject<{ role: z.ZodLiteral<"user">; content: z.ZodUnion<[z.ZodString, z.ZodArray; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, z.ZodObject<{ type: z.ZodLiteral<"image_url">; image_url: z.ZodObject<{ url: z.ZodString; detail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url: string; detail?: "auto" | "low" | "high" | undefined; }, { url: string; detail?: "auto" | "low" | "high" | undefined; }>; }, "strip", z.ZodTypeAny, { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }, { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }>]>, "many">]>; }, "strip", z.ZodTypeAny, { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; })[]; }, { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; })[]; }>, z.ZodObject<{ role: z.ZodLiteral<"assistant">; content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">]>>; tool_calls: z.ZodOptional; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; arguments: string; }, { name: string; arguments: string; }>; }, "strip", z.ZodTypeAny, { function: { name: string; arguments: string; }; type: "function"; id: string; }, { function: { name: string; arguments: string; }; type: "function"; id: string; }>, "many">>; }, "strip", z.ZodTypeAny, { role: "assistant"; content?: string | { type: "text"; text: string; }[] | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; }, { role: "assistant"; content?: string | { type: "text"; text: string; }[] | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; }>, z.ZodObject<{ role: z.ZodLiteral<"tool">; tool_call_id: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { role: "tool"; content: string; tool_call_id: string; }, { role: "tool"; content: string; tool_call_id: string; }>]>, "many">; frequency_penalty: z.ZodOptional>; logprobs: z.ZodOptional>; top_logprobs: z.ZodOptional>; max_completion_tokens: z.ZodOptional>; presence_penalty: z.ZodOptional>; response_format: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "text" | "json_object"; }, { type: "text" | "json_object"; }>, z.ZodObject<{ type: z.ZodLiteral<"json_schema">; json_schema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; strict: z.ZodOptional; schema: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }, { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { type: "json_schema"; json_schema: { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }; }, { type: "json_schema"; json_schema: { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }; }>]>>; seed: z.ZodOptional>; stop: z.ZodOptional]>>>; temperature: z.ZodOptional>; top_p: z.ZodOptional>; tools: z.ZodOptional; function: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; strict: z.ZodOptional; parameters: z.ZodRecord; }, "strip", z.ZodTypeAny, { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }, { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { function: { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }; type: "function"; }, { function: { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }; type: "function"; }>, "many">>; tool_choice: z.ZodOptional, z.ZodObject<{ type: z.ZodLiteral<"function">; function: z.ZodObject<{ name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; }, { name: string; }>; }, "strip", z.ZodTypeAny, { function: { name: string; }; type: "function"; }, { function: { name: string; }; type: "function"; }>]>>; reasoning_effort: z.ZodOptional>; verbosity: z.ZodOptional>; }, "strip", z.ZodTypeAny, { messages: ({ role: "system"; content: string | { type: "text"; text: string; }[]; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; })[]; } | { role: "assistant"; content?: string | { type: "text"; text: string; }[] | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; } | { role: "tool"; content: string; tool_call_id: string; })[]; temperature?: number | null | undefined; top_p?: number | null | undefined; frequency_penalty?: number | null | undefined; presence_penalty?: number | null | undefined; seed?: number | null | undefined; logprobs?: boolean | null | undefined; top_logprobs?: number | null | undefined; tool_choice?: "auto" | "required" | "none" | { function: { name: string; }; type: "function"; } | undefined; reasoning_effort?: "none" | "medium" | "minimal" | "low" | "high" | "xhigh" | undefined; verbosity?: "medium" | "low" | "high" | undefined; max_completion_tokens?: number | null | undefined; stop?: string | string[] | null | undefined; response_format?: { type: "text" | "json_object"; } | { type: "json_schema"; json_schema: { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }; } | undefined; model?: string | undefined; tools?: { function: { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }; type: "function"; }[] | undefined; }, { messages: ({ role: "system"; content: string | { type: "text"; text: string; }[]; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; })[]; } | { role: "assistant"; content?: string | { type: "text"; text: string; }[] | undefined; tool_calls?: { function: { name: string; arguments: string; }; type: "function"; id: string; }[] | undefined; } | { role: "tool"; content: string; tool_call_id: string; })[]; temperature?: number | null | undefined; top_p?: number | null | undefined; frequency_penalty?: number | null | undefined; presence_penalty?: number | null | undefined; seed?: number | null | undefined; logprobs?: boolean | null | undefined; top_logprobs?: number | null | undefined; tool_choice?: "auto" | "required" | "none" | { function: { name: string; }; type: "function"; } | undefined; reasoning_effort?: "none" | "medium" | "minimal" | "low" | "high" | "xhigh" | undefined; verbosity?: "medium" | "low" | "high" | undefined; max_completion_tokens?: number | null | undefined; stop?: string | string[] | null | undefined; response_format?: { type: "text" | "json_object"; } | { type: "json_schema"; json_schema: { name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }; } | undefined; model?: string | undefined; tools?: { function: { name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }; type: "function"; }[] | undefined; }>; type OpenAIChatRequestType = z.infer; declare const OpenAIResponsesRequestInputTextContent: z.ZodObject<{ type: z.ZodLiteral<"input_text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "input_text"; text: string; }, { type: "input_text"; text: string; }>; type OpenAIResponsesRequestInputTextContentType = z.infer; declare const OpenAIResponsesRequestInputImageContent: z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodObject<{ url: z.ZodString; detail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url: string; detail?: "auto" | "low" | "high" | undefined; }, { url: string; detail?: "auto" | "low" | "high" | undefined; }>; }, "strip", z.ZodTypeAny, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }>; type OpenAIResponsesRequestInputImageContentType = z.infer; declare const OpenAIResponsesRequestInputFileContent: z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodOptional; file_url: z.ZodOptional; filename: z.ZodOptional; file_data: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }>; type OpenAIResponsesRequestInputFileContentType = z.infer; declare const OpenAIResponsesRequestOutputTextContent: z.ZodObject<{ type: z.ZodLiteral<"output_text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; }, { type: "output_text"; text: string; }>; type OpenAIResponsesRequestOutputTextContentType = z.infer; declare const OpenAIResponsesRequestInputContentPart: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral<"input_text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "input_text"; text: string; }, { type: "input_text"; text: string; }>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodObject<{ url: z.ZodString; detail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url: string; detail?: "auto" | "low" | "high" | undefined; }, { url: string; detail?: "auto" | "low" | "high" | undefined; }>; }, "strip", z.ZodTypeAny, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodOptional; file_url: z.ZodOptional; filename: z.ZodOptional; file_data: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }>]>; type OpenAIResponsesRequestInputContentPartType = z.infer; declare const OpenAIResponsesRequestOutputContentPart: z.ZodObject<{ type: z.ZodLiteral<"output_text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; }, { type: "output_text"; text: string; }>; type OpenAIResponsesRequestOutputContentPartType = z.infer; declare const OpenAIResponsesRequestMessageItem: z.ZodObject<{ type: z.ZodLiteral<"message">; role: z.ZodEnum<["user", "assistant", "system", "developer"]>; content: z.ZodUnion<[z.ZodString, z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "input_text"; text: string; }, { type: "input_text"; text: string; }>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodObject<{ url: z.ZodString; detail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url: string; detail?: "auto" | "low" | "high" | undefined; }, { url: string; detail?: "auto" | "low" | "high" | undefined; }>; }, "strip", z.ZodTypeAny, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodOptional; file_url: z.ZodOptional; filename: z.ZodOptional; file_data: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }>]>, "many">, z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; }, { type: "output_text"; text: string; }>, "many">]>; }, "strip", z.ZodTypeAny, { type: "message"; role: "system" | "user" | "assistant" | "developer"; content: string | ({ type: "input_text"; text: string; } | { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; } | { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; })[] | { type: "output_text"; text: string; }[]; }, { type: "message"; role: "system" | "user" | "assistant" | "developer"; content: string | ({ type: "input_text"; text: string; } | { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; } | { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; })[] | { type: "output_text"; text: string; }[]; }>; type OpenAIResponsesRequestMessageItemType = z.infer; declare const OpenAIResponsesRequestFunctionCallItem: z.ZodObject<{ type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; arguments: string; call_id: string; }, { type: "function_call"; name: string; arguments: string; call_id: string; }>; type OpenAIResponsesRequestFunctionCallItemType = z.infer; declare const OpenAIResponsesRequestFunctionCallOutputItem: z.ZodObject<{ type: z.ZodLiteral<"function_call_output">; call_id: z.ZodString; output: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call_output"; call_id: string; output: string; }, { type: "function_call_output"; call_id: string; output: string; }>; type OpenAIResponsesRequestFunctionCallOutputItemType = z.infer; declare const OpenAIResponsesRequestInputItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"message">; role: z.ZodEnum<["user", "assistant", "system", "developer"]>; content: z.ZodUnion<[z.ZodString, z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "input_text"; text: string; }, { type: "input_text"; text: string; }>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodObject<{ url: z.ZodString; detail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url: string; detail?: "auto" | "low" | "high" | undefined; }, { url: string; detail?: "auto" | "low" | "high" | undefined; }>; }, "strip", z.ZodTypeAny, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodOptional; file_url: z.ZodOptional; filename: z.ZodOptional; file_data: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }>]>, "many">, z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; }, { type: "output_text"; text: string; }>, "many">]>; }, "strip", z.ZodTypeAny, { type: "message"; role: "system" | "user" | "assistant" | "developer"; content: string | ({ type: "input_text"; text: string; } | { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; } | { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; })[] | { type: "output_text"; text: string; }[]; }, { type: "message"; role: "system" | "user" | "assistant" | "developer"; content: string | ({ type: "input_text"; text: string; } | { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; } | { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; })[] | { type: "output_text"; text: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; arguments: string; call_id: string; }, { type: "function_call"; name: string; arguments: string; call_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"function_call_output">; call_id: z.ZodString; output: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call_output"; call_id: string; output: string; }, { type: "function_call_output"; call_id: string; output: string; }>]>; type OpenAIResponsesRequestInputItemType = z.infer; declare const OpenAIResponsesRequestFunctionTool: z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; description: z.ZodOptional; parameters: z.ZodRecord; strict: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function"; name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }, { type: "function"; name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }>; type OpenAIResponsesRequestFunctionToolType = z.infer; declare const OpenAIResponsesRequestWebSearchTool: z.ZodObject<{ type: z.ZodLiteral<"web_search">; filters: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allowed_domains?: string[] | undefined; }, { allowed_domains?: string[] | undefined; }>>; user_location: z.ZodOptional; country: z.ZodOptional; city: z.ZodOptional; region: z.ZodOptional; timezone: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; }, { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; }>>; external_web_access: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "web_search"; filters?: { allowed_domains?: string[] | undefined; } | undefined; user_location?: { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; } | undefined; external_web_access?: boolean | undefined; }, { type: "web_search"; filters?: { allowed_domains?: string[] | undefined; } | undefined; user_location?: { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; } | undefined; external_web_access?: boolean | undefined; }>; type OpenAIResponsesRequestWebSearchToolType = z.infer; declare const OpenAIResponsesRequestTool: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; description: z.ZodOptional; parameters: z.ZodRecord; strict: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function"; name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }, { type: "function"; name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"web_search">; filters: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allowed_domains?: string[] | undefined; }, { allowed_domains?: string[] | undefined; }>>; user_location: z.ZodOptional; country: z.ZodOptional; city: z.ZodOptional; region: z.ZodOptional; timezone: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; }, { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; }>>; external_web_access: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "web_search"; filters?: { allowed_domains?: string[] | undefined; } | undefined; user_location?: { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; } | undefined; external_web_access?: boolean | undefined; }, { type: "web_search"; filters?: { allowed_domains?: string[] | undefined; } | undefined; user_location?: { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; } | undefined; external_web_access?: boolean | undefined; }>]>; type OpenAIResponsesRequestToolType = z.infer; declare const OpenAIResponsesRequestToolChoice: z.ZodUnion<[z.ZodEnum<["none", "auto", "required"]>, z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function"; name: string; }, { type: "function"; name: string; }>]>; type OpenAIResponsesRequestToolChoiceType = z.infer; declare const OpenAIResponsesRequestReasoning: z.ZodObject<{ effort: z.ZodOptional>; summary: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { effort?: "none" | "medium" | "minimal" | "low" | "high" | "xhigh" | undefined; summary?: "auto" | "concise" | "detailed" | null | undefined; }, { effort?: "none" | "medium" | "minimal" | "low" | "high" | "xhigh" | undefined; summary?: "auto" | "concise" | "detailed" | null | undefined; }>; type OpenAIResponsesRequestReasoningType = z.infer; declare const OpenAIResponsesRequestTextFormat: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"text">; }, "strip", z.ZodTypeAny, { type: "text"; }, { type: "text"; }>, z.ZodObject<{ type: z.ZodLiteral<"json_schema">; name: z.ZodString; description: z.ZodOptional; schema: z.ZodRecord; strict: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }, { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"json_object">; }, "strip", z.ZodTypeAny, { type: "json_object"; }, { type: "json_object"; }>]>; type OpenAIResponsesRequestTextFormatType = z.infer; declare const OpenAIResponsesRequestText: z.ZodObject<{ format: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "text"; }, { type: "text"; }>, z.ZodObject<{ type: z.ZodLiteral<"json_schema">; name: z.ZodString; description: z.ZodOptional; schema: z.ZodRecord; strict: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }, { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"json_object">; }, "strip", z.ZodTypeAny, { type: "json_object"; }, { type: "json_object"; }>]>>; verbosity: z.ZodOptional>; }, "strip", z.ZodTypeAny, { verbosity?: "medium" | "low" | "high" | undefined; format?: { type: "text"; } | { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; } | { type: "json_object"; } | undefined; }, { verbosity?: "medium" | "low" | "high" | undefined; format?: { type: "text"; } | { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; } | { type: "json_object"; } | undefined; }>; type OpenAIResponsesRequestTextType = z.infer; declare const OpenAIResponsesRequest: z.ZodObject<{ model: z.ZodOptional; input: z.ZodUnion<[z.ZodString, z.ZodArray; role: z.ZodEnum<["user", "assistant", "system", "developer"]>; content: z.ZodUnion<[z.ZodString, z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "input_text"; text: string; }, { type: "input_text"; text: string; }>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodObject<{ url: z.ZodString; detail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url: string; detail?: "auto" | "low" | "high" | undefined; }, { url: string; detail?: "auto" | "low" | "high" | undefined; }>; }, "strip", z.ZodTypeAny, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }, { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodOptional; file_url: z.ZodOptional; filename: z.ZodOptional; file_data: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }, { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; }>]>, "many">, z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; }, { type: "output_text"; text: string; }>, "many">]>; }, "strip", z.ZodTypeAny, { type: "message"; role: "system" | "user" | "assistant" | "developer"; content: string | ({ type: "input_text"; text: string; } | { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; } | { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; })[] | { type: "output_text"; text: string; }[]; }, { type: "message"; role: "system" | "user" | "assistant" | "developer"; content: string | ({ type: "input_text"; text: string; } | { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; } | { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; })[] | { type: "output_text"; text: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; arguments: string; call_id: string; }, { type: "function_call"; name: string; arguments: string; call_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"function_call_output">; call_id: z.ZodString; output: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call_output"; call_id: string; output: string; }, { type: "function_call_output"; call_id: string; output: string; }>]>, "many">]>; instructions: z.ZodOptional>; max_output_tokens: z.ZodOptional>; top_logprobs: z.ZodOptional>; temperature: z.ZodOptional>; top_p: z.ZodOptional>; stream: z.ZodOptional; store: z.ZodOptional; parallel_tool_calls: z.ZodOptional; metadata: z.ZodOptional>; user: z.ZodOptional; previous_response_id: z.ZodOptional>; tools: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; parameters: z.ZodRecord; strict: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function"; name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }, { type: "function"; name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"web_search">; filters: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allowed_domains?: string[] | undefined; }, { allowed_domains?: string[] | undefined; }>>; user_location: z.ZodOptional; country: z.ZodOptional; city: z.ZodOptional; region: z.ZodOptional; timezone: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; }, { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; }>>; external_web_access: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "web_search"; filters?: { allowed_domains?: string[] | undefined; } | undefined; user_location?: { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; } | undefined; external_web_access?: boolean | undefined; }, { type: "web_search"; filters?: { allowed_domains?: string[] | undefined; } | undefined; user_location?: { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; } | undefined; external_web_access?: boolean | undefined; }>]>, "many">>; tool_choice: z.ZodOptional, z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function"; name: string; }, { type: "function"; name: string; }>]>>; reasoning: z.ZodOptional>; summary: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { effort?: "none" | "medium" | "minimal" | "low" | "high" | "xhigh" | undefined; summary?: "auto" | "concise" | "detailed" | null | undefined; }, { effort?: "none" | "medium" | "minimal" | "low" | "high" | "xhigh" | undefined; summary?: "auto" | "concise" | "detailed" | null | undefined; }>>; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "text"; }, { type: "text"; }>, z.ZodObject<{ type: z.ZodLiteral<"json_schema">; name: z.ZodString; description: z.ZodOptional; schema: z.ZodRecord; strict: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }, { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"json_object">; }, "strip", z.ZodTypeAny, { type: "json_object"; }, { type: "json_object"; }>]>>; verbosity: z.ZodOptional>; }, "strip", z.ZodTypeAny, { verbosity?: "medium" | "low" | "high" | undefined; format?: { type: "text"; } | { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; } | { type: "json_object"; } | undefined; }, { verbosity?: "medium" | "low" | "high" | undefined; format?: { type: "text"; } | { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; } | { type: "json_object"; } | undefined; }>>; truncation: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "auto" | "disabled"; }, { type: "auto" | "disabled"; }>>; service_tier: z.ZodOptional>>; safety_identifier: z.ZodOptional; include: z.ZodOptional>; }, "strip", z.ZodTypeAny, { input: string | ({ type: "message"; role: "system" | "user" | "assistant" | "developer"; content: string | ({ type: "input_text"; text: string; } | { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; } | { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; })[] | { type: "output_text"; text: string; }[]; } | { type: "function_call"; name: string; arguments: string; call_id: string; } | { type: "function_call_output"; call_id: string; output: string; })[]; temperature?: number | null | undefined; top_p?: number | null | undefined; top_logprobs?: number | null | undefined; tool_choice?: "auto" | "required" | "none" | { type: "function"; name: string; } | undefined; text?: { verbosity?: "medium" | "low" | "high" | undefined; format?: { type: "text"; } | { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; } | { type: "json_object"; } | undefined; } | undefined; user?: string | undefined; reasoning?: { effort?: "none" | "medium" | "minimal" | "low" | "high" | "xhigh" | undefined; summary?: "auto" | "concise" | "detailed" | null | undefined; } | undefined; metadata?: Record | undefined; model?: string | undefined; tools?: ({ type: "function"; name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; } | { type: "web_search"; filters?: { allowed_domains?: string[] | undefined; } | undefined; user_location?: { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; } | undefined; external_web_access?: boolean | undefined; })[] | undefined; instructions?: string | null | undefined; max_output_tokens?: number | null | undefined; stream?: boolean | undefined; store?: boolean | undefined; parallel_tool_calls?: boolean | undefined; previous_response_id?: string | null | undefined; truncation?: { type: "auto" | "disabled"; } | undefined; service_tier?: "default" | "auto" | "flex" | "scale" | "priority" | null | undefined; safety_identifier?: string | undefined; include?: string[] | undefined; }, { input: string | ({ type: "message"; role: "system" | "user" | "assistant" | "developer"; content: string | ({ type: "input_text"; text: string; } | { type: "input_image"; image_url: { url: string; detail?: "auto" | "low" | "high" | undefined; }; } | { type: "input_file"; file_id?: string | undefined; file_url?: string | undefined; filename?: string | undefined; file_data?: string | undefined; })[] | { type: "output_text"; text: string; }[]; } | { type: "function_call"; name: string; arguments: string; call_id: string; } | { type: "function_call_output"; call_id: string; output: string; })[]; temperature?: number | null | undefined; top_p?: number | null | undefined; top_logprobs?: number | null | undefined; tool_choice?: "auto" | "required" | "none" | { type: "function"; name: string; } | undefined; text?: { verbosity?: "medium" | "low" | "high" | undefined; format?: { type: "text"; } | { type: "json_schema"; name: string; schema: Record; description?: string | undefined; strict?: boolean | undefined; } | { type: "json_object"; } | undefined; } | undefined; user?: string | undefined; reasoning?: { effort?: "none" | "medium" | "minimal" | "low" | "high" | "xhigh" | undefined; summary?: "auto" | "concise" | "detailed" | null | undefined; } | undefined; metadata?: Record | undefined; model?: string | undefined; tools?: ({ type: "function"; name: string; parameters: Record; description?: string | undefined; strict?: boolean | undefined; } | { type: "web_search"; filters?: { allowed_domains?: string[] | undefined; } | undefined; user_location?: { type: "approximate"; country?: string | undefined; city?: string | undefined; region?: string | undefined; timezone?: string | undefined; } | undefined; external_web_access?: boolean | undefined; })[] | undefined; instructions?: string | null | undefined; max_output_tokens?: number | null | undefined; stream?: boolean | undefined; store?: boolean | undefined; parallel_tool_calls?: boolean | undefined; previous_response_id?: string | null | undefined; truncation?: { type: "auto" | "disabled"; } | undefined; service_tier?: "default" | "auto" | "flex" | "scale" | "priority" | null | undefined; safety_identifier?: string | undefined; include?: string[] | undefined; }>; type OpenAIResponsesRequestType = z.infer; declare const OpenAIResponsesUrlCitationAnnotation: z.ZodObject<{ type: z.ZodLiteral<"url_citation">; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>; type OpenAIResponsesUrlCitationAnnotationType = z.infer; declare const OpenAIResponsesFileCitationAnnotation: z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>; type OpenAIResponsesFileCitationAnnotationType = z.infer; declare const OpenAIResponsesFilePathAnnotation: z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>; type OpenAIResponsesFilePathAnnotationType = z.infer; declare const OpenAIResponsesContainerFileCitationAnnotation: z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>; type OpenAIResponsesContainerFileCitationAnnotationType = z.infer; declare const OpenAIResponsesOutputTextAnnotation: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"url_citation">; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>; type OpenAIResponsesOutputTextAnnotationType = z.infer; declare const OpenAIResponsesOutputTextContentPart: z.ZodObject<{ type: z.ZodLiteral<"output_text">; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>; type OpenAIResponsesOutputTextContentPartType = z.infer; declare const OpenAIResponsesOutputRefusalContentPart: z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>; type OpenAIResponsesOutputRefusalContentPartType = z.infer; declare const OpenAIResponsesOutputContentPart: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"output_text">; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>; type OpenAIResponsesOutputContentPartType = z.infer; declare const OpenAIResponsesOutputMessageItem: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>; type OpenAIResponsesOutputMessageItemType = z.infer; declare const OpenAIResponsesOutputFunctionCallItem: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>; type OpenAIResponsesOutputFunctionCallItemType = z.infer; declare const OpenAIResponsesOutputWebSearchCallItem: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>; type OpenAIResponsesOutputWebSearchCallItemType = z.infer; declare const OpenAIResponsesOutputReasoningItem: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>; type OpenAIResponsesOutputReasoningItemType = z.infer; declare const OpenAIResponsesOutputFileSearchCallItem: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>; type OpenAIResponsesOutputFileSearchCallItemType = z.infer; declare const OpenAIResponsesOutputItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>; type OpenAIResponsesOutputItemType = z.infer; declare const OpenAIResponsesUsage: z.ZodObject<{ input_tokens: z.ZodNumber; input_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>; type OpenAIResponsesUsageType = z.infer; declare const OpenAIResponsesError: z.ZodObject<{ type: z.ZodString; code: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>; type OpenAIResponsesErrorType = z.infer; declare const OpenAIResponsesCompleteResponse: z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"response">; created_at: z.ZodOptional; model: z.ZodString; status: z.ZodEnum<["queued", "in_progress", "completed", "failed", "incomplete", "cancelled"]>; output: z.ZodArray; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">; output_text: z.ZodOptional; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>; metadata: z.ZodOptional>; previous_response_id: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }>; type OpenAIResponsesCompleteResponseType = z.infer; declare const OpenAIResponsesStreamEventResponseCreated: z.ZodObject<{ type: z.ZodLiteral<"response.created">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "response.created"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }, { type: "response.created"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventResponseInProgress: z.ZodObject<{ type: z.ZodLiteral<"response.in_progress">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "response.in_progress"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }, { type: "response.in_progress"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventResponseQueued: z.ZodObject<{ type: z.ZodLiteral<"response.queued">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "response.queued"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }, { type: "response.queued"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventResponseCompleted: z.ZodObject<{ type: z.ZodLiteral<"response.completed">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"response">; created_at: z.ZodOptional; model: z.ZodString; status: z.ZodEnum<["queued", "in_progress", "completed", "failed", "incomplete", "cancelled"]>; output: z.ZodArray; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">; output_text: z.ZodOptional; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>; metadata: z.ZodOptional>; previous_response_id: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response.completed"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }, { type: "response.completed"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventResponseFailed: z.ZodObject<{ type: z.ZodLiteral<"response.failed">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"response">; created_at: z.ZodOptional; model: z.ZodString; status: z.ZodEnum<["queued", "in_progress", "completed", "failed", "incomplete", "cancelled"]>; output: z.ZodArray; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">; output_text: z.ZodOptional; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>; metadata: z.ZodOptional>; previous_response_id: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response.failed"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }, { type: "response.failed"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventResponseIncomplete: z.ZodObject<{ type: z.ZodLiteral<"response.incomplete">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"response">; created_at: z.ZodOptional; model: z.ZodString; status: z.ZodEnum<["queued", "in_progress", "completed", "failed", "incomplete", "cancelled"]>; output: z.ZodArray; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">; output_text: z.ZodOptional; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>; metadata: z.ZodOptional>; previous_response_id: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response.incomplete"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }, { type: "response.incomplete"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventOutputItemAdded: z.ZodObject<{ type: z.ZodLiteral<"response.output_item.added">; sequence_number: z.ZodOptional; output_index: z.ZodNumber; item: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "response.output_item.added"; output_index: number; item: { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }; sequence_number?: number | undefined; }, { type: "response.output_item.added"; output_index: number; item: { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventOutputItemDone: z.ZodObject<{ type: z.ZodLiteral<"response.output_item.done">; sequence_number: z.ZodOptional; output_index: z.ZodNumber; item: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "response.output_item.done"; output_index: number; item: { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }; sequence_number?: number | undefined; }, { type: "response.output_item.done"; output_index: number; item: { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventContentPartAdded: z.ZodObject<{ type: z.ZodLiteral<"response.content_part.added">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; part: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"output_text">; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>; }, "strip", z.ZodTypeAny, { type: "response.content_part.added"; output_index: number; item_id: string; content_index: number; part: { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; }; sequence_number?: number | undefined; }, { type: "response.content_part.added"; output_index: number; item_id: string; content_index: number; part: { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventContentPartDone: z.ZodObject<{ type: z.ZodLiteral<"response.content_part.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; part: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"output_text">; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>; }, "strip", z.ZodTypeAny, { type: "response.content_part.done"; output_index: number; item_id: string; content_index: number; part: { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; }; sequence_number?: number | undefined; }, { type: "response.content_part.done"; output_index: number; item_id: string; content_index: number; part: { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventOutputTextDelta: z.ZodObject<{ type: z.ZodLiteral<"response.output_text.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.output_text.delta"; delta: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }, { type: "response.output_text.delta"; delta: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventOutputTextDone: z.ZodObject<{ type: z.ZodLiteral<"response.output_text.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.output_text.done"; text: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }, { type: "response.output_text.done"; text: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventOutputTextAnnotationAdded: z.ZodObject<{ type: z.ZodLiteral<"response.output_text.annotation.added">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; annotation_index: z.ZodNumber; annotation: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"url_citation">; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "response.output_text.annotation.added"; output_index: number; item_id: string; content_index: number; annotation_index: number; annotation: { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }; sequence_number?: number | undefined; }, { type: "response.output_text.annotation.added"; output_index: number; item_id: string; content_index: number; annotation_index: number; annotation: { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventRefusalDelta: z.ZodObject<{ type: z.ZodLiteral<"response.refusal.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.refusal.delta"; delta: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }, { type: "response.refusal.delta"; delta: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventRefusalDone: z.ZodObject<{ type: z.ZodLiteral<"response.refusal.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.refusal.done"; refusal: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }, { type: "response.refusal.done"; refusal: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventReasoningSummaryPartAdded: z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_summary_part.added">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; summary_index: z.ZodNumber; part: z.ZodObject<{ type: z.ZodLiteral<"summary_text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>; }, "strip", z.ZodTypeAny, { type: "response.reasoning_summary_part.added"; output_index: number; item_id: string; part: { type: "summary_text"; text: string; }; summary_index: number; sequence_number?: number | undefined; }, { type: "response.reasoning_summary_part.added"; output_index: number; item_id: string; part: { type: "summary_text"; text: string; }; summary_index: number; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventReasoningSummaryPartDone: z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_summary_part.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; summary_index: z.ZodNumber; part: z.ZodObject<{ type: z.ZodLiteral<"summary_text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>; }, "strip", z.ZodTypeAny, { type: "response.reasoning_summary_part.done"; output_index: number; item_id: string; part: { type: "summary_text"; text: string; }; summary_index: number; sequence_number?: number | undefined; }, { type: "response.reasoning_summary_part.done"; output_index: number; item_id: string; part: { type: "summary_text"; text: string; }; summary_index: number; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventReasoningSummaryTextDelta: z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_summary_text.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; summary_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.reasoning_summary_text.delta"; delta: string; output_index: number; item_id: string; summary_index: number; sequence_number?: number | undefined; }, { type: "response.reasoning_summary_text.delta"; delta: string; output_index: number; item_id: string; summary_index: number; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventReasoningSummaryTextDone: z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_summary_text.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; summary_index: z.ZodNumber; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.reasoning_summary_text.done"; text: string; output_index: number; item_id: string; summary_index: number; sequence_number?: number | undefined; }, { type: "response.reasoning_summary_text.done"; text: string; output_index: number; item_id: string; summary_index: number; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventReasoningTextDelta: z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_text.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.reasoning_text.delta"; delta: string; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.reasoning_text.delta"; delta: string; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventReasoningTextDone: z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_text.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.reasoning_text.done"; text: string; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.reasoning_text.done"; text: string; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventFunctionCallArgumentsDelta: z.ZodObject<{ type: z.ZodLiteral<"response.function_call_arguments.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.function_call_arguments.delta"; delta: string; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.function_call_arguments.delta"; delta: string; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventFunctionCallArgumentsDone: z.ZodObject<{ type: z.ZodLiteral<"response.function_call_arguments.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.function_call_arguments.done"; arguments: string; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.function_call_arguments.done"; arguments: string; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventWebSearchCallInProgress: z.ZodObject<{ type: z.ZodLiteral<"response.web_search_call.in_progress">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.web_search_call.in_progress"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.web_search_call.in_progress"; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventWebSearchCallSearching: z.ZodObject<{ type: z.ZodLiteral<"response.web_search_call.searching">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.web_search_call.searching"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.web_search_call.searching"; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventWebSearchCallCompleted: z.ZodObject<{ type: z.ZodLiteral<"response.web_search_call.completed">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.web_search_call.completed"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.web_search_call.completed"; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventFileSearchCallInProgress: z.ZodObject<{ type: z.ZodLiteral<"response.file_search_call.in_progress">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.file_search_call.in_progress"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.file_search_call.in_progress"; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventFileSearchCallSearching: z.ZodObject<{ type: z.ZodLiteral<"response.file_search_call.searching">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.file_search_call.searching"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.file_search_call.searching"; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventFileSearchCallCompleted: z.ZodObject<{ type: z.ZodLiteral<"response.file_search_call.completed">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.file_search_call.completed"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.file_search_call.completed"; output_index: number; item_id: string; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEventError: z.ZodObject<{ type: z.ZodLiteral<"error">; sequence_number: z.ZodOptional; error: z.ZodObject<{ type: z.ZodString; code: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "error"; error: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }; sequence_number?: number | undefined; }, { type: "error"; error: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }; sequence_number?: number | undefined; }>; declare const OpenAIResponsesStreamEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"response.created">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "response.created"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }, { type: "response.created"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.in_progress">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "response.in_progress"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }, { type: "response.in_progress"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.queued">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional; object: z.ZodOptional>; created_at: z.ZodOptional>; model: z.ZodOptional; status: z.ZodOptional>; output: z.ZodOptional; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">>; output_text: z.ZodOptional>; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>>; metadata: z.ZodOptional>>; previous_response_id: z.ZodOptional>>; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "response.queued"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }, { type: "response.queued"; response: { object?: "response" | undefined; status?: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled" | undefined; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; id?: string | undefined; model?: string | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; output?: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[] | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; } & { [k: string]: unknown; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.completed">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"response">; created_at: z.ZodOptional; model: z.ZodString; status: z.ZodEnum<["queued", "in_progress", "completed", "failed", "incomplete", "cancelled"]>; output: z.ZodArray; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">; output_text: z.ZodOptional; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>; metadata: z.ZodOptional>; previous_response_id: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response.completed"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }, { type: "response.completed"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.failed">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"response">; created_at: z.ZodOptional; model: z.ZodString; status: z.ZodEnum<["queued", "in_progress", "completed", "failed", "incomplete", "cancelled"]>; output: z.ZodArray; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">; output_text: z.ZodOptional; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>; metadata: z.ZodOptional>; previous_response_id: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response.failed"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }, { type: "response.failed"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.incomplete">; sequence_number: z.ZodOptional; response: z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"response">; created_at: z.ZodOptional; model: z.ZodString; status: z.ZodEnum<["queued", "in_progress", "completed", "failed", "incomplete", "cancelled"]>; output: z.ZodArray; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>, "many">; output_text: z.ZodOptional; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; }, { cached_tokens?: number | undefined; }>>; output_tokens: z.ZodNumber; output_tokens_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoning_tokens?: number | undefined; }, { reasoning_tokens?: number | undefined; }>>; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }, { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; }>>; error: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>>>; incomplete_details: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>>>; metadata: z.ZodOptional>; previous_response_id: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }, { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response.incomplete"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }, { type: "response.incomplete"; response: { object: "response"; status: "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled"; id: string; model: string; output: ({ type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; })[]; error?: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; } | null | undefined; metadata?: Record | undefined; usage?: { total_tokens: number; input_tokens: number; output_tokens: number; input_tokens_details?: { cached_tokens?: number | undefined; } | undefined; output_tokens_details?: { reasoning_tokens?: number | undefined; } | undefined; } | undefined; output_text?: string | undefined; previous_response_id?: string | null | undefined; created_at?: number | undefined; incomplete_details?: { reason?: string | undefined; } | null | undefined; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.output_item.added">; sequence_number: z.ZodOptional; output_index: z.ZodNumber; item: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "response.output_item.added"; output_index: number; item: { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }; sequence_number?: number | undefined; }, { type: "response.output_item.added"; output_index: number; item: { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.output_item.done">; sequence_number: z.ZodOptional; output_index: z.ZodNumber; item: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodOptional; content: z.ZodArray; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }, { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"function_call">; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }, { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"web_search_call">; status: z.ZodOptional; action: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; query?: string | undefined; }, { type: string; query?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }, { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"reasoning">; summary: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>, "many">>; status: z.ZodOptional>; encrypted_content: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }, { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"file_search_call">; status: z.ZodOptional; queries: z.ZodOptional>; results: z.ZodOptional; filename: z.ZodOptional; score: z.ZodOptional; text: z.ZodOptional; attributes: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }, { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }, { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "response.output_item.done"; output_index: number; item: { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }; sequence_number?: number | undefined; }, { type: "response.output_item.done"; output_index: number; item: { type: "message"; role: "assistant"; content: ({ type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; })[]; id: string; status?: string | undefined; } | { type: "function_call"; name: string; id: string; arguments: string; call_id: string; status?: string | undefined; } | { type: "web_search_call"; id: string; status?: string | undefined; action?: { type: string; query?: string | undefined; } | undefined; } | { type: "reasoning"; id: string; status?: string | null | undefined; summary?: { type: "summary_text"; text: string; }[] | undefined; encrypted_content?: string | undefined; } | { type: "file_search_call"; id: string; status?: string | undefined; queries?: string[] | undefined; results?: { text?: string | undefined; file_id?: string | undefined; filename?: string | undefined; score?: number | undefined; attributes?: Record | null | undefined; }[] | undefined; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.content_part.added">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; part: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"output_text">; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>; }, "strip", z.ZodTypeAny, { type: "response.content_part.added"; output_index: number; item_id: string; content_index: number; part: { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; }; sequence_number?: number | undefined; }, { type: "response.content_part.added"; output_index: number; item_id: string; content_index: number; part: { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.content_part.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; part: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"output_text">; text: z.ZodString; annotations: z.ZodDefault; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>, "many">>; logprobs: z.ZodOptional>; top_logprobs: z.ZodArray>; }, "strip", z.ZodTypeAny, { token: string; logprob: number; bytes: number[] | null; }, { token: string; logprob: number; bytes: number[] | null; }>, "many">; }, "strip", z.ZodTypeAny, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }, { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; }, { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"refusal">; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "refusal"; refusal: string; }, { type: "refusal"; refusal: string; }>]>; }, "strip", z.ZodTypeAny, { type: "response.content_part.done"; output_index: number; item_id: string; content_index: number; part: { type: "output_text"; text: string; annotations: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[]; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; } | { type: "refusal"; refusal: string; }; sequence_number?: number | undefined; }, { type: "response.content_part.done"; output_index: number; item_id: string; content_index: number; part: { type: "output_text"; text: string; logprobs?: { top_logprobs: { token: string; logprob: number; bytes: number[] | null; }[]; token: string; logprob: number; bytes: number[] | null; }[] | undefined; annotations?: ({ type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; })[] | undefined; } | { type: "refusal"; refusal: string; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.output_text.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.output_text.delta"; delta: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }, { type: "response.output_text.delta"; delta: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.output_text.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.output_text.done"; text: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }, { type: "response.output_text.done"; text: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.output_text.annotation.added">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; annotation_index: z.ZodNumber; annotation: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"url_citation">; start_index: z.ZodNumber; end_index: z.ZodNumber; url: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }, { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; }>, z.ZodObject<{ type: z.ZodLiteral<"file_citation">; file_id: z.ZodString; index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"file_path">; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "file_path"; start_index: number; end_index: number; file_id: string; }, { type: "file_path"; start_index: number; end_index: number; file_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"container_file_citation">; container_id: z.ZodString; file_id: z.ZodString; start_index: z.ZodNumber; end_index: z.ZodNumber; filename: z.ZodOptional; quote: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }, { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "response.output_text.annotation.added"; output_index: number; item_id: string; content_index: number; annotation_index: number; annotation: { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }; sequence_number?: number | undefined; }, { type: "response.output_text.annotation.added"; output_index: number; item_id: string; content_index: number; annotation_index: number; annotation: { type: "url_citation"; title: string; url: string; start_index: number; end_index: number; } | { type: "file_citation"; index: number; file_id: string; filename?: string | undefined; quote?: string | undefined; } | { type: "file_path"; start_index: number; end_index: number; file_id: string; } | { type: "container_file_citation"; start_index: number; end_index: number; file_id: string; container_id: string; filename?: string | undefined; quote?: string | undefined; }; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.refusal.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.refusal.delta"; delta: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }, { type: "response.refusal.delta"; delta: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.refusal.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; content_index: z.ZodNumber; refusal: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.refusal.done"; refusal: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }, { type: "response.refusal.done"; refusal: string; output_index: number; item_id: string; content_index: number; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_summary_part.added">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; summary_index: z.ZodNumber; part: z.ZodObject<{ type: z.ZodLiteral<"summary_text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>; }, "strip", z.ZodTypeAny, { type: "response.reasoning_summary_part.added"; output_index: number; item_id: string; part: { type: "summary_text"; text: string; }; summary_index: number; sequence_number?: number | undefined; }, { type: "response.reasoning_summary_part.added"; output_index: number; item_id: string; part: { type: "summary_text"; text: string; }; summary_index: number; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_summary_part.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; summary_index: z.ZodNumber; part: z.ZodObject<{ type: z.ZodLiteral<"summary_text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "summary_text"; text: string; }, { type: "summary_text"; text: string; }>; }, "strip", z.ZodTypeAny, { type: "response.reasoning_summary_part.done"; output_index: number; item_id: string; part: { type: "summary_text"; text: string; }; summary_index: number; sequence_number?: number | undefined; }, { type: "response.reasoning_summary_part.done"; output_index: number; item_id: string; part: { type: "summary_text"; text: string; }; summary_index: number; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_summary_text.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; summary_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.reasoning_summary_text.delta"; delta: string; output_index: number; item_id: string; summary_index: number; sequence_number?: number | undefined; }, { type: "response.reasoning_summary_text.delta"; delta: string; output_index: number; item_id: string; summary_index: number; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_summary_text.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; summary_index: z.ZodNumber; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.reasoning_summary_text.done"; text: string; output_index: number; item_id: string; summary_index: number; sequence_number?: number | undefined; }, { type: "response.reasoning_summary_text.done"; text: string; output_index: number; item_id: string; summary_index: number; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_text.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.reasoning_text.delta"; delta: string; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.reasoning_text.delta"; delta: string; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.reasoning_text.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.reasoning_text.done"; text: string; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.reasoning_text.done"; text: string; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.function_call_arguments.delta">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; delta: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.function_call_arguments.delta"; delta: string; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.function_call_arguments.delta"; delta: string; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.function_call_arguments.done">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { type: "response.function_call_arguments.done"; arguments: string; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.function_call_arguments.done"; arguments: string; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.web_search_call.in_progress">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.web_search_call.in_progress"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.web_search_call.in_progress"; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.web_search_call.searching">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.web_search_call.searching"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.web_search_call.searching"; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.web_search_call.completed">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.web_search_call.completed"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.web_search_call.completed"; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.file_search_call.in_progress">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.file_search_call.in_progress"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.file_search_call.in_progress"; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.file_search_call.searching">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.file_search_call.searching"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.file_search_call.searching"; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response.file_search_call.completed">; sequence_number: z.ZodOptional; item_id: z.ZodString; output_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response.file_search_call.completed"; output_index: number; item_id: string; sequence_number?: number | undefined; }, { type: "response.file_search_call.completed"; output_index: number; item_id: string; sequence_number?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"error">; sequence_number: z.ZodOptional; error: z.ZodObject<{ type: z.ZodString; code: z.ZodOptional>; message: z.ZodString; param: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }, { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "error"; error: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }; sequence_number?: number | undefined; }, { type: "error"; error: { type: string; message: string; param?: string | null | undefined; code?: string | null | undefined; }; sequence_number?: number | undefined; }>]>; type OpenAIResponsesStreamEventType = z.infer; declare const BaseChatModelOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type BaseChatModelOptionsType = z.infer; declare class BaseChatModel implements ChatModelV1 { readonly version: "v1"; modelSchema: ChatModelSchemaType; modelName: string; private readonly apiKey; private readonly baseUrl; private readonly streamChatUrl; private readonly completeChatUrl; private readonly organization; private readonly forceResponsesApi; constructor(modelSchema: ChatModelSchemaType, options: BaseChatModelOptionsType); getDefaultBaseUrl(): UrlType; getDefaultHeaders(): HeadersType; getDefaultParams(): ParamsType; getRetryDelay(responseHeaders: HeadersType, _responseData: unknown): { shouldRetry: boolean; delayMs: number; }; getTokenCount(messages: MessageType[]): number; private shouldUseResponsesApi; transformModelRequest(request: OpenAIChatRequestType): { modelName: string | undefined; config: ConfigType; messages: MessageType[]; tools: ToolType[] | undefined; }; transformConfig(config: ConfigType, messages?: MessageType[], tools?: ToolType[]): ParamsType; transformMessages(messages: MessageType[]): ParamsType; transformTools(tools: ToolType[]): ParamsType; getCompleteChatUrl(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise; getCompleteChatHeaders(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise; getCompleteChatData(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise; transformCompleteChatResponse(response: unknown): ChatResponseType; getStreamChatUrl(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise; getStreamChatHeaders(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise; getStreamChatData(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise; transformStreamChatResponseChunk(chunk: string, buffer: string): AsyncGenerator<{ partialResponse: PartialChatResponseType; buffer: string; }>; transformProxyStreamChatResponseChunk(chunk: string, buffer: string, data?: any, headers?: Record, query?: Record): AsyncGenerator<{ partialResponse: PartialChatResponseType; buffer: string; }>; getProxyStreamChatUrl(data?: any, headers?: Record, query?: Record): Promise; getProxyCompleteChatUrl(data?: any, headers?: Record, query?: Record): Promise; getProxyCompleteChatHeaders(data?: any, headers?: Record, query?: Record): Promise; getProxyStreamChatHeaders(data?: any, headers?: Record, query?: Record): Promise; getModelPricing(): ChatModelPriceType; protected transformConfigResponsesApi(config: ConfigType, messages?: MessageType[], tools?: ToolType[]): ParamsType; protected transformMessagesResponsesApi(messages: MessageType[]): ParamsType; protected transformToolsResponsesApi(config: ConfigType, tools?: ToolType[]): ParamsType; protected getCompleteChatDataResponsesApi(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise; protected getStreamChatDataResponsesApi(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise; protected transformCompleteChatResponseResponsesApi(response: unknown): ChatResponseType; private looksLikeResponsesStream; private extractStreamState; private serializeStreamState; protected transformStreamChatResponseChunkResponsesApi(chunk: string, buffer: string): AsyncGenerator<{ partialResponse: PartialChatResponseType; buffer: string; }>; protected buildSearchResultContent(text: string, annotations: ReadonlyArray<{ url: string; title: string; start_index: number; end_index: number; }>, query?: string): ContentType; } declare const ChatGPT_5_2Literal = "chatgpt-5.2"; declare const ChatGPT_5_2Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const ChatGPT_5_2Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type ChatGPT_5_2OptionsType = z.infer; declare class ChatGPT_5_2 extends BaseChatModel { constructor(options: ChatGPT_5_2OptionsType); } declare const GPT_3_5_Turbo_0125Literal = "gpt-3.5-turbo-0125"; declare const GPT_3_5_Turbo_0125Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_3_5_Turbo_0125Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_3_5_Turbo_0125OptionsType = z.infer; declare class GPT_3_5_Turbo_0125 extends BaseChatModel { constructor(options: GPT_3_5_Turbo_0125OptionsType); } declare const GPT_3_5_Turbo_1106Literal = "gpt-3.5-turbo-1106"; declare const GPT_3_5_Turbo_1106Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_3_5_Turbo_1106Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_3_5_Turbo_1106OptionsType = z.infer; declare class GPT_3_5_Turbo_1106 extends BaseChatModel { constructor(options: GPT_3_5_Turbo_1106OptionsType); } declare const GPT_3_5_TurboLiteral = "gpt-3.5-turbo"; declare const GPT_3_5_TurboSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_3_5_TurboOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_3_5_TurboOptionsType = z.infer; declare class GPT_3_5_Turbo extends BaseChatModel { constructor(options: GPT_3_5_TurboOptionsType); } declare const GPT_4_0125_PreviewLiteral = "gpt-4-0125-preview"; declare const GPT_4_0125_PreviewSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4_0125_PreviewOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4_0125_PreviewOptionsType = z.infer; declare class GPT_4_0125_Preview extends BaseChatModel { constructor(options: GPT_4_0125_PreviewOptionsType); } declare const GPT_4_0613Literal = "gpt-4-0613"; declare const GPT_4_0613Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4_0613Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4_0613OptionsType = z.infer; declare class GPT_4_0613 extends BaseChatModel { constructor(options: GPT_4_0613OptionsType); } declare const GPT_4_1106_PreviewLiteral = "gpt-4-1106-preview"; declare const GPT_4_1106_PreviewSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4_1106_PreviewOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4_1106_PreviewOptionsType = z.infer; declare class GPT_4_1106_Preview extends BaseChatModel { constructor(options: GPT_4_1106_PreviewOptionsType); } declare const GPT_4_1Literal = "gpt-4.1"; declare const GPT_4_1Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4_1Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4_1OptionsType = z.infer; declare class GPT_4_1 extends BaseChatModel { constructor(options: GPT_4_1OptionsType); } declare const GPT_4_1_MiniLiteral = "gpt-4.1-mini"; declare const GPT_4_1_MiniSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4_1_MiniOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4_1_MiniOptionsType = z.infer; declare class GPT_4_1_Mini extends BaseChatModel { constructor(options: GPT_4_1_MiniOptionsType); } declare const GPT_4_1_NanoLiteral = "gpt-4.1-nano"; declare const GPT_4_1_NanoSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4_1_NanoOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4_1_NanoOptionsType = z.infer; declare class GPT_4_1_Nano extends BaseChatModel { constructor(options: GPT_4_1_NanoOptionsType); } declare const GPT_5_1Literal = "gpt-5.1"; declare const GPT_5_1Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_1Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_1OptionsType = z.infer; declare class GPT_5_1 extends BaseChatModel { constructor(options: GPT_5_1OptionsType); } declare const GPT_5_2Literal = "gpt-5.2"; declare const GPT_5_2Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_2Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_2OptionsType = z.infer; declare class GPT_5_2 extends BaseChatModel { constructor(options: GPT_5_2OptionsType); } declare const GPT_5_2_ChatLatestLiteral = "gpt-5.2-chat-latest"; declare const GPT_5_2_ChatLatestSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_2_ChatLatestOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_2_ChatLatestOptionsType = z.infer; declare class GPT_5_2_ChatLatest extends BaseChatModel { constructor(options: GPT_5_2_ChatLatestOptionsType); } declare const GPT_5_2_CodexLiteral = "gpt-5.2-codex"; declare const GPT_5_2_CodexSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_2_CodexOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_2_CodexOptionsType = z.infer; declare class GPT_5_2_Codex extends BaseChatModel { constructor(options: GPT_5_2_CodexOptionsType); } declare const GPT_5_2_ProLiteral = "gpt-5.2-pro"; declare const GPT_5_2_ProSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_2_ProOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_2_ProOptionsType = z.infer; /** * GPT-5.2 Pro Model * * This model uses the OpenAI Responses API (/v1/responses) */ declare class GPT_5_2_Pro extends BaseChatModel { constructor(options: GPT_5_2_ProOptionsType); } declare const GPT_5_3_CodexLiteral = "gpt-5.3-codex"; declare const GPT_5_3_CodexSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_3_CodexOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_3_CodexOptionsType = z.infer; declare class GPT_5_3_Codex extends BaseChatModel { constructor(options: GPT_5_3_CodexOptionsType); } declare const GPT_5_4Literal = "gpt-5.4"; declare const GPT_5_4Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_4Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_4OptionsType = z.infer; declare class GPT_5_4 extends BaseChatModel { constructor(options: GPT_5_4OptionsType); } declare const GPT_5_4_MiniLiteral = "gpt-5.4-mini"; declare const GPT_5_4_MiniSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_4_MiniOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_4_MiniOptionsType = z.infer; declare class GPT_5_4_Mini extends BaseChatModel { constructor(options: GPT_5_4_MiniOptionsType); } declare const GPT_5_4_NanoLiteral = "gpt-5.4-nano"; declare const GPT_5_4_NanoSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_4_NanoOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_4_NanoOptionsType = z.infer; declare class GPT_5_4_Nano extends BaseChatModel { constructor(options: GPT_5_4_NanoOptionsType); } declare const GPT_5_4_ProLiteral = "gpt-5.4-pro"; declare const GPT_5_4_ProSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_4_ProOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_4_ProOptionsType = z.infer; /** * GPT-5.4 Pro Model * * This model uses the OpenAI Responses API (/v1/responses) */ declare class GPT_5_4_Pro extends BaseChatModel { constructor(options: GPT_5_4_ProOptionsType); } declare const GPT_5_5Literal = "gpt-5.5"; declare const GPT_5_5Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_5Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_5OptionsType = z.infer; declare class GPT_5_5 extends BaseChatModel { constructor(options: GPT_5_5OptionsType); } declare const GPT_5_5_ProLiteral = "gpt-5.5-pro"; declare const GPT_5_5_ProSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_5_ProOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_5_ProOptionsType = z.infer; /** * GPT-5.5 Pro Model * * This model uses the OpenAI Responses API (/v1/responses) */ declare class GPT_5_5_Pro extends BaseChatModel { constructor(options: GPT_5_5_ProOptionsType); } declare const GPT_5Literal = "gpt-5"; declare const GPT_5Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5OptionsType = z.infer; declare class GPT_5 extends BaseChatModel { constructor(options: GPT_5OptionsType); } declare const GPT_5_ProLiteral = "gpt-5-pro"; declare const GPT_5_ProSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_ProOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_ProOptionsType = z.infer; /** * GPT-5 Pro Model * * This model uses the OpenAI Responses API (/v1/responses) */ declare class GPT_5_Pro extends BaseChatModel { constructor(options: GPT_5_ProOptionsType); } declare const GPT_5_MiniLiteral = "gpt-5-mini"; declare const GPT_5_MiniSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_MiniOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_MiniOptionsType = z.infer; declare class GPT_5_Mini extends BaseChatModel { constructor(options: GPT_5_MiniOptionsType); } declare const GPT_5_NanoLiteral = "gpt-5-nano"; declare const GPT_5_NanoSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_NanoOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_NanoOptionsType = z.infer; declare class GPT_5_Nano extends BaseChatModel { constructor(options: GPT_5_NanoOptionsType); } declare const GPT_5_ChatLatestLiteral = "gpt-5-chat-latest"; declare const GPT_5_ChatLatestSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_ChatLatestOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_ChatLatestOptionsType = z.infer; declare class GPT_5_ChatLatest extends BaseChatModel { constructor(options: GPT_5_ChatLatestOptionsType); } declare const GPT_4_Turbo_2024_04_09Literal = "gpt-4-turbo-2024-04-09"; declare const GPT_4_Turbo_2024_04_09Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4_Turbo_2024_04_09Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4_Turbo_2024_04_09OptionsType = z.infer; declare class GPT_4_Turbo_2024_04_09 extends BaseChatModel { constructor(options: GPT_4_Turbo_2024_04_09OptionsType); } declare const GPT_4_Turbo_PreviewLiteral = "gpt-4-turbo-preview"; declare const GPT_4_Turbo_PreviewSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4_Turbo_PreviewOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4_Turbo_PreviewOptionsType = z.infer; declare class GPT_4_Turbo_Preview extends BaseChatModel { constructor(options: GPT_4_Turbo_PreviewOptionsType); } declare const GPT_4_TurboLiteral = "gpt-4-turbo"; declare const GPT_4_TurboSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4_TurboOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4_TurboOptionsType = z.infer; declare class GPT_4_Turbo extends BaseChatModel { constructor(options: GPT_4_TurboOptionsType); } declare const GPT_4Literal = "gpt-4"; declare const GPT_4Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4OptionsType = z.infer; declare class GPT_4 extends BaseChatModel { constructor(options: GPT_4OptionsType); } declare const GPT_4o_2024_05_13Literal = "gpt-4o-2024-05-13"; declare const GPT_4o_2024_05_13Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4o_2024_05_13Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4o_2024_05_13OptionsType = z.infer; declare class GPT_4o_2024_05_13 extends BaseChatModel { constructor(options: GPT_4o_2024_05_13OptionsType); } declare const GPT_4o_2024_08_06Literal = "gpt-4o-2024-08-06"; declare const GPT_4o_2024_08_06Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4o_2024_08_06Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4o_2024_08_06OptionsType = z.infer; declare class GPT_4o_2024_08_06 extends BaseChatModel { constructor(options: GPT_4o_2024_08_06OptionsType); } declare const GPT_4o_Mini_2024_07_18Literal = "gpt-4o-mini-2024-07-18"; declare const GPT_4o_Mini_2024_07_18Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4o_Mini_2024_07_18Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4o_Mini_2024_07_18OptionsType = z.infer; declare class GPT_4o_Mini_2024_07_18 extends BaseChatModel { constructor(options: GPT_4o_Mini_2024_07_18OptionsType); } declare const GPT_4o_MiniLiteral = "gpt-4o-mini"; declare const GPT_4o_MiniSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4o_MiniOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4o_MiniOptionsType = z.infer; declare class GPT_4o_Mini extends BaseChatModel { constructor(options: GPT_4o_MiniOptionsType); } declare const GPT_4oLiteral = "gpt-4o"; declare const GPT_4oSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4oOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4oOptionsType = z.infer; declare class GPT_4o extends BaseChatModel { constructor(options: GPT_4oOptionsType); } declare const GPT_4o_Search_PreviewLiteral = "gpt-4o-search-preview"; declare const GPT_4o_Search_PreviewSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4o_Search_PreviewOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4o_Search_PreviewOptionsType = z.infer; declare class GPT_4o_Search_Preview extends BaseChatModel { constructor(options: GPT_4o_Search_PreviewOptionsType); } declare const GPT_4o_Search_Preview_2025_03_11Literal = "gpt-4o-search-preview-2025-03-11"; declare const GPT_4o_Search_Preview_2025_03_11Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4o_Search_Preview_2025_03_11Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4o_Search_Preview_2025_03_11OptionsType = z.infer; declare class GPT_4o_Search_Preview_2025_03_11 extends BaseChatModel { constructor(options: GPT_4o_Search_Preview_2025_03_11OptionsType); } declare const GPT_4o_Mini_Search_PreviewLiteral = "gpt-4o-mini-search-preview"; declare const GPT_4o_Mini_Search_PreviewSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4o_Mini_Search_PreviewOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4o_Mini_Search_PreviewOptionsType = z.infer; declare class GPT_4o_Mini_Search_Preview extends BaseChatModel { constructor(options: GPT_4o_Mini_Search_PreviewOptionsType); } declare const GPT_4o_Mini_Search_Preview_2025_03_11Literal = "gpt-4o-mini-search-preview-2025-03-11"; declare const GPT_4o_Mini_Search_Preview_2025_03_11Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_4o_Mini_Search_Preview_2025_03_11Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_4o_Mini_Search_Preview_2025_03_11OptionsType = z.infer; declare class GPT_4o_Mini_Search_Preview_2025_03_11 extends BaseChatModel { constructor(options: GPT_4o_Mini_Search_Preview_2025_03_11OptionsType); } declare const GPT_5_Search_ApiLiteral = "gpt-5-search-api"; declare const GPT_5_Search_ApiSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const GPT_5_Search_ApiOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type GPT_5_Search_ApiOptionsType = z.infer; declare class GPT_5_Search_Api extends BaseChatModel { constructor(options: GPT_5_Search_ApiOptionsType); } declare const ChatGPT_4o_LatestLiteral = "chatgpt-4o-latest"; declare const ChatGPT_4o_LatestSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image", ...("text" | "image")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const ChatGPT_4o_LatestOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type ChatGPT_4o_LatestOptionsType = z.infer; declare class ChatGPT_4o_Latest extends BaseChatModel { constructor(options: ChatGPT_4o_LatestOptionsType); } declare const O1_2024_12_17Literal = "o1-2024-12-17"; declare const O1_2024_12_17Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const O1_2024_12_17Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type O1_2024_12_17OptionsType = z.infer; declare class O1_2024_12_17 extends BaseChatModel { constructor(options: O1_2024_12_17OptionsType); } declare const O1Literal = "o1"; declare const O1Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const O1Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type O1OptionsType = z.infer; declare class O1 extends BaseChatModel { constructor(options: O1OptionsType); } declare const O3_2025_04_16Literal = "o3-2025-04-16"; declare const O3_2025_04_16Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const O3_2025_04_16Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type O3_2025_04_16OptionsType = z.infer; declare class O3_2025_04_16 extends BaseChatModel { constructor(options: O3_2025_04_16OptionsType); } declare const O3Literal = "o3"; declare const O3Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const O3Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type O3OptionsType = z.infer; declare class O3 extends BaseChatModel { constructor(options: O3OptionsType); } declare const O3ProLiteral = "o3-pro"; declare const O3ProSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const O3ProOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type O3ProOptionsType = z.infer; /** * o3-pro Model * * This model uses the OpenAI Responses API (/v1/responses) */ declare class O3Pro extends BaseChatModel { constructor(options: O3ProOptionsType); } declare const O3MiniLiteral = "o3-mini"; declare const O3MiniSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const O3MiniOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type O3MiniOptionsType = z.infer; declare class O3Mini extends BaseChatModel { constructor(options: O3MiniOptionsType); } declare const O3Mini2025_01_31Literal = "o3-mini-2025-01-31"; declare const O3Mini2025_01_31Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const O3Mini2025_01_31Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type O3Mini2025_01_31OptionsType = z.infer; declare class O3Mini2025_01_31 extends BaseChatModel { constructor(options: O3Mini2025_01_31OptionsType); } declare const O4_Mini_2025_04_16Literal = "o4-mini-2025-04-16"; declare const O4_Mini_2025_04_16Schema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const O4_Mini_2025_04_16Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type O4_Mini_2025_04_16OptionsType = z.infer; declare class O4_Mini_2025_04_16 extends BaseChatModel { constructor(options: O4_Mini_2025_04_16OptionsType); } declare const O4_MiniLiteral = "o4-mini"; declare const O4_MiniSchema: { description: string; name: string; roles: Partial>; modalities: ["text" | "image" | "tool-call" | "tool-response" | "search-result", ...("text" | "image" | "tool-call" | "tool-response" | "search-result")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const O4_MiniOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; completeChatUrl: z.ZodOptional; streamChatUrl: z.ZodOptional; organization: z.ZodOptional; forceResponsesApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; completeChatUrl?: string | undefined; streamChatUrl?: string | undefined; organization?: string | undefined; forceResponsesApi?: boolean | undefined; }>; type O4_MiniOptionsType = z.infer; declare class O4_Mini extends BaseChatModel { constructor(options: O4_MiniOptionsType); } declare const OpenAIEmbeddingModelModalities: EmbeddingModelSchemaType["modalities"]; declare const OpenAIEmbeddingModelModalitiesEnum: z.ZodEnum<["text", "token"]>; declare const OpenAIGetEmbeddingsResponse: z.ZodObject<{ object: z.ZodLiteral<"list">; model: z.ZodString; data: z.ZodArray; embedding: z.ZodUnion<[z.ZodArray, z.ZodString]>; }, "strip", z.ZodTypeAny, { object: "embedding"; index: number; embedding: string | number[]; }, { object: "embedding"; index: number; embedding: string | number[]; }>, "many">; usage: z.ZodObject<{ prompt_tokens: z.ZodNumber; total_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt_tokens: number; total_tokens: number; }, { prompt_tokens: number; total_tokens: number; }>; }, "strip", z.ZodTypeAny, { object: "list"; model: string; usage: { prompt_tokens: number; total_tokens: number; }; data: { object: "embedding"; index: number; embedding: string | number[]; }[]; }, { object: "list"; model: string; usage: { prompt_tokens: number; total_tokens: number; }; data: { object: "embedding"; index: number; embedding: string | number[]; }[]; }>; declare const OpenAIEmbeddingRequestInput: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray]>, z.ZodArray]>, z.ZodArray, "many">]>; type OpenAIEmbeddingRequestInputType = z.infer; declare const OpenAIEmbeddingRequest: z.ZodObject<{ model: z.ZodOptional; input: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray]>, z.ZodArray]>, z.ZodArray, "many">]>; encoding_format: z.ZodOptional>; dimensions: z.ZodOptional; }, "strip", z.ZodTypeAny, { input: string | string[] | number[] | number[][]; encoding_format?: "float" | "base64" | undefined; dimensions?: number | undefined; model?: string | undefined; }, { input: string | string[] | number[] | number[][]; encoding_format?: "float" | "base64" | undefined; dimensions?: number | undefined; model?: string | undefined; }>; type OpenAIEmbeddingRequestType = z.infer; declare const BaseEmbeddingModelOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; getEmbeddingsUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }>; type BaseEmbeddingModelOptionsType = z.infer; declare class BaseEmbeddingModel implements EmbeddingModelV1 { readonly version: "v1"; modelSchema: EmbeddingModelSchemaType; modelName: string; private readonly apiKey; private readonly baseUrl; private readonly getEmbeddingsUrl; constructor(modelSchema: EmbeddingModelSchemaType, options: BaseEmbeddingModelOptionsType); getDefaultBaseUrl(): UrlType; getDefaultHeaders(): HeadersType; getDefaultParams(): ParamsType; getRetryDelay(responseHeaders: HeadersType, _responseData: unknown): { shouldRetry: boolean; delayMs: number; }; getTokenCount(requests: EmbeddingRequestsType): number; transformModelRequest(request: any): { modelName: string | undefined; config: ConfigType; embeddingRequests: EmbeddingRequestsType; }; transformConfig(config: ConfigType, requests?: EmbeddingRequestsType): ParamsType; transformEmbeddingRequests(requests: EmbeddingRequestsType): ParamsType; getGetEmbeddingsUrl(config?: ConfigType, requests?: EmbeddingRequestsType): Promise; getGetEmbeddingsHeaders(config?: ConfigType, requests?: EmbeddingRequestsType): Promise; getGetEmbeddingsData(config: ConfigType, requests: EmbeddingRequestsType): Promise; transformGetEmbeddingsResponse(response: any): EmbeddingResponseType; getModelPricing(): EmbeddingModelPriceType; } declare const Text_Embedding_Ada002Literal = "text-embedding-ada-002"; declare const Text_Embedding_Ada002Schema: { description: string; name: string; modalities: ["text" | "token", ...("text" | "token")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { inputPricePerMillion: number; modelName: string; currency: string; }; }; declare const Text_Embedding_Ada002_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; getEmbeddingsUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }>; type Text_Embedding_Ada002_OptionsType = z.infer; declare class Text_Embedding_Ada002 extends BaseEmbeddingModel { constructor(options: Text_Embedding_Ada002_OptionsType); } declare const Text_Embedding_3_SmallLiteral = "text-embedding-3-small"; declare const Text_Embedding_3_SmallSchema: { description: string; name: string; modalities: ["text" | "token", ...("text" | "token")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { inputPricePerMillion: number; modelName: string; currency: string; }; }; declare const Text_Embedding_3_Small_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; getEmbeddingsUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }>; type Text_Embedding_3_Small_OptionsType = z.infer; declare class Text_Embedding_3_Small extends BaseEmbeddingModel { constructor(options: Text_Embedding_3_Small_OptionsType); } declare const Text_Embedding_3_LargeLiteral = "text-embedding-3-large"; declare const Text_Embedding_3_LargeSchema: { description: string; name: string; modalities: ["text" | "token", ...("text" | "token")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { inputPricePerMillion: number; modelName: string; currency: string; }; }; declare const Text_Embedding_3_Large_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; baseUrl: z.ZodOptional; getEmbeddingsUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }, { modelName: string; apiKey: string; baseUrl?: string | undefined; getEmbeddingsUrl?: string | undefined; }>; type Text_Embedding_3_Large_OptionsType = z.infer; declare class Text_Embedding_3_Large extends BaseEmbeddingModel { constructor(options: Text_Embedding_3_Large_OptionsType); } declare const ProviderLiteral = "openai"; declare class OpenAI implements ProviderV1 { readonly version: "v1"; readonly name = "openai"; static readonly baseUrl = "https://api.openai.com/v1"; private readonly chatModelFactories; private readonly embeddingModelFactories; chatModelLiterals(): string[]; chatModelSchemas(): Record; chatModel(options: C): ChatModelV1; embeddingModelLiterals(): string[]; embeddingModelSchemas(): Record; embeddingModel(options: E): EmbeddingModelV1; } export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatGPT_4o_Latest, ChatGPT_4o_LatestLiteral, ChatGPT_4o_LatestOptions, type ChatGPT_4o_LatestOptionsType, ChatGPT_4o_LatestSchema, ChatGPT_5_2, ChatGPT_5_2Literal, ChatGPT_5_2Options, type ChatGPT_5_2OptionsType, ChatGPT_5_2Schema, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelGPT5CodexConfigDef, ChatModelGPT5CodexConfigSchema, ChatModelGPT5ConfigDef, ChatModelGPT5ConfigSchema, ChatModelGPT5ProConfigDef, ChatModelGPT5ProConfigSchema, ChatModelGPT5ProWithWebSearchConfigDef, ChatModelGPT5ProWithWebSearchConfigSchema, ChatModelGPT5WithWebSearchConfigDef, ChatModelGPT5WithWebSearchConfigSchema, ChatModelGPT5_1ConfigDef, ChatModelGPT5_1ConfigSchema, ChatModelGPT5_1WithWebSearchConfigDef, ChatModelGPT5_1WithWebSearchConfigSchema, ChatModelGPT5_2PlusConfigDef, ChatModelGPT5_2PlusConfigSchema, ChatModelGPT5_2PlusWithWebSearchConfigDef, ChatModelGPT5_2PlusWithWebSearchConfigSchema, ChatModelO1SeriesConfigDef, ChatModelO1SeriesConfigSchema, ChatModelO1SeriesWithWebSearchConfigDef, ChatModelO1SeriesWithWebSearchConfigSchema, ChatModelOSeriesConfigDef, ChatModelOSeriesConfigSchema, ChatModelOSeriesWithWebSearchConfigDef, ChatModelOSeriesWithWebSearchConfigSchema, ChatModelResponseFormatConfigDef, ChatModelResponseFormatConfigSchema, ChatModelResponseSchemaConfigDef, ChatModelResponseSchemaConfigSchema, ChatModelResponseSchemaWithWebSearchConfigDef, ChatModelResponseSchemaWithWebSearchConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, EmbeddingModelDimensionsConfigDef, EmbeddingModelDimensionsConfigSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0125_Preview, GPT_4_0125_PreviewLiteral, GPT_4_0125_PreviewOptions, type GPT_4_0125_PreviewOptionsType, GPT_4_0125_PreviewSchema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_1Literal, GPT_4_1Options, type GPT_4_1OptionsType, GPT_4_1Schema, GPT_4_1_Mini, GPT_4_1_MiniLiteral, GPT_4_1_MiniOptions, type GPT_4_1_MiniOptionsType, GPT_4_1_MiniSchema, GPT_4_1_Nano, GPT_4_1_NanoLiteral, GPT_4_1_NanoOptions, type GPT_4_1_NanoOptionsType, GPT_4_1_NanoSchema, GPT_4_Turbo, GPT_4_TurboLiteral, GPT_4_TurboOptions, type GPT_4_TurboOptionsType, GPT_4_TurboSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4_Turbo_Preview, GPT_4_Turbo_PreviewLiteral, GPT_4_Turbo_PreviewOptions, type GPT_4_Turbo_PreviewOptionsType, GPT_4_Turbo_PreviewSchema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, GPT_4o_Mini_Search_Preview, GPT_4o_Mini_Search_PreviewLiteral, GPT_4o_Mini_Search_PreviewOptions, type GPT_4o_Mini_Search_PreviewOptionsType, GPT_4o_Mini_Search_PreviewSchema, GPT_4o_Mini_Search_Preview_2025_03_11, GPT_4o_Mini_Search_Preview_2025_03_11Literal, GPT_4o_Mini_Search_Preview_2025_03_11Options, type GPT_4o_Mini_Search_Preview_2025_03_11OptionsType, GPT_4o_Mini_Search_Preview_2025_03_11Schema, GPT_4o_Search_Preview, GPT_4o_Search_PreviewLiteral, GPT_4o_Search_PreviewOptions, type GPT_4o_Search_PreviewOptionsType, GPT_4o_Search_PreviewSchema, GPT_4o_Search_Preview_2025_03_11, GPT_4o_Search_Preview_2025_03_11Literal, GPT_4o_Search_Preview_2025_03_11Options, type GPT_4o_Search_Preview_2025_03_11OptionsType, GPT_4o_Search_Preview_2025_03_11Schema, GPT_5, GPT_5Literal, GPT_5Options, type GPT_5OptionsType, GPT_5Schema, GPT_5_1, GPT_5_1Literal, GPT_5_1Options, type GPT_5_1OptionsType, GPT_5_1Schema, GPT_5_2, GPT_5_2Literal, GPT_5_2Options, type GPT_5_2OptionsType, GPT_5_2Schema, GPT_5_2_ChatLatest, GPT_5_2_ChatLatestLiteral, GPT_5_2_ChatLatestOptions, type GPT_5_2_ChatLatestOptionsType, GPT_5_2_ChatLatestSchema, GPT_5_2_Codex, GPT_5_2_CodexLiteral, GPT_5_2_CodexOptions, type GPT_5_2_CodexOptionsType, GPT_5_2_CodexSchema, GPT_5_2_Pro, GPT_5_2_ProLiteral, GPT_5_2_ProOptions, type GPT_5_2_ProOptionsType, GPT_5_2_ProSchema, GPT_5_3_Codex, GPT_5_3_CodexLiteral, GPT_5_3_CodexOptions, type GPT_5_3_CodexOptionsType, GPT_5_3_CodexSchema, GPT_5_4, GPT_5_4Literal, GPT_5_4Options, type GPT_5_4OptionsType, GPT_5_4Schema, GPT_5_4_Mini, GPT_5_4_MiniLiteral, GPT_5_4_MiniOptions, type GPT_5_4_MiniOptionsType, GPT_5_4_MiniSchema, GPT_5_4_Nano, GPT_5_4_NanoLiteral, GPT_5_4_NanoOptions, type GPT_5_4_NanoOptionsType, GPT_5_4_NanoSchema, GPT_5_4_Pro, GPT_5_4_ProLiteral, GPT_5_4_ProOptions, type GPT_5_4_ProOptionsType, GPT_5_4_ProSchema, GPT_5_5, GPT_5_5Literal, GPT_5_5Options, type GPT_5_5OptionsType, GPT_5_5Schema, GPT_5_5_Pro, GPT_5_5_ProLiteral, GPT_5_5_ProOptions, type GPT_5_5_ProOptionsType, GPT_5_5_ProSchema, GPT_5_ChatLatest, GPT_5_ChatLatestLiteral, GPT_5_ChatLatestOptions, type GPT_5_ChatLatestOptionsType, GPT_5_ChatLatestSchema, GPT_5_Mini, GPT_5_MiniLiteral, GPT_5_MiniOptions, type GPT_5_MiniOptionsType, GPT_5_MiniSchema, GPT_5_Nano, GPT_5_NanoLiteral, GPT_5_NanoOptions, type GPT_5_NanoOptionsType, GPT_5_NanoSchema, GPT_5_Pro, GPT_5_ProLiteral, GPT_5_ProOptions, type GPT_5_ProOptionsType, GPT_5_ProSchema, GPT_5_Search_Api, GPT_5_Search_ApiLiteral, GPT_5_Search_ApiOptions, type GPT_5_Search_ApiOptionsType, GPT_5_Search_ApiSchema, O1, O1Literal, O1Options, type O1OptionsType, O1Schema, O1_2024_12_17, O1_2024_12_17Literal, O1_2024_12_17Options, type O1_2024_12_17OptionsType, O1_2024_12_17Schema, O3, O3Literal, O3Mini, O3Mini2025_01_31, O3Mini2025_01_31Literal, O3Mini2025_01_31Options, type O3Mini2025_01_31OptionsType, O3Mini2025_01_31Schema, O3MiniLiteral, O3MiniOptions, type O3MiniOptionsType, O3MiniSchema, O3Options, type O3OptionsType, O3Pro, O3ProLiteral, O3ProOptions, type O3ProOptionsType, O3ProSchema, O3Schema, O3_2025_04_16, O3_2025_04_16Literal, O3_2025_04_16Options, type O3_2025_04_16OptionsType, O3_2025_04_16Schema, O4_Mini, O4_MiniLiteral, O4_MiniOptions, type O4_MiniOptionsType, O4_MiniSchema, O4_Mini_2025_04_16, O4_Mini_2025_04_16Literal, O4_Mini_2025_04_16Options, type O4_Mini_2025_04_16OptionsType, O4_Mini_2025_04_16Schema, OpenAI, OpenAIChatModelConfigs, OpenAIChatModelModalities, OpenAIChatModelModalitiesEnum, OpenAIChatModelProWithWebSearchModalities, OpenAIChatModelProWithWebSearchModalitiesEnum, OpenAIChatModelRoles, OpenAIChatModelRolesMap, OpenAIChatModelTextModalities, OpenAIChatModelTextModalitiesEnum, OpenAIChatModelTextToolModalities, OpenAIChatModelTextToolModalitiesEnum, OpenAIChatModelWebSearchModalities, OpenAIChatModelWebSearchModalitiesEnum, OpenAIChatModelWithWebSearchModalities, OpenAIChatModelWithWebSearchModalitiesEnum, OpenAIChatRequest, OpenAIChatRequestAssistantMessage, type OpenAIChatRequestAssistantMessageType, OpenAIChatRequestImageContent, type OpenAIChatRequestImageContentType, OpenAIChatRequestMessage, type OpenAIChatRequestMessageType, OpenAIChatRequestResponseFormat, type OpenAIChatRequestResponseFormatType, OpenAIChatRequestSystemMessage, type OpenAIChatRequestSystemMessageType, OpenAIChatRequestTextContent, type OpenAIChatRequestTextContentType, OpenAIChatRequestTool, OpenAIChatRequestToolCallContent, type OpenAIChatRequestToolCallContentType, OpenAIChatRequestToolChoiceEnum, type OpenAIChatRequestToolChoiceEnumType, OpenAIChatRequestToolChoiceFunction, type OpenAIChatRequestToolChoiceFunctionType, OpenAIChatRequestToolMessage, type OpenAIChatRequestToolMessageType, type OpenAIChatRequestToolType, type OpenAIChatRequestType, OpenAIChatRequestUserMessage, type OpenAIChatRequestUserMessageType, OpenAICompleteChatResponse, type OpenAICompleteChatResponseType, OpenAIEmbeddingModelConfigs, OpenAIEmbeddingModelModalities, OpenAIEmbeddingModelModalitiesEnum, OpenAIEmbeddingRequest, OpenAIEmbeddingRequestInput, type OpenAIEmbeddingRequestInputType, type OpenAIEmbeddingRequestType, OpenAIGetEmbeddingsResponse, OpenAIResponsesCompleteResponse, type OpenAIResponsesCompleteResponseType, OpenAIResponsesContainerFileCitationAnnotation, type OpenAIResponsesContainerFileCitationAnnotationType, OpenAIResponsesError, type OpenAIResponsesErrorType, OpenAIResponsesFileCitationAnnotation, type OpenAIResponsesFileCitationAnnotationType, OpenAIResponsesFilePathAnnotation, type OpenAIResponsesFilePathAnnotationType, OpenAIResponsesOutputContentPart, type OpenAIResponsesOutputContentPartType, OpenAIResponsesOutputFileSearchCallItem, type OpenAIResponsesOutputFileSearchCallItemType, OpenAIResponsesOutputFunctionCallItem, type OpenAIResponsesOutputFunctionCallItemType, OpenAIResponsesOutputItem, type OpenAIResponsesOutputItemType, OpenAIResponsesOutputMessageItem, type OpenAIResponsesOutputMessageItemType, OpenAIResponsesOutputReasoningItem, type OpenAIResponsesOutputReasoningItemType, OpenAIResponsesOutputRefusalContentPart, type OpenAIResponsesOutputRefusalContentPartType, OpenAIResponsesOutputTextAnnotation, type OpenAIResponsesOutputTextAnnotationType, OpenAIResponsesOutputTextContentPart, type OpenAIResponsesOutputTextContentPartType, OpenAIResponsesOutputWebSearchCallItem, type OpenAIResponsesOutputWebSearchCallItemType, OpenAIResponsesRequest, OpenAIResponsesRequestFunctionCallItem, type OpenAIResponsesRequestFunctionCallItemType, OpenAIResponsesRequestFunctionCallOutputItem, type OpenAIResponsesRequestFunctionCallOutputItemType, OpenAIResponsesRequestFunctionTool, type OpenAIResponsesRequestFunctionToolType, OpenAIResponsesRequestInputContentPart, type OpenAIResponsesRequestInputContentPartType, OpenAIResponsesRequestInputFileContent, type OpenAIResponsesRequestInputFileContentType, OpenAIResponsesRequestInputImageContent, type OpenAIResponsesRequestInputImageContentType, OpenAIResponsesRequestInputItem, type OpenAIResponsesRequestInputItemType, OpenAIResponsesRequestInputTextContent, type OpenAIResponsesRequestInputTextContentType, OpenAIResponsesRequestMessageItem, type OpenAIResponsesRequestMessageItemType, OpenAIResponsesRequestOutputContentPart, type OpenAIResponsesRequestOutputContentPartType, OpenAIResponsesRequestOutputTextContent, type OpenAIResponsesRequestOutputTextContentType, OpenAIResponsesRequestReasoning, type OpenAIResponsesRequestReasoningType, OpenAIResponsesRequestText, OpenAIResponsesRequestTextFormat, type OpenAIResponsesRequestTextFormatType, type OpenAIResponsesRequestTextType, OpenAIResponsesRequestTool, OpenAIResponsesRequestToolChoice, type OpenAIResponsesRequestToolChoiceType, type OpenAIResponsesRequestToolType, type OpenAIResponsesRequestType, OpenAIResponsesRequestWebSearchTool, type OpenAIResponsesRequestWebSearchToolType, OpenAIResponsesStreamEvent, OpenAIResponsesStreamEventContentPartAdded, OpenAIResponsesStreamEventContentPartDone, OpenAIResponsesStreamEventError, OpenAIResponsesStreamEventFileSearchCallCompleted, OpenAIResponsesStreamEventFileSearchCallInProgress, OpenAIResponsesStreamEventFileSearchCallSearching, OpenAIResponsesStreamEventFunctionCallArgumentsDelta, OpenAIResponsesStreamEventFunctionCallArgumentsDone, OpenAIResponsesStreamEventOutputItemAdded, OpenAIResponsesStreamEventOutputItemDone, OpenAIResponsesStreamEventOutputTextAnnotationAdded, OpenAIResponsesStreamEventOutputTextDelta, OpenAIResponsesStreamEventOutputTextDone, OpenAIResponsesStreamEventReasoningSummaryPartAdded, OpenAIResponsesStreamEventReasoningSummaryPartDone, OpenAIResponsesStreamEventReasoningSummaryTextDelta, OpenAIResponsesStreamEventReasoningSummaryTextDone, OpenAIResponsesStreamEventReasoningTextDelta, OpenAIResponsesStreamEventReasoningTextDone, OpenAIResponsesStreamEventRefusalDelta, OpenAIResponsesStreamEventRefusalDone, OpenAIResponsesStreamEventResponseCompleted, OpenAIResponsesStreamEventResponseCreated, OpenAIResponsesStreamEventResponseFailed, OpenAIResponsesStreamEventResponseInProgress, OpenAIResponsesStreamEventResponseIncomplete, OpenAIResponsesStreamEventResponseQueued, type OpenAIResponsesStreamEventType, OpenAIResponsesStreamEventWebSearchCallCompleted, OpenAIResponsesStreamEventWebSearchCallInProgress, OpenAIResponsesStreamEventWebSearchCallSearching, OpenAIResponsesUrlCitationAnnotation, type OpenAIResponsesUrlCitationAnnotationType, OpenAIResponsesUsage, type OpenAIResponsesUsageType, OpenAIStreamChatResponse, type OpenAIStreamChatResponseType, OpenAIToolCallsCompleteChatResponse, OpenAIToolCallsStreamChatResponse, ProviderLiteral, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeSchema, Text_Embedding_3_Large_Options, type Text_Embedding_3_Large_OptionsType, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallSchema, Text_Embedding_3_Small_Options, type Text_Embedding_3_Small_OptionsType, Text_Embedding_Ada002, Text_Embedding_Ada002Literal, Text_Embedding_Ada002Schema, Text_Embedding_Ada002_Options, type Text_Embedding_Ada002_OptionsType, dimensions, encodingFormat, frequencyPenalty, logProbs, maxTokens, presencePenalty, reasoningEffort, reasoningEffort5_1, reasoningEffort5_2Plus, reasoningEffortCodex, reasoningEffortPro, seed, stop, temperature, toolChoice, topLogProbs, topP, verbosity, webSearchAllowedDomains, webSearchExternalAccess, webSearchTool };