import { UiElement } from '../shared/element.js'; export type SkeletonShape = 'text' | 'heading' | 'field' | 'button' | 'block'; /** * Loading placeholder in the shape of the content to come (Carbon skeleton states). * * Purely visual: hidden from assistive tech and never focusable. Tell screen-reader users * about loading on the container instead — `aria-busy="true"` plus a short status message * (e.g. a `role="status"` "Loading contracts…") — and drop both when the content arrives. * * Carbon look: the skeleton-background bar with Carbon's 3s skeleton-element sweep (`shared/skeleton.ts`). * * @cssprop --ui-skeleton-width - Width (default: full width; buttons 120px) * @cssprop --ui-skeleton-height - Height of `shape="block"` (default 160px) * @csspart bone - Each grey placeholder bar * @csspart label - The short label bar of `shape="field"` */ export declare class UiSkeleton extends UiElement { static readonly styles: import("lit").CSSResult[]; shape: SkeletonShape; /** Number of lines for `shape="text"`. */ lines: number; connectedCallback(): void; render(): import("lit-html").TemplateResult<1> | import("lit-html").TemplateResult<1>[]; } declare global { interface HTMLElementTagNameMap { 'ui-skeleton': UiSkeleton; } }