import React from 'react'; import * as StyledSystem from 'styled-system'; import * as H from 'history'; import { Theme } from '../theme'; import { UtilityProps } from './utility'; import { PseudoProps } from './pseudo'; declare type ThemedStyleProps = StyledSystem.SpaceProps & StyledSystem.ColorProps & StyledSystem.LayoutProps & StyledSystem.BackgroundProps & StyledSystem.GridProps & StyledSystem.ShadowProps & StyledSystem.BorderProps & StyledSystem.PositionProps & StyledSystem.FlexboxProps & StyledSystem.TypographyProps; declare type RoutingProps = { /** The url path to navigate, if the component implements a Link * @ignore */ to?: H.LocationDescriptor | ((location: H.Location) => H.LocationDescriptor); }; declare type EmotionProps = { /** The React Component or native HTML element to render instead. * @default "div" * @ignore */ as?: React.ElementType; }; export interface CustomStyleProps { shadow?: ThemedStyleProps['boxShadow']; fill?: ThemedStyleProps['color']; stroke?: ThemedStyleProps['color']; textDecoration?: StyledSystem.ResponsiveValue; textTransform?: StyledSystem.ResponsiveValue; animation?: StyledSystem.ResponsiveValue; transform?: StyledSystem.ResponsiveValue; visibility?: StyledSystem.ResponsiveValue; whiteSpace?: StyledSystem.ResponsiveValue; pointerEvents?: StyledSystem.ResponsiveValue; wordBreak?: StyledSystem.ResponsiveValue; overflowWrap?: StyledSystem.ResponsiveValue; textOverflow?: StyledSystem.ResponsiveValue; cursor?: StyledSystem.ResponsiveValue; resize?: StyledSystem.ResponsiveValue; transition?: StyledSystem.ResponsiveValue; objectFit?: StyledSystem.ResponsiveValue; outline?: StyledSystem.ResponsiveValue; userSelect?: StyledSystem.ResponsiveValue; transformOrigin?: StyledSystem.ResponsiveValue; willChange?: StyledSystem.ResponsiveValue; borderCollapse?: StyledSystem.ResponsiveValue; borderSpacing?: StyledSystem.ResponsiveValue; tableLayout?: StyledSystem.ResponsiveValue; } export declare const customStyleProps: Record; export declare type StylingProps = ThemedStyleProps & CustomStyleProps; export declare const stylingProps: StyledSystem.styleFn; export declare type SystemProps = StylingProps & RoutingProps & EmotionProps & PseudoProps & UtilityProps; export {};