import React from "react"; import { SizeType } from "./config-provider"; import type { XHComponentCommonProps } from "../../types"; export declare const SpaceConfigContext: React.Context; export declare type SpaceProps = { direction?: "horizontal" | "vertical"; align?: "start" | "end" | "center" | "baseline"; size?: SizeType | [SizeType, SizeType]; style?: React.CSSProperties; split?: React.ReactNode; wrap?: boolean; } & XHComponentCommonProps; export declare const SpaceContext: React.Context<{ latestIndex: number; horizontalSize: number; verticalSize: number; supportFlexGap: boolean; }>; declare const XHSpace: React.FC; export default XHSpace;