///
import type { BackgroundProps, BorderProps, GridProps, LayoutProps, PositionProps, ShadowProps, SpaceProps, TypographyProps, FlexboxProps, OpacityProps } from 'styled-system';
import { BoxSizing, cursorType } from '../../interfaces/global';
import OverrideColor from '../../interfaces/OverrideColor';
export interface BoxProps extends OverrideColor, LayoutProps, GridProps, BackgroundProps, Omit, ShadowProps, SpaceProps, PositionProps, TypographyProps, OpacityProps, Omit {
boxSizing?: BoxSizing;
cursor?: cursorType;
as?: C | React.ElementType;
}
export type PolymorphBoxProps = BoxProps & Omit, keyof BoxProps>;
export type PolymorphicRef = React.ComponentPropsWithRef['ref'];
type PolymorphicComponentPropWithRef = PolymorphBoxProps & {
ref?: PolymorphicRef;
};
export type BoxComponent = (props: PolymorphicComponentPropWithRef) => React.ReactElement | null;
export {};