import { ModalFuncProps } from 'antd';
import { useAppProps } from 'antd/es/app/context';
import { PisellContextType } from '../../../pisell-config-provider/context';
import './index.less';
declare const setModal: (m: useAppProps['modal']) => void;
export interface PisellModalFuncProps extends ModalFuncProps {
    platform?: PisellContextType['platform'];
}
export declare const info: (props: PisellModalFuncProps) => {
    destroy: () => void;
    update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
};
export declare const success: (props: PisellModalFuncProps) => {
    destroy: () => void;
    update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
};
export declare const error: (props: PisellModalFuncProps) => {
    destroy: () => void;
    update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
};
export declare const warning: (props: PisellModalFuncProps) => {
    destroy: () => void;
    update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
};
export declare const warn: (props: PisellModalFuncProps) => any;
export declare const confirm: (props: PisellModalFuncProps) => {
    destroy: () => void;
    update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
};
export { setModal };
