@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
55 lines (54 loc) • 2.08 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/aireviewcore/ui/aireviewcoreview
*/
import { type Locale } from '@ckeditor/ckeditor5-utils';
import { View, type FormHeaderView } from '@ckeditor/ckeditor5-ui';
import { type AIReviewCoreReviewCheckListView } from './aireviewcorereviewchecklistview.js';
import { type AIReviewCoreReviewCompletedView } from './aireviewcorereviewcompletedview.js';
import { AIReviewCoreGeneralErrorView } from './aireviewcoregeneralerrorview.js';
import { type AIReviewCoreUICheckResultsView } from './aireviewcoreuicheckresultsview.js';
export declare class AIReviewCoreView extends View {
/**
* The header of the AI Review Core.
*/
reviewCoreHeader: FormHeaderView;
/**
* The general error view of the AI Review Core.
*/
generalErrorView: AIReviewCoreGeneralErrorView;
/**
* The review check list view of the AI Review Core.
*/
reviewCheckListView: AIReviewCoreReviewCheckListView;
/**
* The check run results view of the AI Review Core.
*/
reviewCheckResultsView: AIReviewCoreUICheckResultsView;
/**
* The review completed view of the AI Review Core.
*/
reviewCompletedView: AIReviewCoreReviewCompletedView;
constructor(locale: Locale, views: {
header: FormHeaderView;
list: AIReviewCoreReviewCheckListView;
results: AIReviewCoreUICheckResultsView;
completed: AIReviewCoreReviewCompletedView;
});
showReviewCheckListView(): void;
showReviewCheckResultsView(): void;
addCheckRunResult(result: {
contentDiffed: string;
id: string;
}): void;
showReviewCompletedView(): void;
showActionsWhenResultIsReady(): void;
showNoChangesView(): void;
hideActionsWhenResultIsReady(): void;
showGeneralReviewCoreErrorView(errorMessage: string): void;
showGeneralResultsErrorView(): void;
showChunkErrorView(): void;
}