vercelAIChatPartSchema: ZodDiscriminatedUnion<
    "type",
    [
        ZodObject<
            { text: ZodString; type: ZodLiteral<"text"> },
            "strip",
            ZodTypeAny,
            { text: string; type: "text" },
            { text: string; type: "text" },
        >,
        ZodObject<
            {
                image: ZodString;
                mimeType: ZodOptional<ZodString>;
                type: ZodLiteral<"image">;
            },
            "strip",
            ZodTypeAny,
            { image: string; mimeType?: string; type: "image" },
            { image: string; mimeType?: string; type: "image" },
        >,
        ZodObject<
            {
                input: ZodType<JSONLiteral, ZodTypeDef, JSONLiteral>;
                toolCallId: ZodString;
                toolName: ZodString;
                type: ZodLiteral<"tool-call">;
            },
            "strip",
            ZodTypeAny,
            {
                input: JSONLiteral;
                toolCallId: string;
                toolName: string;
                type: "tool-call";
            },
            {
                input: JSONLiteral;
                toolCallId: string;
                toolName: string;
                type: "tool-call";
            },
        >,
        ZodObject<
            {
                output: ZodObject<
                    { type: ZodLiteral<"text">; value: ZodString },
                    "strip",
                    ZodTypeAny,
                    { type: "text"; value: string },
                    { type: "text"; value: string },
                >;
                toolCallId: ZodString;
                toolName: ZodString;
                type: ZodLiteral<"tool-result">;
            },
            "strip",
            ZodTypeAny,
            {
                output: { type: "text"; value: string };
                toolCallId: string;
                toolName: string;
                type: "tool-result";
            },
            {
                output: { type: "text"; value: string };
                toolCallId: string;
                toolName: string;
                type: "tool-result";
            },
        >,
    ],
> = ...