import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ContentType } from "./contenttype.js"; export type MessageTextBlock = { text: string; type: ContentType; }; export type Message = { /** * The role of the message. */ role?: string | undefined; /** * The content of the message. */ content?: Array | undefined; }; /** @internal */ export declare const MessageTextBlock$inboundSchema: z.ZodType; /** @internal */ export type MessageTextBlock$Outbound = { text: string; type: string; }; /** @internal */ export declare const MessageTextBlock$outboundSchema: z.ZodType; export declare function messageTextBlockToJSON(messageTextBlock: MessageTextBlock): string; export declare function messageTextBlockFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Message$inboundSchema: z.ZodType; /** @internal */ export type Message$Outbound = { role?: string | undefined; content?: Array | undefined; }; /** @internal */ export declare const Message$outboundSchema: z.ZodType; export declare function messageToJSON(message: Message): string; export declare function messageFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=message.d.ts.map