import * as React from 'react'; import { borders, ComposedStyleFunction, display, flexbox, grid, palette, positions, shadows, sizing, spacing, typography, PropsFor, } from '@material-ui/system'; import { Omit } from '@material-ui/core'; type BoxStyleFunction = ComposedStyleFunction< [ typeof borders, typeof display, typeof flexbox, typeof grid, typeof palette, typeof positions, typeof shadows, typeof sizing, typeof spacing, typeof typography ] >; type SystemProps = PropsFor; type ElementProps = Omit, keyof SystemProps>; export interface BoxProps extends ElementProps, SystemProps { // styled API component?: React.ElementType; clone?: boolean; /** * @deprecated * Use the `sx` prop instead */ css?: SystemProps; // workaround for https://github.com/mui-org/material-ui/pull/15611 sx?: SystemProps; } declare const Box: React.ComponentType; export default Box;