import React from 'react'; import { SkeletonWrapper, SkeletonWrapperProps } from './Skeleton.styles'; import { SizeType } from '../Utils'; import { BoxStyled } from '../Utils/styled'; export type SkeletonMode = 'light' | 'dark'; export type SkeletonSize = SizeType<'s' | 'm' | 'l' | 'xl'>; export interface SkeletonProps extends BoxStyled { design: 'line' | 'block' | 'square' | 'circle'; size?: SkeletonSize; height?: string; width?: string; disableAnimation?: boolean; mode?: SkeletonMode; } export type LineProps = Omit & { design: 'line'; }; export type SquareCircleProps = Pick & { design: 'square' | 'circle'; }; export type BlockProps = Omit & Required> & { design: 'block'; }; export declare function Skeleton(props: LineProps | SquareCircleProps | BlockProps): React.JSX.Element; export declare namespace Skeleton { var displayName: string; }