import { ElementType, RefAttributes, HTMLProps, PropsWithoutRef, ForwardRefExoticComponent } from 'react'; import { MotionProps } from 'framer-motion'; import { ResponsiveStyleValue, SystemStyleObject, Theme, CSSObject } from '@styled-system/css'; import { SpaceProps, LayoutProps, PositionProps, FontSizeProps, FlexProps as FlexDefaultProps, FontStyleProps, ColorProps, OrderProps, BorderProps, BackgroundProps, AlignSelfProps, FlexboxProps, FontFamilyProps, TypographyProps, FontWeightProps, TextAlignProps, LetterSpacingProps, BoxShadowProps, GridProps as GridDefaultProps } from 'styled-system'; export declare type StyledObject = SystemStyleObject | Record | Record>>; export interface StyledProps { sx?: StyledObject; theme?: Theme; tx?: string; variant?: string | string[]; __css?: StyledObject; } export declare type StyledFunction = (props: StyledProps) => CSSObject; export declare type Variant = (props: StyledProps) => CSSObject; export interface BaseProps extends RefAttributes { as?: ElementType; css?: CSSObject; } export interface BaseStyleProps extends BaseProps, SpaceProps, LayoutProps, FontSizeProps, ColorProps, FlexDefaultProps, FlexboxProps, OrderProps, AlignSelfProps, BorderProps, BackgroundProps, PositionProps, BoxShadowProps, TypographyProps, FontFamilyProps, FontWeightProps, GridDefaultProps, StyledProps { color?: string; } export declare type StyledRefComponent = ForwardRefExoticComponent & RefAttributes>; interface TextBaseProps extends FontWeightProps, TextAlignProps, FontStyleProps, LetterSpacingProps { } export interface StyledComponentProps extends BaseStyleProps, Omit, keyof BaseStyleProps> { } export interface BoxProps extends StyledComponentProps { } export interface FlexProps extends StyledComponentProps { } export interface GridProps extends StyledComponentProps { } export interface TextProps extends StyledComponentProps, TextBaseProps { } export interface HeadingProps extends StyledComponentProps, TextBaseProps { } export interface LinkProps extends StyledComponentProps { } export interface ButtonProps extends StyledComponentProps { } export interface ImageProps extends StyledComponentProps { } export declare type AnimatedComponentProps

= PropsWithoutRef & MotionProps> & RefAttributes; export declare type AnimatedProps = AnimatedComponentProps; export interface SvgProps extends StyledComponentProps { viewBox?: string; xmlns?: string; fill?: string; } export interface OverlayProps extends StyledComponentProps { } export interface DividerProps extends StyledComponentProps { } export declare type OmitMotionProps

= Omit; export {};