import React from 'react'; import { CSS, StitchesTheme } from "../config/stitches.config"; import { StyledSkeletonVariants } from "./skeleton-styled"; interface Props extends StyledSkeletonVariants { css?: CSS; opacity?: number; speed?: number; colorFrom?: keyof StitchesTheme['colors']; colorTo?: keyof StitchesTheme['colors']; width?: number | string; height?: number | string; as?: keyof JSX.IntrinsicElements; } declare type NativeAttrs = Omit, keyof Props>; export declare type SkeletonProps = Props & NativeAttrs; export declare const SkeletonComponent: React.ForwardRefExoticComponent>; declare const Skeleton: React.ForwardRefExoticComponent>; export default Skeleton;