/**
 * @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/aicore/ui/suggestioncontainer/aisuggestioncontentpartview
 */
import { type Locale } from 'ckeditor5/src/utils.js';
import { View } from 'ckeditor5/src/ui.js';
import { type AISuggestionContentPartDefinition } from '../../utils/getsuggestionpartsfromreply.js';
import { type AIReplyChangeGroupState } from '../../model/aireply.js';
import { type AISuggestionActionName } from '../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';
/**
 * A view that displays a single part in the suggestion content.
 */
export declare class AISuggestionBodyViewContentPartView extends View<HTMLDivElement> {
    partDefinition: AISuggestionContentPartDefinition;
    state: AIReplyChangeGroupState;
    isEnabled: boolean;
    /**
     * Controls the visibility of the content part.
     */
    isVisible: boolean;
    /**
     * @inheritDoc
     */
    constructor(locale: Locale, { part, uiIndex, areActionsDisabled, availableActions }: {
        part: AISuggestionContentPartDefinition;
        uiIndex: number;
        areActionsDisabled: boolean;
        availableActions: Array<AISuggestionActionName>;
    });
    updateContent({ part, renderingStrategy, showUnchangedParts, abortSignal }: {
        part: AISuggestionContentPartDefinition;
        renderingStrategy: AIContentRenderingStrategy;
        showUnchangedParts?: boolean;
        abortSignal?: AbortSignal;
    }): Promise<void>;
    /**
     * Toggles the visibility of the part header. For instance, the header does not make sense for an only part in the suggestion.
     */
    toggleHeader(shouldBeVisible: boolean): void;
}
export type AIContentRenderingStrategy = 'streaming' | 'static';
