import type { AppContext, CSSProperties } from 'vue';
import type { ModalConfig as _ModalConfig, ModalReturn } from '@arco-design/web-vue';
export interface ModalConfig extends _ModalConfig {
    hideHeaderBorder?: boolean;
    style?: CSSProperties;
}
export interface ModalMethod {
    /**
     * @zh 打开对话框
     * @en Open modal
     */
    open: (config: ModalConfig, appContext?: AppContext) => ModalReturn;
    /**
     * @zh 打开对话框（简单模式）
     * @en Open modal (simple mode)
     */
    confirm: (config: ModalConfig, appContext?: AppContext) => ModalReturn;
    /**
     * @zh 打开信息对话框
     * @en Open info modal
     */
    info: (config: ModalConfig, appContext?: AppContext) => ModalReturn;
    /**
     * @zh 打开成功对话框
     * @en Open success modal
     */
    success: (config: ModalConfig, appContext?: AppContext) => ModalReturn;
    /**
     * @zh 打开警告对话框
     * @en Open warning modal
     */
    warning: (config: ModalConfig, appContext?: AppContext) => ModalReturn;
    /**
     * @zh 打开错误对话框
     * @en Open error modal
     */
    error: (config: ModalConfig, appContext?: AppContext) => ModalReturn;
    /**
     * @zh 打开对话框（同步模式）
     * @en Open modal (sync mode)
     */
    syncConfirm: (config: ModalConfig, appContext?: AppContext) => Promise<boolean>;
}
declare const _default: () => {
    Modal: ModalMethod;
};
export default _default;
