import type { ModalAction } from '../types/modal'; /** * 创建弹窗关闭流程处理函数。 * @param onCloseState - 更新 visible/promise 状态 * @returns closeFn(before, action) */ declare function createCloseHandler(onCloseState: () => void): (this: any, before: ((next: () => void) => any) | null | undefined, action: ModalAction) => any; export { createCloseHandler, };