import * as React from 'react'; export interface SkeletonProps extends Omit, 'color'> { /** A skeleton with nothing said about it is loading; that is what one is for. */ readonly loading?: boolean; /** When true, the Skeleton wraps its single child element instead of adding a wrapper div. */ readonly asChild?: boolean; } export declare const Skeleton: React.ForwardRefExoticComponent>; export interface SkeletonCircleProps extends React.HTMLAttributes { readonly size?: string | number; readonly loading?: boolean; } export declare const SkeletonCircle: React.ForwardRefExoticComponent>; export interface SkeletonTextProps extends React.HTMLAttributes { readonly noOfLines?: number; readonly loading?: boolean; } export declare const SkeletonText: React.ForwardRefExoticComponent>; /** * The page-level "work is in flight" signal — one animated element, however * many skeletons are on screen. Mount it while any request is outstanding. * * It is `position: fixed` and 2px tall, so it is out of flow: it cannot shift * layout (CLS 0) and it cannot tint content. Under prefers-reduced-motion the * sweep stops and the track stays lit, so the state is still legible. * * This is what replaces a bare spinner. A spinner says "something is * happening somewhere"; a skeleton plus this bar says "here is the shape of * what is coming, and it is still coming". */ export declare function LoadingBar({ loading }: { readonly loading?: boolean; }): React.JSX.Element | null; //# sourceMappingURL=skeleton.d.ts.map