import { ReactElement, ComponentProps } from 'react'; import { DivProps } from '../../types'; type SkeletonSharedProps = { /** 默认为`rounded` */ variant?: 'circular' | 'rectangular' | 'rounded'; /** 是否播放动画,默认为`true` */ animation?: boolean; }; export interface SkeletonProps extends SkeletonSharedProps, DivProps { width?: string | number; height?: string | number; } export declare const Skeleton: { (props: SkeletonProps): ReactElement; Card: typeof SkeletonCard; Table: typeof SkeletonTable; }; export interface SkeletonCardProps extends SkeletonSharedProps, DivProps { /** 默认为false */ showAvatar?: boolean; /** 默认为true */ showTitle?: boolean; /** 默认为3 */ rows?: number; } export declare const SkeletonCard: import("react").MemoExoticComponent<({ showAvatar, showTitle, rows, variant, animation, ...props }: SkeletonCardProps) => import("@emotion/react/jsx-runtime").JSX.Element>; export interface SkeletonTableProps extends SkeletonSharedProps, Partial> { columns?: number; rows?: number; } export declare const SkeletonTable: import("react").MemoExoticComponent<({ columns, rows, variant, animation, ...props }: SkeletonTableProps) => import("@emotion/react/jsx-runtime").JSX.Element>; export {};