export type ShowtimeSkeletonAnimationDirection = 'ltr' | 'rtl' | 'ttb' | 'btt'; export interface ShowtimeSkeletonVisualProps { /** 骨架基础色;省略时继承主题 token。 */ baseColor?: string; /** 扫光高亮色;省略时继承主题 token。 */ highlightColor?: string; /** 骨架圆角;数字按 px 处理。 */ borderRadius?: number | string; } export interface ShowtimeSkeletonProps extends ShowtimeSkeletonVisualProps { /** 是否显示骨架内容。 */ loading?: boolean; /** 是否启用单束高亮扫光效果。 */ animation?: boolean; /** 扫光完整循环时长(包含离场后的短暂间隔);数字按 ms 处理。 */ animationDuration?: number | string; /** 单束扫光带的倾斜角度;数字按 deg 处理。 */ animationAngle?: number | string; /** 扫光方向:ltr 左到右、rtl 右到左、ttb 上到下、btt 下到上。 */ animationDirection?: ShowtimeSkeletonAnimationDirection; } export interface ShowtimeSkeletonLineProps extends ShowtimeSkeletonVisualProps { /** 显示的线条数量。 */ rows?: number; /** 每条线的宽度;数字按 px 处理,字符串可传任意 CSS 宽度。 */ widths?: Array; /** 单条线的高度,单位为 px。 */ lineHeight?: number; /** 相邻线条之间的间距,单位为 px。 */ lineSpacing?: number; } export interface ShowtimeSkeletonShapeProps extends ShowtimeSkeletonVisualProps { /** 图形骨架形状。 */ shape?: 'square' | 'circle'; /** 图形骨架大小。 */ size?: 'small' | 'medium' | 'large'; } export declare const DEFAULT_SHOWTIME_SKELETON_PROPS: Required; export declare const DEFAULT_SHOWTIME_SKELETON_LINE_PROPS: Required>; export declare const DEFAULT_SHOWTIME_SKELETON_SHAPE_PROPS: Required>;