@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
33 lines (32 loc) • 1.11 kB
TypeScript
/**
* @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
*/
import { AIReviewCheck } from './aireviewcheck.js';
import { type AIReviewCheckBaseDefinition } from '../types.js';
declare const AIReviewCheckList_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;
};
/**
* Represents the list of review checks that can be performed in the AI Review.
*/
export declare class AIReviewCheckList extends /* #__PURE__ */ AIReviewCheckList_base {
/**
* Initializes the list of checks based on the provided definitions.
*/
setupChecks(checks: Array<AIReviewCheckBaseDefinition>): void;
/**
* The list of available review checks.
*/
get checks(): Array<AIReviewCheck>;
/**
* Returns the check by its ID.
*/
getCheckById(id: string): AIReviewCheck | undefined;
/**
* Removes the check by its ID.
*/
removeCheckById(id: string): void;
}
export {};