/**
 * @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/aichathistorylistview
 */
import { ListItemView } from '@ckeditor/ckeditor5-ui';
import type { AIChatHistoryListItemView } from './aichathistorylistitemview.js';
export interface AIChatHistoryListViewConfig {
    title: string;
    items: Array<AIChatHistoryListItemView>;
}
export declare class AIChatHistoryListView extends ListItemView {
    title: string;
    itemsViews: Array<AIChatHistoryListItemView>;
    isVisible: boolean;
    constructor(locale: any, { title, items }: AIChatHistoryListViewConfig);
    /**
     * Filters the list items based on the given regular expression.
     */
    filter(regExp: RegExp | null): {
        resultsCount: number;
        totalItemsCount: number;
    };
    /**
     * Gets an item from the list by its ID.
     */
    getItem(id: string): AIChatHistoryListItemView | undefined;
    /**
     * Removes an item from the list.
     */
    removeItem(item: AIChatHistoryListItemView): void;
}
