import { IPopConfirmProps } from '@teamix/pop-confirm';
import { DialogAction } from './dialog';
export declare type PopConfirmAction = DialogAction & Omit<IPopConfirmProps, 'type' | 'trigger'> & {
    popType?: IPopConfirmProps['type'];
};
export declare function usePopConfirmAction(action: PopConfirmAction, context?: any): {
    [x: string]: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => Promise<void>;
};
export default usePopConfirmAction;
