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"; import { InputMessageContent, InputMessageContent$Outbound } from "./inputmessagecontent.js"; import { Status } from "./status.js"; /** * The role of the message sender (user, assistant, system, or developer). */ export declare const InputMessageRole: { readonly User: "user"; readonly Assistant: "assistant"; readonly System: "system"; readonly Developer: "developer"; }; /** * The role of the message sender (user, assistant, system, or developer). */ export type InputMessageRole = ClosedEnum; /** * The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio). */ export type InputMessageContent1 = string | Array; /** * Input message item: A message with role and content. Use this for user, assistant, system, or developer turns in structured inputs. */ export type InputMessage = { /** * The item type identifier. Always 'message' for message items. */ type?: "message" | undefined; /** * The role of the message sender (user, assistant, system, or developer). */ role: InputMessageRole; /** * The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio). */ content: string | Array; /** * The processing status of an individual item. 'in_progress' means currently processing, 'completed' means finished successfully, 'incomplete' means processing stopped before completion. */ status?: Status | undefined; id?: string | undefined; }; /** @internal */ export declare const InputMessageRole$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const InputMessageRole$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const InputMessageContent1$inboundSchema: z.ZodType; /** @internal */ export type InputMessageContent1$Outbound = string | Array; /** @internal */ export declare const InputMessageContent1$outboundSchema: z.ZodType; export declare function inputMessageContent1ToJSON(inputMessageContent1: InputMessageContent1): string; export declare function inputMessageContent1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const InputMessage$inboundSchema: z.ZodType; /** @internal */ export type InputMessage$Outbound = { type?: "message" | undefined; role: string; content: string | Array; status?: string | undefined; id: string; }; /** @internal */ export declare const InputMessage$outboundSchema: z.ZodType; export declare function inputMessageToJSON(inputMessage: InputMessage): string; export declare function inputMessageFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=inputmessage.d.ts.map