type TaskListOptions = {
    isConfigValid: boolean | null;
    isReady: boolean;
    isHistoryDirty: boolean | null;
    isFinished: boolean;
    revlength: number;
    currentCommit: {
        commit: string;
        index: number;
    };
    isGitReady: boolean;
};
type State = 'loading' | 'pending' | 'success' | 'warning' | 'error';
export type TaskProps = {
    state: State;
    label: string;
    status: string;
};
export declare const useTaskList: ({ isConfigValid, isReady, isHistoryDirty, currentCommit, isGitReady, isFinished, revlength, }: TaskListOptions) => TaskProps[];
export {};
