interface FinishFailedOptions {
    requiredFields: {
        [tab: string]: {
            sort: number;
            fields: string[];
        };
    };
    onTargetChange: (key: string) => void;
    updateActiveKey: (key: string[]) => void;
}
declare const useFinishFailed: (options: FinishFailedOptions) => {
    handleOnFinishFailed: (errorInfo: any) => void;
};
export default useFinishFailed;
