import * as React from 'react'; import { GetClasses } from '../../typeUtils'; export declare const BoxStylesKey = "ChromaBox"; export declare type BoxClasses = GetClasses; export interface BoxProps extends React.DetailedHTMLProps, HTMLDivElement> { ref?: React.Ref; children?: React.ReactNode; className?: string; flexChildren?: boolean; flexWrap?: boolean; align?: 'stretch' | 'baseline' | 'center' | 'start' | 'flex-start' | 'end' | 'flex-end'; direction?: 'row' | 'column'; justify?: 'center' | 'flex-start' | 'space-between' | 'space-evenly' | 'flex-end'; height?: number | string; width?: number | string; fullHeight?: boolean; fullWidth?: boolean; gap?: number | string; margin?: number | string; marginTop?: number | string; marginBottom?: number | string; marginLeft?: number | string; marginRight?: number | string; marginX?: number | string; marginY?: number | string; padding?: number | string; paddingTop?: number | string; paddingBottom?: number | string; paddingLeft?: number | string; paddingRight?: number | string; paddingX?: number | string; paddingY?: number | string; borderRadius?: boolean; color?: string; bgColor?: string; } export declare const useStyles: (props: BoxProps) => import("@mui/styles").ClassNameMap; declare type Sides = [ top: string | undefined, right: string | undefined, bottom: string | undefined, left: string | undefined ]; /** Expands a CSS box shorthand ("8px", "0 auto", "1px 2px 3px") into sides. */ export declare const expandShorthand: (value: string | undefined) => Sides; /** The Box component is used as a presentational wrapper. It provides a div with basic CSS and [flexbox](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox) options as props. ### Links - [Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/Box/Box.tsx) - [Story Source](https://github.com/lifeomic/chroma-react/blob/master/stories/components/Box/Box.stories.tsx) */ export declare const Box: React.ForwardRefExoticComponent & React.RefAttributes>; export {};