import { ReactNode } from 'react';
import 'antd/lib/modal/style/css';
import 'antd/lib/steps/style/css';
import 'antd/lib/button/style/css';
import { StepProps } from 'antd/lib/steps';
import { ModalProps } from 'antd/lib/modal';
interface IProps extends ModalProps {
    setVisible: (boolean: any) => void;
    steps: IStepModalItem[];
    onSubmit?: () => void;
    destroyOnSwitch?: boolean;
}
export interface IStepModalItem extends StepProps {
    content: ReactNode;
    title: string;
    afterEnter?: () => void;
    /** return 是否允许离开当前页 */
    beforeLeave?: () => boolean;
}
declare function StepModal(props: IProps): JSX.Element;
export default StepModal;
