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