import { PureComponent, ReactNode, CSSProperties } from 'react'; import PropTypes from 'prop-types'; import '@douyinfe/semi-foundation/lib/es/space/space.css'; export type Align = 'start' | 'center' | 'end' | 'baseline'; export type Spacing = 'loose' | 'medium' | 'tight' | number; export type SpaceProps = { wrap?: boolean; align?: Align; vertical?: boolean; spacing?: Spacing | Spacing[]; children?: ReactNode; style?: CSSProperties; className?: string; }; declare class Space extends PureComponent { static propTypes: { wrap: PropTypes.Requireable; align: PropTypes.Requireable; vertical: PropTypes.Requireable; spacing: PropTypes.Requireable>; children: PropTypes.Requireable; style: PropTypes.Requireable; className: PropTypes.Requireable; }; static defaultProps: { vertical: boolean; wrap: boolean; spacing: string; align: string; }; render(): ReactNode; } export default Space;