/// <reference types="react" />
import { modalOptions } from "./dialog";
/**
 * 弹出框组件
 * @param context 主体内容
 * @param title 弹出框标题
 * @param hideClose 隐藏右上角关闭图标 boolean 默认 false
 * @param checkFunction 检查方法，返回 boolean 值，true则关闭弹窗，false反之
 **/
export declare const useModal: () => (options: modalOptions) => Promise<boolean>;
/**
* 函数弹窗组件Provider
*/
export declare const FunctionModalProvider: ({ children }: any) => JSX.Element;
export declare const useClose: () => Function;
