import * as AthenaIntelligence from "../index.js"; /** * A response message from the agent. */ export interface GeneralAgentResponseMessage { /** Additional keyword arguments for the message. */ additional_kwargs?: Record; /** The content of the message, can be string or list of content parts. */ content?: GeneralAgentResponseMessage.Content; /** Unique identifier for the message or LangChain class identifier. */ id?: GeneralAgentResponseMessage.Id; /** Structured kwargs field containing known message data. */ kwargs?: AthenaIntelligence.GeneralAgentResponseMessageKwargs; /** LangChain class identifier */ langchain_id?: string[]; /** LangChain version marker */ lc?: number; /** The actual message identifier (when id contains LangChain class path). */ message_id?: string; /** Name associated with the message. */ name?: string; /** Metadata about the response generation. */ response_metadata?: Record; /** Role of the message sender (e.g., 'ai', 'human', 'system', 'tool'). Automatically populated from kwargs.type for convenience. */ role?: string; /** ID of the tool call this message responds to (for tool messages). */ tool_call_id?: string; /** Tool calls made by the message (for AI messages). */ tool_calls?: Record[]; /** The type of the message (e.g., 'human', 'ai', 'system', 'tool'). */ type: string; /** Usage metadata including token counts. */ usage_metadata?: Record; /** Accepts any additional properties */ [key: string]: any; } export declare namespace GeneralAgentResponseMessage { type Content = string | AthenaIntelligence.InputMessageContentItem[]; /** * Unique identifier for the message or LangChain class identifier. */ type Id = string | string[]; }