UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

47 lines (46 loc) 1.34 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/aireviewmodereviewcommandlistitemview */ import type { Locale } from 'ckeditor5/src/utils.js'; import { ListItemView } from 'ckeditor5/src/ui.js'; import type { AIReviewCheck } from '../model/aireviewcheck.js'; /** * A view representing an item in the list of tempaltes. * * @protected */ export declare class AIReviewModeReviewCommandListItemView extends ListItemView { /** * The loading state of the controls. * * @observable */ isItemParametrized: boolean; isParametrizedViewOpen: boolean; isListItemRendered: boolean; constructor(locale: Locale, check: AIReviewCheck, index: number); render(): void; /** * Resets all form items in the parameterized view to their default values. */ resetToDefault(): void; } export type AIReviewModeUIRunReviewCheckEvent = { name: 'runReviewCheck'; args: [ { id: string; params?: Array<string>; args?: { language?: string; model?: string; prompt?: string; }; isCustom?: boolean; } ]; };