import React from 'react'; import { ComponentProps } from '../utils/types'; interface BoxPropsBase { children?: React.ReactNode; /** * A React ref which is set to the DOM element when the component mounts and null when it unmounts. */ elementRef?: React.Ref; tag?: keyof JSX.IntrinsicElements; flex?: boolean; inline?: boolean; } type BoxProps = ComponentProps; /** * Box is a utility component to normalize and abstract common layout styles. */ declare const Box: React.ForwardRefExoticComponent, HTMLDivElement>, "ref" | "css" | keyof BoxPropsBase> & React.RefAttributes>; export default Box; export type { BoxProps, BoxPropsBase };