import * as z from "zod"; import type { SseErrorFrame, SseFrame } from "../../utils/stream"; export declare const ResponsesMetadataSchema: z.ZodOptional>>; export type ResponsesMetadata = z.infer; export declare const ResponsesItemStatusSchema: z.ZodEnum<{ completed: "completed"; in_progress: "in_progress"; incomplete: "incomplete"; }>; export type ResponsesItemStatus = z.infer; export declare const ResponsesImageDetailSchema: z.ZodEnum<{ auto: "auto"; high: "high"; low: "low"; }>; export type ResponsesImageDetail = z.infer; /** * --- Messaging Content & Items --- */ export declare const ResponsesInputTextSchema: z.ZodObject<{ type: z.ZodLiteral<"input_text">; text: z.ZodString; }, z.core.$strip>; export type ResponsesInputText = z.infer; export declare const ResponsesInputImageSchema: z.ZodUnion; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>]>; export type ResponsesInputImage = z.infer; export declare const ResponsesInputFileSchema: z.ZodUnion; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>]>; export type ResponsesInputFile = z.infer; export declare const ResponsesInputContentSchema: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>; export type ResponsesInputContent = z.infer; export declare const ResponsesOutputTextSchema: z.ZodObject<{ type: z.ZodLiteral<"output_text">; text: z.ZodString; annotations: z.ZodOptional>>; }, z.core.$strip>; export type ResponsesOutputText = z.infer; export declare const ResponsesMessageItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"user">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"assistant">; content: z.ZodUnion; text: z.ZodString; annotations: z.ZodOptional>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"system">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"developer">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>], "role">; export type ResponsesMessageItem = z.infer; /** * --- Function --- */ export declare const ResponsesFunctionCallSchema: z.ZodObject<{ type: z.ZodLiteral<"function_call">; id: z.ZodOptional>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; export type ResponsesFunctionCall = z.infer; export declare const ResponsesFunctionCallOutputSchema: z.ZodObject<{ type: z.ZodLiteral<"function_call_output">; id: z.ZodOptional>; call_id: z.ZodString; output: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; export type ResponsesFunctionCallOutput = z.infer; /** * --- Reasoning --- */ export declare const ResponsesSummaryTextSchema: z.ZodObject<{ type: z.ZodLiteral<"summary_text">; text: z.ZodString; }, z.core.$strip>; export type ResponsesSummaryText = z.infer; export declare const ResponsesReasoningTextSchema: z.ZodObject<{ type: z.ZodLiteral<"reasoning_text">; text: z.ZodString; }, z.core.$strip>; export type ResponsesReasoningText = z.infer; export declare const ResponsesReasoningItemSchema: z.ZodObject<{ type: z.ZodLiteral<"reasoning">; id: z.ZodOptional>; summary: z.ZodArray; text: z.ZodString; }, z.core.$strip>>; content: z.ZodOptional; text: z.ZodString; }, z.core.$strip>>>>; encrypted_content: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; signature: z.ZodOptional>; }, z.core.$strip>; export type ResponsesReasoningItem = z.infer; /** * --- Input Items --- */ export declare const ResponsesInputItemSchema: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"user">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"assistant">; content: z.ZodUnion; text: z.ZodString; annotations: z.ZodOptional>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"system">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"developer">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>], "role">, z.ZodObject<{ type: z.ZodLiteral<"function_call">; id: z.ZodOptional>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"function_call_output">; id: z.ZodOptional>; call_id: z.ZodString; output: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"reasoning">; id: z.ZodOptional>; summary: z.ZodArray; text: z.ZodString; }, z.core.$strip>>; content: z.ZodOptional; text: z.ZodString; }, z.core.$strip>>>>; encrypted_content: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; signature: z.ZodOptional>; }, z.core.$strip>], "type">; export type ResponsesInputItem = z.infer; import { CacheControlSchema as ResponsesCacheControlSchema, ReasoningEffortSchema as ResponsesReasoningEffortSchema, ReasoningConfigSchema as ResponsesReasoningConfigSchema, ServiceTierSchema as ResponsesServiceTierSchema, ProviderMetadataSchema as ResponsesProviderMetadataSchema, type CacheControl as ResponsesCacheControl, type ReasoningEffort as ResponsesReasoningEffort, type ReasoningConfig as ResponsesReasoningConfig, type ServiceTier as ResponsesServiceTier, type ProviderMetadata as ResponsesProviderMetadata, ContentPartAudioSchema as ResponsesInputAudioSchema, type ContentPartAudio as ResponsesInputAudio } from "../shared/schema"; export { ResponsesCacheControlSchema, type ResponsesCacheControl, ResponsesReasoningEffortSchema, type ResponsesReasoningEffort, ResponsesReasoningConfigSchema, type ResponsesReasoningConfig, ResponsesServiceTierSchema, type ResponsesServiceTier, ResponsesProviderMetadataSchema, type ResponsesProviderMetadata, ResponsesInputAudioSchema, type ResponsesInputAudio, }; /** * --- Tools --- */ export declare const ResponsesFunctionToolSchema: z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; description: z.ZodOptional; parameters: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strip>; export type ResponsesFunctionTool = z.infer; export declare const ResponsesHostedToolSchema: z.ZodObject<{ type: z.ZodString; }, z.core.$loose>; export type ResponsesHostedTool = z.infer; export declare const ResponsesToolSchema: z.ZodUnion; name: z.ZodString; description: z.ZodOptional; parameters: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodString; }, z.core.$loose>]>; export type ResponsesTool = z.infer; export declare const ResponsesToolChoiceSchema: z.ZodUnion, z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"allowed_tools">; allowed_tools: z.ZodObject<{ mode: z.ZodEnum<{ auto: "auto"; none: "none"; required: "required"; }>; tools: z.ZodArray; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>]>; export type ResponsesToolChoice = z.infer; /** * --- Text Output Config --- */ export declare const ResponsesTextFormatJsonSchema: z.ZodObject<{ type: z.ZodLiteral<"json_schema">; name: z.ZodString; description: z.ZodOptional; schema: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strip>; export declare const ResponsesTextFormatTextSchema: z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>; export declare const ResponsesTextFormatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"json_schema">; name: z.ZodString; description: z.ZodOptional; schema: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>], "type">; export declare const ResponsesTextConfigSchema: z.ZodObject<{ format: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; schema: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>], "type">>; }, z.core.$strip>; export type ResponsesTextConfig = z.infer; /** * --- Request Body --- */ declare const ResponsesInputsSchema: z.ZodObject<{ input: z.ZodUnion; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"user">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"assistant">; content: z.ZodUnion; text: z.ZodString; annotations: z.ZodOptional>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"system">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"developer">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>], "role">, z.ZodObject<{ type: z.ZodLiteral<"function_call">; id: z.ZodOptional>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"function_call_output">; id: z.ZodOptional>; call_id: z.ZodString; output: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"reasoning">; id: z.ZodOptional>; summary: z.ZodArray; text: z.ZodString; }, z.core.$strip>>; content: z.ZodOptional; text: z.ZodString; }, z.core.$strip>>>>; encrypted_content: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; signature: z.ZodOptional>; }, z.core.$strip>], "type">>]>; instructions: z.ZodOptional; tools: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; parameters: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodString; }, z.core.$loose>]>>>; tool_choice: z.ZodOptional, z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"allowed_tools">; allowed_tools: z.ZodObject<{ mode: z.ZodEnum<{ auto: "auto"; none: "none"; required: "required"; }>; tools: z.ZodArray; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>]>>; max_tool_calls: z.ZodOptional; text: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; schema: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>], "type">>; }, z.core.$strip>>; temperature: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; max_output_tokens: z.ZodOptional; reasoning: z.ZodOptional; effort: z.ZodOptional>; max_tokens: z.ZodOptional; exclude: z.ZodOptional; summary: z.ZodOptional>; }, z.core.$strip>>>; prompt_cache_key: z.ZodOptional; metadata: z.ZodOptional>>; service_tier: z.ZodOptional>; parallel_tool_calls: z.ZodOptional; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>; reasoning_effort: z.ZodOptional>; extra_body: z.ZodOptional>>; }, z.core.$strip>; export type ResponsesInputs = z.infer; export declare const ResponsesBodySchema: z.ZodObject<{ input: z.ZodUnion; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"user">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"assistant">; content: z.ZodUnion; text: z.ZodString; annotations: z.ZodOptional>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"system">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; role: z.ZodLiteral<"developer">; content: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; }, z.core.$strip>], "role">, z.ZodObject<{ type: z.ZodLiteral<"function_call">; id: z.ZodOptional>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"function_call_output">; id: z.ZodOptional>; call_id: z.ZodString; output: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; image_url: z.ZodString; file_id: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_image">; file_id: z.ZodString; image_url: z.ZodOptional>; detail: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_data: z.ZodString; file_id: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_id: z.ZodString; file_data: z.ZodOptional>; file_url: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_file">; file_url: z.ZodString; file_data: z.ZodOptional>; file_id: z.ZodOptional>; filename: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"input_audio">; input_audio: z.ZodObject<{ data: z.ZodString; format: z.ZodEnum<{ flac: "flac"; m4a: "m4a"; mp3: "mp3"; mp4: "mp4"; mpeg: "mpeg"; mpga: "mpga"; ogg: "ogg"; pcm: "pcm"; wav: "wav"; webm: "webm"; "x-aac": "x-aac"; }>; }, z.core.$strip>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>]>>]>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"reasoning">; id: z.ZodOptional>; summary: z.ZodArray; text: z.ZodString; }, z.core.$strip>>; content: z.ZodOptional; text: z.ZodString; }, z.core.$strip>>>>; encrypted_content: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; signature: z.ZodOptional>; }, z.core.$strip>], "type">>]>; instructions: z.ZodOptional; tools: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; parameters: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodString; }, z.core.$loose>]>>>; tool_choice: z.ZodOptional, z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"allowed_tools">; allowed_tools: z.ZodObject<{ mode: z.ZodEnum<{ auto: "auto"; none: "none"; required: "required"; }>; tools: z.ZodArray; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>]>>; max_tool_calls: z.ZodOptional; text: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; schema: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>], "type">>; }, z.core.$strip>>; temperature: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; max_output_tokens: z.ZodOptional; reasoning: z.ZodOptional; effort: z.ZodOptional>; max_tokens: z.ZodOptional; exclude: z.ZodOptional; summary: z.ZodOptional>; }, z.core.$strip>>>; prompt_cache_key: z.ZodOptional; metadata: z.ZodOptional>>; service_tier: z.ZodOptional>; parallel_tool_calls: z.ZodOptional; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>; reasoning_effort: z.ZodOptional>; extra_body: z.ZodOptional>>; model: z.ZodString; stream: z.ZodOptional; trace: z.ZodOptional>, z.ZodEnum<{ full: "full"; off: "off"; recommended: "recommended"; required: "required"; }>]>>; }, z.core.$strip>; export type ResponsesBody = z.infer; /** * --- Output Items --- */ export declare const ResponsesOutputMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodString; role: z.ZodLiteral<"assistant">; status: z.ZodEnum<{ completed: "completed"; in_progress: "in_progress"; incomplete: "incomplete"; }>; content: z.ZodArray; text: z.ZodString; annotations: z.ZodOptional>>; }, z.core.$strip>>; extra_content: z.ZodOptional>>; }, z.core.$strip>; export type ResponsesOutputMessage = z.infer; export declare const ResponsesOutputItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"message">; id: z.ZodString; role: z.ZodLiteral<"assistant">; status: z.ZodEnum<{ completed: "completed"; in_progress: "in_progress"; incomplete: "incomplete"; }>; content: z.ZodArray; text: z.ZodString; annotations: z.ZodOptional>>; }, z.core.$strip>>; extra_content: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"function_call">; id: z.ZodOptional>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"reasoning">; id: z.ZodOptional>; summary: z.ZodArray; text: z.ZodString; }, z.core.$strip>>; content: z.ZodOptional; text: z.ZodString; }, z.core.$strip>>>>; encrypted_content: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; signature: z.ZodOptional>; }, z.core.$strip>], "type">; export type ResponsesOutputItem = z.infer; /** * --- Response Usage --- */ export declare const ResponsesUsageSchema: z.ZodObject<{ input_tokens: z.ZodNumber; output_tokens: z.ZodNumber; total_tokens: z.ZodNumber; input_tokens_details: z.ZodOptional; }, z.core.$strip>>; output_tokens_details: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type ResponsesUsage = z.infer; /** * --- Response Object --- */ export declare const ResponsesStatusSchema: z.ZodEnum<{ completed: "completed"; failed: "failed"; in_progress: "in_progress"; incomplete: "incomplete"; }>; export type ResponsesStatus = z.infer; export declare const ResponsesSchema: z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"response">; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; in_progress: "in_progress"; incomplete: "incomplete"; }>; model: z.ZodString; output: z.ZodArray; id: z.ZodString; role: z.ZodLiteral<"assistant">; status: z.ZodEnum<{ completed: "completed"; in_progress: "in_progress"; incomplete: "incomplete"; }>; content: z.ZodArray; text: z.ZodString; annotations: z.ZodOptional>>; }, z.core.$strip>>; extra_content: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"function_call">; id: z.ZodOptional>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; cache_control: z.ZodOptional; ttl: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"reasoning">; id: z.ZodOptional>; summary: z.ZodArray; text: z.ZodString; }, z.core.$strip>>; content: z.ZodOptional; text: z.ZodString; }, z.core.$strip>>>>; encrypted_content: z.ZodOptional>; status: z.ZodOptional>>; extra_content: z.ZodOptional>>>; signature: z.ZodOptional>; }, z.core.$strip>], "type">>; usage: z.ZodNullable; }, z.core.$strip>>; output_tokens_details: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; incomplete_details: z.ZodOptional>>; created_at: z.ZodNumber; completed_at: z.ZodNullable; service_tier: z.ZodOptional>; metadata: z.ZodOptional>>; provider_metadata: z.ZodOptional>>; }, z.core.$strip>; export type Responses = z.infer; /** * --- Stream Event Types --- */ export type ResponseCreatedEvent = SseFrame<{ type: "response.created"; response: Responses; }, "response.created">; export type ResponseInProgressEvent = SseFrame<{ type: "response.in_progress"; response: Responses; }, "response.in_progress">; export type ResponseOutputItemAddedEvent = SseFrame<{ type: "response.output_item.added"; output_index: number; item: ResponsesOutputItem; }, "response.output_item.added">; export type ResponseContentPartAddedEvent = SseFrame<{ type: "response.content_part.added"; item_id: string; output_index: number; content_index: number; part: ResponsesOutputText; }, "response.content_part.added">; export type ResponseReasoningSummaryPartAddedEvent = SseFrame<{ type: "response.reasoning_summary_part.added"; item_id: string; output_index: number; summary_index: number; part: ResponsesSummaryText; }, "response.reasoning_summary_part.added">; export type ResponseOutputTextDeltaEvent = SseFrame<{ type: "response.output_text.delta"; item_id: string; output_index: number; content_index: number; delta: string; }, "response.output_text.delta">; export type ResponseReasoningSummaryTextDeltaEvent = SseFrame<{ type: "response.reasoning_summary_text.delta"; item_id: string; output_index: number; summary_index: number; delta: string; }, "response.reasoning_summary_text.delta">; export type ResponseContentPartDoneEvent = SseFrame<{ type: "response.content_part.done"; item_id: string; output_index: number; content_index: number; part: ResponsesOutputText; }, "response.content_part.done">; export type ResponseReasoningSummaryPartDoneEvent = SseFrame<{ type: "response.reasoning_summary_part.done"; item_id: string; output_index: number; summary_index: number; part: ResponsesSummaryText; }, "response.reasoning_summary_part.done">; export type ResponseReasoningTextDeltaEvent = SseFrame<{ type: "response.reasoning_text.delta"; item_id: string; output_index: number; content_index: number; delta: string; }, "response.reasoning_text.delta">; export type ResponseReasoningTextDoneEvent = SseFrame<{ type: "response.reasoning_text.done"; item_id: string; output_index: number; content_index: number; text: string; }, "response.reasoning_text.done">; export type ResponseOutputItemDoneEvent = SseFrame<{ type: "response.output_item.done"; output_index: number; item: ResponsesOutputItem; }, "response.output_item.done">; export type ResponseFunctionCallArgumentsDeltaEvent = SseFrame<{ type: "response.function_call_arguments.delta"; output_index: number; item_id: string; call_id: string; delta: string; }, "response.function_call_arguments.delta">; export type ResponseFunctionCallArgumentsDoneEvent = SseFrame<{ type: "response.function_call_arguments.done"; output_index: number; item_id: string; call_id: string; arguments: string; }, "response.function_call_arguments.done">; export type ResponseCompletedEvent = SseFrame<{ type: "response.completed"; response: Responses; }, "response.completed">; export type ResponseFailedEvent = SseFrame<{ type: "response.failed"; response: Responses; }, "response.failed">; export type ResponsesStreamEvent = ResponseCreatedEvent | ResponseInProgressEvent | ResponseOutputItemAddedEvent | ResponseContentPartAddedEvent | ResponseReasoningSummaryPartAddedEvent | ResponseOutputTextDeltaEvent | ResponseReasoningSummaryTextDeltaEvent | ResponseReasoningTextDeltaEvent | ResponseContentPartDoneEvent | ResponseReasoningSummaryPartDoneEvent | ResponseReasoningTextDoneEvent | ResponseOutputItemDoneEvent | ResponseFunctionCallArgumentsDeltaEvent | ResponseFunctionCallArgumentsDoneEvent | ResponseCompletedEvent | ResponseFailedEvent; export type ResponsesStream = ReadableStream;