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