import BaseFoundation, { DefaultAdapter } from '../base/foundation';
export interface PopconfirmAdapter
, S = Record> extends DefaultAdapter {
setVisible: (visible: boolean) => void;
updateConfirmLoading: (loading: boolean) => void;
updateCancelLoading: (loading: boolean) => void;
notifyConfirm: (e: any) => Promise | void;
notifyCancel: (e: any) => Promise | void;
notifyVisibleChange: (visible: boolean) => void;
notifyClickOutSide: (e: any) => void;
focusCancelButton: () => void;
focusOkButton: () => void;
focusPrevFocusElement: () => void;
}
export default class PopConfirmFoundation, S = Record> extends BaseFoundation, P, S> {
init(): void;
destroy(): void;
handleCancel(e: any): void;
handleConfirm(e: any): void;
handleClickOutSide(e: any): void;
handleVisibleChange(visible: boolean): void;
handleFocusOperateButton(): void;
}