import { BaseProps } from "../_utils/props.js"; import React from "react"; //#region src/skeleton/types.d.ts type SkeletonShape = 'rect' | 'round' | 'circle'; type SkeletonAnimation = boolean | 'pulse' | 'shimmer'; type SkeletonSize = 'sm' | 'md' | 'lg' | number; interface SkeletonAvatarConfig { shape?: 'circle' | 'square'; size?: SkeletonSize; } interface SkeletonTitleConfig { width?: number | string; } interface SkeletonParagraphConfig { rows?: number; widths?: Array; } interface SkeletonBlockProps extends BaseProps, Omit, 'children' | 'title'> { shape?: SkeletonShape; width?: number | string; height?: number | string; animation?: SkeletonAnimation; } interface SkeletonTextProps extends SkeletonBlockProps { rows?: number; widths?: Array; } interface SkeletonAvatarProps extends Omit { shape?: 'circle' | 'square'; size?: SkeletonSize; } interface SkeletonProps extends Omit, 'title'>, BaseProps { loading?: boolean; shape?: SkeletonShape; width?: number | string; height?: number | string; animation?: SkeletonAnimation; avatar?: boolean | SkeletonAvatarConfig; title?: boolean | SkeletonTitleConfig; paragraph?: boolean | SkeletonParagraphConfig; children?: React.ReactNode; } //#endregion export { SkeletonAnimation, SkeletonAvatarConfig, SkeletonAvatarProps, SkeletonBlockProps, SkeletonParagraphConfig, SkeletonProps, SkeletonShape, SkeletonSize, SkeletonTextProps, SkeletonTitleConfig }; //# sourceMappingURL=types.d.ts.map