import { CSSProperties } from 'react'; export declare type AnimateType = 'flicker' | 'wave' | 'none'; export interface SkeletonProps { /** * Skeleton `width`. * @default * 100% */ width?: number | string; /** * Skeleton height. * @default * 100% */ height?: number | string; /** * Skeleton box radius. * @default * 2 */ radius?: number; /** * Skeleton animation type. * @default * flicker */ animate?: AnimateType; /** * Skeleton color * @default * rgba(0,0,0,0.08) */ color?: string; /** * Skeleton wave color on wave animate. * @default * rgba(0,0,0,0.1) */ waveColor?: string; /** * Skeleton animation duration in seconds. * @default * 2 */ duration?: number; /** * It true, `display: inline-block`. or `display: block`. */ inline?: boolean; /** * Skeleton's style. */ extraStyle?: CSSProperties; } export declare function Skeleton({ width, height, radius, animate, duration, color, waveColor, inline, extraStyle, }: SkeletonProps): JSX.Element; export declare namespace Skeleton { var version: string; var displayName: string; }