/**
 * @packageDocumentation
 * @module common-layout
 */
import { OnDestroy } from '@angular/core';
import { Observable } from 'rxjs';
import { KubernetesResource } from '../types/k8s';
import { K8sUtilService } from '../utils/k8s-util.service';
import { CommonLayoutContextService, ProductEntry } from './context.service';
export interface Group {
    cluster: KubernetesResource;
    namespaces: KubernetesResource[];
}
export declare class CommonLayoutStoreService implements OnDestroy {
    private readonly context;
    private readonly k8sUtil;
    private readonly fetch$;
    private readonly projects$;
    private readonly products$;
    private readonly subscriptions;
    constructor(context: CommonLayoutContextService, k8sUtil: K8sUtilService);
    /** @ignore */
    ngOnDestroy(): void;
    refetch(): void;
    selectAllProducts(): Observable<ProductEntry[]>;
    selectAlaudaProducts(withHide?: boolean): Observable<ProductEntry[]>;
    selectProductByName(name: string): Observable<ProductEntry>;
    selectAllProjects(): Observable<KubernetesResource[]>;
    selectProjectByName(name: string): Observable<KubernetesResource>;
    selectNamespacesByProjectName(name: string): Observable<Array<[KubernetesResource, KubernetesResource[]]>>;
}
