import React from 'react';
import './index.less';
/** 暴露给父组件调用的方法 */
export interface ProgressBarHandle {
    /** 等价于点击右上角关闭按钮，会走二次确认逻辑 */
    triggerClose: () => void;
}
export interface ProgressBarProps {
    title?: string | number;
    description?: string;
    isConfirmClose?: boolean;
    showClose?: boolean;
    showStep?: boolean;
    showBack?: boolean;
    className?: string;
    style?: React.CSSProperties;
    onBack?: () => void;
    onClose?: () => void;
    /** 外部 triggerClose 打开确认弹窗后，用户点「继续」时的回调 */
    onConfirmCancel?: () => void;
}
declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<ProgressBarHandle>>;
export default ProgressBar;
