UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

50 lines (49 loc) 1.87 kB
/** * @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/aireviewmode/ui/aireviewmodeview */ import { type Locale } from 'ckeditor5/src/utils.js'; import { View, FormHeaderView } from 'ckeditor5/src/ui.js'; import { AIReviewModeReviewCheckListView } from './aireviewmodereviewchecklistview.js'; import { AIReviewModeReviewCheckResultsView } from './aireviewmodereviewcheckresultsview.js'; import { AIReviewModeReviewCompletedView } from './aireviewmodereviewcompletedview.js'; import { AIReviewModeGeneralErrorView } from './aireviewmodegeneralerrorview.js'; export declare class AIReviewModeView extends View { /** * The header of the AI Review Mode. */ reviewModeHeader: FormHeaderView; /** * The general error view of the AI Review Mode. */ generalErrorView: AIReviewModeGeneralErrorView; /** * The review check list view of the AI Review Mode. */ reviewCheckListView: AIReviewModeReviewCheckListView; /** * The check run results view of the AI Review Mode. */ reviewCheckResultsView: AIReviewModeReviewCheckResultsView; /** * The review completed view of the AI Review Mode. */ reviewCompletedView: AIReviewModeReviewCompletedView; constructor(locale: Locale); showReviewCheckListView(): void; showReviewCheckResultsView(): void; addCheckRunResult(result: { contentDiffed: string; id: string; }): void; showReviewCompletedView(): void; showActionsWhenResultIsReady(): void; showNoChangesView(): void; hideActionsWhenResultIsReady(): void; showGeneralReviewModeErrorView(errorMessage: string): void; showGeneralResultsErrorView(): void; showChunkErrorView(): void; }