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