@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
17 lines (16 loc) • 753 B
TypeScript
/**
* @license Copyright (c) 2003-2025, 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 {
protected _getDifferentChangeGroups(oldGroups: Array<AIReplyChangeGroup>, newGroups: Array<AIReplyChangeGroup>): Array<AIReplyChangeGroup>;
}