/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module ai/aichat/model/aichatinteraction * @publicApi */ import { type AICapabilitiesConfig } from '../../aicore/model/aicapabilities.js'; import { AIInteraction, type AIInteractionOptions } from '../../aicore/model/aiinteraction.js'; import { type AIContextItem } from '../../aicore/model/aicontext.js'; export declare class AIChatInteraction extends AIInteraction { /** * The user message that was sent to the AI endpoint. */ readonly userMessage: string; /** * The ID of the conversation that the interaction belongs to. */ readonly conversationId: string; /** * The context items that were sent to the AI endpoint. */ readonly contextItems: Map; /** * The capabilities settings that were sent to the AI endpoint. */ readonly capabilities: AICapabilitiesConfig; /** * The model of the interaction. */ readonly model: string; /** * Additional metadata properties passed together with the user message when it was submitted. */ readonly attributes?: Record; constructor(options: AIChatInteractionOptions); } export type AIChatInteractionOptions = { conversationId: string; contextItems: Map; capabilities: AICapabilitiesConfig; userMessage: string; model: string; attributes?: Record; } & AIInteractionOptions;