/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as Cohere from "../index";
/**
 * Represents a single message in the chat history from a given role.
 */
export declare type ChatMessageV2 = Cohere.ChatMessageV2.User | Cohere.ChatMessageV2.Assistant | Cohere.ChatMessageV2.System | Cohere.ChatMessageV2.Tool;
export declare namespace ChatMessageV2 {
    interface User extends Cohere.UserMessage {
        role: "user";
    }
    interface Assistant extends Cohere.AssistantMessage {
        role: "assistant";
    }
    interface System extends Cohere.SystemMessage {
        role: "system";
    }
    interface Tool extends Cohere.ToolMessageV2 {
        role: "tool";
    }
}
