import { SizeType } from "../config-provider/SizeContext.js";
import { ComponentBaseProps, DirectionType } from "../config-provider/context.js";
import * as vue944 from "vue";
import { Ref } from "vue";

//#region src/space/Compact.d.ts
interface SpaceCompactProps extends ComponentBaseProps {
  size?: SizeType;
  direction?: 'horizontal' | 'vertical';
  block?: boolean;
  orientation?: 'horizontal' | 'vertical';
  vertical?: boolean;
}
interface SpaceCompactItemContextType {
  compactSize?: SizeType;
  compactDirection?: 'horizontal' | 'vertical';
  isFirstItem?: boolean;
  isLastItem?: boolean;
}
declare function useSpaceCompactItemContext(): Ref<SpaceCompactItemContextType | null, SpaceCompactItemContextType | null>;
declare function useCompactItemContext(prefixCls: Ref<string>, direction: Ref<DirectionType>): {
  compactSize: vue944.ComputedRef<SizeType>;
  compactDirection: vue944.ComputedRef<"vertical" | "horizontal" | undefined>;
  compactItemClassnames: vue944.ComputedRef<string>;
};
declare const NoCompactStyle: vue944.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue944.PublicProps>;
declare const Compact: vue944.DefineSetupFnComponent<SpaceCompactProps, {}, {}, SpaceCompactProps & {}, vue944.PublicProps>;
//#endregion
export { NoCompactStyle, SpaceCompactItemContextType, SpaceCompactProps, Compact as default, useCompactItemContext, useSpaceCompactItemContext };