import { Component } from 'react'; import { CSSObject } from 'styled-components'; import { DefaultTheme } from 'styled-components'; import { DragEvent as DragEvent_2 } from 'react'; import { DragEventHandler } from 'react'; import { FC } from 'react'; import { IStyledComponentBase } from 'styled-components/dist/types'; import { PropsWithChildren } from 'react'; import { Ref } from 'react'; import { Substitute } from 'styled-components/dist/types'; declare type AddDollarSign = { [K in keyof T as `$${string & K}`]: T[K]; }; declare interface addSXProps { sx?: SXProps; } declare type IThemeDevice = 'default' | 'tablet' | 'mobile'; declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'black04' | 'blackHelena' | 'blackJanice' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | 'grayStephanie' | 'grayFrances' | 'grayTina' | 'green100' | 'green50' | 'green25' | 'green10' | 'green10Background' | 'whiteStandard' | 'whiteJanice' | 'yellowGoogle' | 'yellow100' | 'yellow50' | 'yellow25' | 'yellow10' | 'yellow10Background' | 'redGoogle' | 'red100' | 'red50' | 'red25' | 'red10' | 'red10Background' | 'blueGoogle' | 'blueRest' | 'blueActive' | 'blueHover' | 'blueFocus' | 'blueBr' | 'blueKaren' | 'blueMonica' | 'violetStephanie' | 'violetJanice' | 'amnezia' | 'inherit' | 'currentColor'; export declare const Skeleton: FC; declare type SkeletonDefaultProps = { className?: string; defaultVisible?: boolean; type?: 'primary' | 'secondary'; color?: IThemePaletteKeys; isInheritColor?: boolean; }; declare interface SkeletonIsShowProps extends SkeletonDefaultProps { visible: boolean; } export declare type SkeletonProps = StackProps & (SkeletonIsShowProps | SkeletonTimeProps); declare interface SkeletonTimeProps extends SkeletonDefaultProps { time: number; } declare interface StackProps extends addSXProps, PropsWithChildren { className?: string; isHover?: boolean; isRipple?: boolean; onClick?: () => void; onDragOver?: DragEventHandler; onDrop?: (e: DragEvent_2) => void; ref?: Ref; } export declare const StyledSkeleton: IStyledComponentBase<"web", Substitute> & string & Omit, keyof Component>; export declare type StyledSkeletonProps = StackProps & AddDollarSign>; declare type SXProps = ({ default: CSSObject; } & { [K in IThemeDevice]?: CSSObject; }) | ((theme: DefaultTheme) => { default: CSSObject; } & { [K in IThemeDevice]?: CSSObject; }); export { }