import { type CSSProperties, type ElementType } from 'react'; import { type SpacingStyleProp } from '../../constants'; import { type TextAlignmentDictionaryType } from './dictionaries'; import { type BreakpointToken, type SingleOrResponsive } from './responsive'; import { type TextHyphensDictionaryType, type TextWordBreakDictionaryType } from './text'; import { type SpaceToken, type ThemeNameType } from './tokens'; export declare const STYLE_SPACING_AUTO: "auto"; export type StyleSpacingAuto = typeof STYLE_SPACING_AUTO; export type SpacingProps = { [key in keyof typeof SpacingStyleProp]?: SingleOrResponsive; }; export type SpacingType = SingleOrResponsive; export interface SpacingProp { spacing?: SpacingType; } export interface SpacingCSSProperties extends CSSProperties { [index: `--${string}`]: string | undefined | number; } export type DimensionType = SingleOrResponsive; export type ElementTypeProp = string | ElementType; export type DisplayProps = { hideOn?: BreakpointToken | BreakpointToken[]; hideFrom?: BreakpointToken; }; export interface StyleProps extends SpacingProps, DisplayProps { theme?: ThemeNameType; UNSAFE_className?: string; UNSAFE_style?: CSSProperties; } export type TextAlignmentType = SingleOrResponsive; export type TextHyphensType = TextHyphensDictionaryType; export type TextWordBreakType = TextWordBreakDictionaryType; export type UnsafeStyleProps = 'style' | 'className'; export type OmittedExtendedUnsafeStyleProps = Omit; export type OverloadStyleProps = Omit & StyleProps;