BaseMessageLike:
    | BaseMessage
    | MessageFieldWithRole
    | [StringWithAutocomplete<
        | MessageType
        | "user"
        | "assistant"
        | "placeholder">, MessageContent]
    | string
    | {
        type:
            | MessageType
            | "user"
            | "assistant"
            | "placeholder";
    } & BaseMessageFields & Record<string, unknown>
    | SerializedConstructor