import { HttpClient } from '@angular/common/http';
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
import { Subject } from 'rxjs';
import { K8sUtilService } from '../../../../core/public-api';
import { ResourceListBase } from '../../base-list';
import { ResourceSelectContextService } from '../../context.service';
import { K8sApiService } from './../../../../api/public-api';
import { ClusterDataItem, ClusterFederationResource, ClusterResource } from './../../types';
import * as i0 from "@angular/core";
export declare class ClusterListComponent extends ResourceListBase implements OnInit, OnDestroy {
    private readonly k8sApi;
    private readonly http;
    value: string;
    type: "cluster";
    selectedCluster: ClusterDataItem;
    clusters: ClusterDataItem[];
    federations: ClusterFederationResource[];
    clusters$: import("rxjs").Observable<ClusterResource[]>;
    federations$: import("rxjs").Observable<ClusterFederationResource[]>;
    loadClusterInfo$$: Subject<ClusterResource[]>;
    normalStatusSet: Set<string>;
    constructor(k8sApi: K8sApiService, http: HttpClient, contextService: ResourceSelectContextService, cdr: ChangeDetectorRef, k8sUtil: K8sUtilService);
    ngOnInit(): void;
    private setSelected;
    ngOnDestroy(): void;
    private updateData;
    mapResource(list: ClusterResource[]): ClusterDataItem[];
    private getFederation;
    getClusterStatus(cluster?: ClusterResource): "normal" | "abnormal";
    static ɵfac: i0.ɵɵFactoryDeclaration<ClusterListComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ClusterListComponent, "acl-cluster-list", never, { "value": "value"; }, {}, never, never, false>;
}
