/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; import type { SizeType } from '../../config-provider/component/SizeContext'; export interface SpaceCompactItemContextType { compactSize?: SizeType; compactDirection?: 'horizontal' | 'vertical'; isFirstItem?: boolean; isLastItem?: boolean; } export declare const SpaceCompactItemContext: React.Context; export declare const useCompactItemContext: (prefixCls: string, direction: "ltr" | "rtl" | undefined) => { compactSize: SizeType; compactDirection: "horizontal" | "vertical" | undefined; compactItemClassnames: string; }; export declare const NoCompactStyle: React.FC>; export interface SpaceCompactProps extends React.HTMLAttributes { prefixCls?: string; size?: SizeType; direction?: 'horizontal' | 'vertical'; block?: boolean; } declare const Compact: React.FC; export default Compact;