import React from 'react';
import type { IExecutionStage, ITaskStep } from '../../domain';
export interface IStageFailureMessageProps {
    message?: string;
    messages?: string[];
    stage: IExecutionStage;
}
export interface IStageFailureMessageState {
    failedTask?: ITaskStep;
    failedExecutionId?: number;
    failedStageName?: string;
    failedStageId?: number;
    isFailed?: boolean;
}
export declare enum StageFailureMessages {
    NO_REASON_PROVIDED = "No reason provided."
}
export declare class StageFailureMessage extends React.Component<IStageFailureMessageProps, IStageFailureMessageState> {
    static defaultProps: Partial<IStageFailureMessageProps>;
    constructor(props: IStageFailureMessageProps);
    private getState;
    componentWillReceiveProps(nextProps: IStageFailureMessageProps): void;
    render(): JSX.Element;
}
