import type { IController, IScope } from 'angular';
import type { IModalService } from 'angular-ui-bootstrap';
import type { IParameterDefinitionList } from '../../../../domain';
export interface ITravisStageViewState {
    mastersLoaded: boolean;
    mastersRefreshing: boolean;
    jobsLoaded: boolean;
    jobsRefreshing: boolean;
    failureOption?: string;
    markUnstableAsSuccessful?: boolean;
    waitForCompletion?: boolean;
    masterIsParameterized?: boolean;
    jobIsParameterized?: boolean;
}
export interface IParameter {
    key: string;
    value: string;
}
export declare class TravisStage implements IController {
    stage: any;
    private $uibModal;
    viewState: ITravisStageViewState;
    useDefaultParameters: any;
    userSuppliedParameters: any;
    masters: string[];
    jobs: string[];
    jobParams: IParameterDefinitionList[];
    filterLimit: number;
    private filterThreshold;
    static $inject: string[];
    constructor(stage: any, $scope: IScope, $uibModal: IModalService);
    markUnstableChanged(): void;
    waitForCompletionChanged(): void;
    refreshMasters(): void;
    refreshJobs(): void;
    private initializeMasters;
    private updateJobsList;
    private updateJobConfig;
    addParameter(): void;
    removeParameter(key: string): void;
    shouldFilter(): boolean;
}
export declare const TRAVIS_STAGE = "spinnaker.core.pipeline.stage.travisStage";
