import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The processing status of this audio item. */ export declare const OutputAudioItemWithIdStatus: { readonly InProgress: "in_progress"; readonly Completed: "completed"; readonly Incomplete: "incomplete"; }; /** * The processing status of this audio item. */ export type OutputAudioItemWithIdStatus = ClosedEnum; /** * Output audio item: Audio content synthesized from the model's text response via TTS. */ export type OutputAudioItemWithId = { /** * The content type identifier for audio output. */ type: "output_audio"; /** * Base64-encoded audio data. */ data: string; /** * The text transcript that was synthesized into audio. */ transcript: string; /** * The unique ID of the message. */ id: string; /** * The processing status of this audio item. */ status: OutputAudioItemWithIdStatus; /** * The ID of the response that created this item, if any. */ responseId?: string | null | undefined; /** * Metadata from the response that created this item, if any. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const OutputAudioItemWithIdStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const OutputAudioItemWithIdStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const OutputAudioItemWithId$inboundSchema: z.ZodType; /** @internal */ export type OutputAudioItemWithId$Outbound = { type: "output_audio"; data: string; transcript: string; id: string; status: string; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const OutputAudioItemWithId$outboundSchema: z.ZodType; export declare function outputAudioItemWithIdToJSON(outputAudioItemWithId: OutputAudioItemWithId): string; export declare function outputAudioItemWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=outputaudioitemwithid.d.ts.map