import { z } from "zod"; /** * A JSON schema for a Message instance. */ export declare const messageSchema: z.ZodObject<{ id: z.ZodOptional; role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"function">]>; content: z.ZodNullable; name: z.ZodOptional; function_call: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; arguments: Record; }, { name: string; arguments: Record; }>>; model: z.ZodOptional; flags: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record; } | undefined; model?: string | undefined; flags?: string[] | null | undefined; }, { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record; } | undefined; model?: string | undefined; flags?: string[] | null | undefined; }>; /** * A JSON representation of a Message instance. */ export type MessageModel = z.infer;