@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
36 lines (35 loc) • 1.22 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
*/
/**
* @module ai/aireviewmode/model/aireviewcheckextra
*/
import { type AIReviewCheckExtraDefinition } from '../../aireviewcore/types.js';
import { type AIModelData } from '../../aicore/aiconnector.js';
import { AIReviewCheck } from '../../aireviewcore/model/aireviewcheck.js';
/**
* Represents the extra check that can be added via
* {@link module:ai/aireviewmode/aireviewmode~AIReviewModeConfig#extraCommands} configuration
* and performed in the AI Review Mode.
*/
export declare class AIReviewCheckExtra extends AIReviewCheck {
/**
* Whether the check is extra.
* Always `true` for this type of check.
*/
isExtra: boolean;
/**
* The prompt text for this extra check run.
*/
prompt: string;
/**
* The model for this extra check run.
*/
model: string | undefined;
/**
* @inheritDoc
*/
constructor(checkDefinition: AIReviewCheckExtraDefinition, models: Array<AIModelData>, defaultModel: AIModelData | null);
get defaultModel(): AIModelData | null;
}