/** * @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/aicore/ui/aiskeleton */ import { View } from "@ckeditor/ckeditor5-ui"; import { type Locale } from "@ckeditor/ckeditor5-utils"; export declare class AISkeletonView extends View { /** * Controls the visibility of the skeleton view. */ isVisible: boolean; /** * @inheritDoc */ constructor(locale: Locale | undefined, skeletonItemsList: Array); } /** * The predefined skeleton definitions for the AI skeleton view. */ export declare const SKELETON_DEFINITIONS: Record>; /** * A single bar of a skeleton. */ export type SkeletonBarDefinition = { tag: string; attributes: { class?: string; width: string; height: string; align: AlignOptions; }; }; /** * A row holding several bars. A row is a separate element, so it can carry its own padding and separator. */ export type SkeletonRowDefinition = { tag: string; children: Array; }; export type SkeletonDefinition = SkeletonBarDefinition | SkeletonRowDefinition; export type SkeletonItem = { tag: string; attributes: { class: Array; style?: string; }; children?: Array; }; type AlignOptions = "left" | "right" | "center"; export {};