/** * @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/aiactions/model/aiactionsreply */ import { AIReply, type AIReplyChangeGroup } from "../../aicore/model/aireply.js"; /** * Represents a reply from the AI endpoint specifically for AI Actions. * This class handles the unique behavior needed for AI Actions mode, * where suggestions are presented as single change groups without context merging. */ export declare class AIActionsReply extends AIReply { /** * Routes incoming modification-delta content to the single synthetic document that AI Actions wires up in * {@link module:ai/aiactions/model/aiactionsinteraction~AIActionsInteraction#createReply `createReply`}. The * server does not stamp `documentId` on AI Actions streams (it's a single-editor flow with no routing key on * the wire), so the default `'text'` would land in the wrong bucket and the modification pipeline would skip it. */ override appendContent(content: string, documentId?: string): void; protected override _getDifferentChangeGroups(oldGroups: Array, newGroups: Array): Array; }