import { BorderRadiusProps, LayoutProps, SpaceProps } from "styled-system"; export const animation = { WAVES: "waves", PULSE: "pulse", } as const; export const variant = { RECT: "rect", ROUND: "round", CIRCLE: "circle", } as const; export type Animation = (typeof animation)[keyof typeof animation]; export type Variant = (typeof variant)[keyof typeof variant]; export interface SkeletonProps extends SpaceProps, LayoutProps, BorderRadiusProps { animation?: Animation; variant?: Variant; isDark?: boolean; style?: React.CSSProperties; } export interface SkeletonCoreProps extends SpaceProps, LayoutProps, BorderRadiusProps { animation?: Animation; variant?: Variant; isDataReady?: boolean; wrapperProps?: SpaceProps & LayoutProps; skeletonTop?: string; skeletonLeft?: string; style?: React.CSSProperties; }