import { TextStyleCollection } from '@repay/cactus-theme'; import { DefaultTheme } from 'styled-components'; import { BorderProps, ColorStyleProps, DisplayProps, LayoutProps, PositionProps, SpaceProps } from 'styled-system'; import { AllTextProps, FlexItemProps } from '../helpers/styled'; interface CustomBR { square: string; intermediate: string; round: string; } interface CustomBorderProps extends Omit { borderRadius?: BorderProps['borderRadius'] | CustomBR | 'themed'; borderTopLeftRadius?: BorderProps['borderTopLeftRadius'] | CustomBR; borderTopRightRadius?: BorderProps['borderTopRightRadius'] | CustomBR; borderBottomRightRadius?: BorderProps['borderBottomRightRadius'] | CustomBR; borderBottomLeftRadius?: BorderProps['borderBottomLeftRadius'] | CustomBR; } export interface BoxProps extends PositionProps, LayoutProps, SpaceProps, ColorStyleProps, DisplayProps, AllTextProps, CustomBorderProps, FlexItemProps { textStyle?: keyof TextStyleCollection; } export declare const Box: import("styled-components").StyledComponent<"div", DefaultTheme, BoxProps, never>; export default Box;