import React from 'react';
import { Graph, Choices } from 'madwizard';
import { ProgressStepState } from '../../../ProgressStepper';
type Status = ProgressStepState['status'];
type Props = Choices.Choices & {
    /** Title to display alongside the progress bar */
    title: string;
    /** The tasks to be accomplished */
    codeBlocks: Graph.OrderedGraph;
    /** The key is a codeBlockId */
    status: Record<string, Status>;
};
type State = ReturnType<typeof Graph.progress> & {
    nextCodeBlocks: string[];
};
export default class Progress extends React.PureComponent<Props, State> {
    private readonly cleaners;
    constructor(props: Props);
    static getDerivedStateFromProps(props: Props, state?: State): {
        nDone: number;
        nError: number;
        nTotal: number;
        nextOrdinals: number[];
    } & {
        nextCodeBlocks: string[];
    };
    private readonly _onGetReadiness;
    componentDidMount(): void;
    componentWillUnmount(): void;
    render(): JSX.Element;
}
export {};
