import type { ExtractPropTypes, Ref } from 'vue'; import type { DirectionType } from '../../config-provider'; import type { spaceCompactItemProps } from './props'; export type SpaceCompactItemContextType = Partial>>; export declare const SpaceCompactItemContext: { useProvide: (props: Partial; compactDirection: any; isFirstItem: { type: BooleanConstructor; default: boolean; }; isLastItem: { type: BooleanConstructor; default: boolean; }; }>>, newProps?: Partial; compactDirection: any; isFirstItem: { type: BooleanConstructor; default: boolean; }; isLastItem: { type: BooleanConstructor; default: boolean; }; }>>) => { compactDirection?: any; isFirstItem?: boolean; isLastItem?: boolean; compactSize?: import("@antdv/ui/es/ui").SizeType; }; useInject: () => Partial; compactDirection: any; isFirstItem: { type: BooleanConstructor; default: boolean; }; isLastItem: { type: BooleanConstructor; default: boolean; }; }>>; }; export declare function useCompactItemContext(prefixCls: Ref, direction: Ref): { compactSize: import("vue").ComputedRef; compactDirection: import("vue").ComputedRef; compactItemClassnames: import("vue").ComputedRef; };