import type { DetailedHTMLProps, FC, HTMLAttributes } from 'react'; import type { ContentDistribution, ContentPosition, FlexDirection } from './type'; export declare type CommonSpaceNumber = 2 | 4 | 8 | 12 | 16 | 24; export interface IFlexbox { /** * 是否横向 */ horizontal?: boolean; /** * 横向居中 */ horizontalCenter?: boolean; direction?: FlexDirection; distribution?: ContentDistribution; align?: ContentPosition; gap?: CommonSpaceNumber | number; width?: number | string; height?: number | string; padding?: string | number | CommonSpaceNumber; flex?: number | string; /** * 是否隐藏内容 */ hidden?: boolean; } export declare type FlexboxProps = IFlexbox & DetailedHTMLProps, HTMLDivElement>; export declare const Flexbox: FC;