/** * @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/aichathistory/ui/aichathistorylistitemview */ import { ListItemView } from '@ckeditor/ckeditor5-ui'; interface AIChatHistoryListItemViewConfig { title: string; createdAt: string; active: boolean; pinned?: boolean; id: string; } declare const AIChatHistoryListItemView_base: import("@ckeditor/ckeditor5-utils").Mixed; export declare class AIChatHistoryListItemView extends /* #__PURE__ -- @preserve */ AIChatHistoryListItemView_base { id: string; isVisible: boolean; pinned: boolean; isEdit: boolean; loadingState: string | null; showConfirm: (key: string, element: unknown) => Promise; cancelConfirm: () => void; constructor(locale: any, config: AIChatHistoryListItemViewConfig); /** * Updates the title of the history item. */ updateTitle(title: string): void; /** * Updates the loading state of the history item. */ updateLoadingState(operation: string | null, isLoading: boolean): void; /** * Checks if the item matches the given regular expression. */ isMatching(regExp: RegExp): { title: boolean; } | null; /** * Highlights text in the title view based on the given regular expression. */ highlightText(regExp: RegExp | null): void; } export {};