import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { MessageInputContentChunks, MessageInputContentChunks$Outbound } from "./messageinputcontentchunks.js"; export declare const ObjectT: { readonly Entry: "entry"; }; export type ObjectT = ClosedEnum; export declare const MessageInputEntryType: { readonly MessageInput: "message.input"; }; export type MessageInputEntryType = ClosedEnum; export declare const MessageInputEntryRole: { readonly Assistant: "assistant"; readonly User: "user"; }; export type MessageInputEntryRole = ClosedEnum; export type MessageInputEntryContent = string | Array; /** * Representation of an input message inside the conversation. */ export type MessageInputEntry = { object?: ObjectT | undefined; type?: MessageInputEntryType | undefined; createdAt?: Date | undefined; completedAt?: Date | null | undefined; id?: string | undefined; role: MessageInputEntryRole; content: string | Array; prefix?: boolean | undefined; }; /** @internal */ export declare const ObjectT$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ObjectT$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ObjectT$ { /** @deprecated use `ObjectT$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Entry: "entry"; }>; /** @deprecated use `ObjectT$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Entry: "entry"; }>; } /** @internal */ export declare const MessageInputEntryType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MessageInputEntryType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MessageInputEntryType$ { /** @deprecated use `MessageInputEntryType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly MessageInput: "message.input"; }>; /** @deprecated use `MessageInputEntryType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly MessageInput: "message.input"; }>; } /** @internal */ export declare const MessageInputEntryRole$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MessageInputEntryRole$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MessageInputEntryRole$ { /** @deprecated use `MessageInputEntryRole$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Assistant: "assistant"; readonly User: "user"; }>; /** @deprecated use `MessageInputEntryRole$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Assistant: "assistant"; readonly User: "user"; }>; } /** @internal */ export declare const MessageInputEntryContent$inboundSchema: z.ZodType; /** @internal */ export type MessageInputEntryContent$Outbound = string | Array; /** @internal */ export declare const MessageInputEntryContent$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MessageInputEntryContent$ { /** @deprecated use `MessageInputEntryContent$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MessageInputEntryContent$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MessageInputEntryContent$Outbound` instead. */ type Outbound = MessageInputEntryContent$Outbound; } export declare function messageInputEntryContentToJSON(messageInputEntryContent: MessageInputEntryContent): string; export declare function messageInputEntryContentFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const MessageInputEntry$inboundSchema: z.ZodType; /** @internal */ export type MessageInputEntry$Outbound = { object: string; type: string; created_at?: string | undefined; completed_at?: string | null | undefined; id?: string | undefined; role: string; content: string | Array; prefix: boolean; }; /** @internal */ export declare const MessageInputEntry$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MessageInputEntry$ { /** @deprecated use `MessageInputEntry$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MessageInputEntry$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MessageInputEntry$Outbound` instead. */ type Outbound = MessageInputEntry$Outbound; } export declare function messageInputEntryToJSON(messageInputEntry: MessageInputEntry): string; export declare function messageInputEntryFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=messageinputentry.d.ts.map