import { ReactNode } from 'react'; /** Names of the `--radius-*` tokens. */ type RadiusName = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full'; export interface SkeletonProps { /** px when a number, any CSS length otherwise. */ width?: number | string; height?: number | string; /** Fully rounded: a circle when width = height (avatars, icons), a pill otherwise (buttons, badges). */ round?: boolean; /** Corner radius: a `radius` token name, px, or CSS length. Overrides `round`. Default `sm` (4px). */ radius?: RadiusName | number | string; /** Set false for a still block (e.g. many skeletons at once). Reduced-motion users never see the shimmer. */ animate?: boolean; /** Block colour; change both colours on dark or coloured backgrounds. */ baseColor?: string; /** Colour of the moving shine. */ highlightColor?: string; className?: string; } /** * Shimmering placeholder for content that is still loading. Size it like the real content, so nothing jumps when * the data arrives. Hidden from screen readers: wrap a loading area in one `SkeletonStatus` to announce it. */ export declare const Skeleton: ({ width, height, round, radius, animate, baseColor, highlightColor, className, }: SkeletonProps) => import("react/jsx-runtime").JSX.Element; export interface SkeletonLinesProps extends Pick { lines?: number; /** Height of each line in px. */ height?: number; /** Space between lines in px. */ gap?: number; /** Line widths, repeated when there are more lines than widths. */ widths?: Array; className?: string; } /** A stack of lines: a paragraph, a list or a table body still loading. */ export declare const SkeletonLines: ({ lines, height, gap, widths, className, ...lineProps }: SkeletonLinesProps) => import("react/jsx-runtime").JSX.Element; export interface SkeletonStatusProps { children: ReactNode; /** Read by screen readers instead of the (silent) skeletons. */ label?: string; className?: string; dataCy?: string; } /** Marks an area as loading: screen readers read `label`, the skeletons inside stay silent. */ export declare const SkeletonStatus: ({ children, label, className, dataCy }: SkeletonStatusProps) => import("react/jsx-runtime").JSX.Element; export {};