import type { ExtractPropTypes, PropType, Ref } from 'vue';
import type { DirectionType, SizeType } from '../config-provider';
export declare const spaceCompactItemProps: () => {
    compactSize: PropType<SizeType>;
    compactDirection: {
        type: StringConstructor;
        validator: (s: string) => boolean;
        default: string;
    };
    isFirstItem: {
        type: BooleanConstructor;
        default: boolean;
    };
    isLastItem: {
        type: BooleanConstructor;
        default: boolean;
    };
};
export type SpaceCompactItemContextType = Partial<ExtractPropTypes<ReturnType<typeof spaceCompactItemProps>>>;
export declare const SpaceCompactItemContext: {
    useProvide: (props: Partial<ExtractPropTypes<{
        compactSize: PropType<SizeType>;
        compactDirection: {
            type: StringConstructor;
            validator: (s: string) => boolean;
            default: string;
        };
        isFirstItem: {
            type: BooleanConstructor;
            default: boolean;
        };
        isLastItem: {
            type: BooleanConstructor;
            default: boolean;
        };
    }>>, newProps?: Partial<ExtractPropTypes<{
        compactSize: PropType<SizeType>;
        compactDirection: {
            type: StringConstructor;
            validator: (s: string) => boolean;
            default: string;
        };
        isFirstItem: {
            type: BooleanConstructor;
            default: boolean;
        };
        isLastItem: {
            type: BooleanConstructor;
            default: boolean;
        };
    }>>) => {
        compactDirection?: string;
        isFirstItem?: boolean;
        isLastItem?: boolean;
        compactSize?: SizeType;
    };
    useInject: () => Partial<ExtractPropTypes<{
        compactSize: PropType<SizeType>;
        compactDirection: {
            type: StringConstructor;
            validator: (s: string) => boolean;
            default: string;
        };
        isFirstItem: {
            type: BooleanConstructor;
            default: boolean;
        };
        isLastItem: {
            type: BooleanConstructor;
            default: boolean;
        };
    }>>;
};
export declare const useCompactItemContext: (prefixCls: Ref<string>, direction: Ref<DirectionType>) => {
    compactSize: import("vue").ComputedRef<SizeType>;
    compactDirection: import("vue").ComputedRef<string>;
    compactItemClassnames: import("vue").ComputedRef<any>;
};
export declare const NoCompactStyle: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
    [key: string]: any;
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
export declare const spaceCompactProps: () => {
    prefixCls: StringConstructor;
    size: {
        type: PropType<SizeType>;
    };
    direction: {
        type: StringConstructor;
        validator: (s: string) => boolean;
        default: string;
    };
    align: {
        type: StringConstructor;
        validator: (s: string) => boolean;
    };
    block: {
        type: BooleanConstructor;
        default: any;
    };
};
export type SpaceCompactProps = Partial<ExtractPropTypes<ReturnType<typeof spaceCompactProps>>>;
declare const Compact: import("vue").DefineComponent<{
    prefixCls: StringConstructor;
    size: {
        type: PropType<SizeType>;
    };
    direction: {
        type: StringConstructor;
        validator: (s: string) => boolean;
        default: string;
    };
    align: {
        type: StringConstructor;
        validator: (s: string) => boolean;
    };
    block: {
        type: BooleanConstructor;
        default: any;
    };
}, () => import("../_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
    prefixCls: StringConstructor;
    size: {
        type: PropType<SizeType>;
    };
    direction: {
        type: StringConstructor;
        validator: (s: string) => boolean;
        default: string;
    };
    align: {
        type: StringConstructor;
        validator: (s: string) => boolean;
    };
    block: {
        type: BooleanConstructor;
        default: any;
    };
}>>, {
    block: boolean;
    direction: string;
}, {}>;
export default Compact;
