import { IAction } from '@oinone/kunlun-meta';
import { ButtonBizStyle, ButtonType, PopconfirmPlacement } from '@oinone/kunlun-vue-ui-common';
import { PropType } from 'vue';
export declare const BaseActionProps: {
    action: {
        type: PropType<IAction>;
    };
    bizStyle: {
        type: StringConstructor;
        default: ButtonBizStyle;
    };
    label: {
        type: StringConstructor;
    };
    help: {
        type: StringConstructor;
    };
    icon: {
        type: StringConstructor;
    };
    invisible: {
        type: BooleanConstructor;
        default: boolean;
    };
    inline: {
        type: BooleanConstructor;
        default: boolean;
    };
    disabled: {
        type: BooleanConstructor;
        default: boolean;
    };
    disabledTitle: {
        type: StringConstructor;
        default: string;
    };
    loading: {
        type: BooleanConstructor;
        default: boolean;
    };
    validateAndClick: {
        type: FunctionConstructor;
    };
    validatorForm: {
        type: PropType<() => Promise<boolean>>;
    };
    confirm: {
        type: StringConstructor;
    };
    confirmTitle: {
        type: StringConstructor;
    };
    confirmPosition: {
        type: PropType<PopconfirmPlacement>;
    };
    enterText: {
        type: StringConstructor;
    };
    cancelText: {
        type: StringConstructor;
    };
};
export declare const ActionProps: {
    type: {
        type: StringConstructor;
        default: ButtonType;
    };
    action: {
        type: PropType<IAction>;
    };
    bizStyle: {
        type: StringConstructor;
        default: ButtonBizStyle;
    };
    label: {
        type: StringConstructor;
    };
    help: {
        type: StringConstructor;
    };
    icon: {
        type: StringConstructor;
    };
    invisible: {
        type: BooleanConstructor;
        default: boolean;
    };
    inline: {
        type: BooleanConstructor;
        default: boolean;
    };
    disabled: {
        type: BooleanConstructor;
        default: boolean;
    };
    disabledTitle: {
        type: StringConstructor;
        default: string;
    };
    loading: {
        type: BooleanConstructor;
        default: boolean;
    };
    validateAndClick: {
        type: FunctionConstructor;
    };
    validatorForm: {
        type: PropType<() => Promise<boolean>>;
    };
    confirm: {
        type: StringConstructor;
    };
    confirmTitle: {
        type: StringConstructor;
    };
    confirmPosition: {
        type: PropType<PopconfirmPlacement>;
    };
    enterText: {
        type: StringConstructor;
    };
    cancelText: {
        type: StringConstructor;
    };
};
export declare function useAction(props: any): {
    condition: () => Promise<boolean | undefined>;
};
