/**
 * @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/aichathistoryview
 */
import { type Locale } from '@ckeditor/ckeditor5-utils';
import { View } from '@ckeditor/ckeditor5-ui';
import { AIHeaderView } from '../../aicore/ui/aiheaderview.js';
import { type AIChatHistoryCategoryData } from '../aichathistoryui.js';
export declare class AIChatHistoryView extends View {
    headerView: AIHeaderView;
    hasItems: boolean;
    isLoading: boolean;
    errorMessage: string;
    isSearchViewVisible: boolean;
    isEmptyViewVisible: boolean;
    isMainErrorViewVisible: boolean;
    constructor(locale: Locale, showResizeButton: boolean);
    /**
     * Updates the chat history list with pre-categorized items from the model.
     */
    updateHistoryItemsWithCategories(categories: Array<AIChatHistoryCategoryData>): void;
    /**
     * Removes a conversation item from the history list by its ID.
     */
    removeHistoryItem(id: string): void;
    /**
     * Updates the title of a specific history item in the UI.
     */
    updateItemTitle(itemId: string, title: string): void;
    /**
     * Updates the loading state of a specific history item in the UI.
     */
    updateItemLoadingState(itemId: string, operation: string | null, isLoading: boolean): void;
}
