/// <reference types="angular-mocks" />
import type { ILogService } from 'angular';
import type { IAccountDetails } from '../../../account/AccountService';
import type { Application } from '../../application.model';
import type { IClusterMatchRule } from '../../../cluster/ClusterRuleMatcher';
import type { IConfigSectionFooterViewState } from '../footer/configSectionFooter.component';
import './trafficGuardConfig.help';
import type { IClusterMatch } from '../../../widgets/cluster/clusterMatches.component';
export interface ITrafficGuardRule extends IClusterMatchRule {
    enabled: boolean;
}
export declare class TrafficGuardConfigController {
    private $log;
    application: Application;
    locationsByAccount: {
        [account: string]: string[];
    };
    accounts: IAccountDetails[];
    config: ITrafficGuardRule[];
    initializing: boolean;
    clusterMatches: IClusterMatch[][];
    viewState: IConfigSectionFooterViewState;
    static $inject: string[];
    constructor($log: ILogService);
    $onInit(): void;
    addGuard(): void;
    removeGuard(index: number): void;
    configChanged(): void;
    configureMatches(): void;
}
export declare const TRAFFIC_GUARD_CONFIG_COMPONENT = "spinnaker.core.application.config.trafficGuard.component";
