import { Dictionary, K8sUtilService, KubernetesResource, KubernetesResourceList, HelmRequest, StringMap, Chart, ChartRepo, ChartRepoCreate } from '@alauda-fe/common'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; interface ChartFiles { files: StringMap; } export interface UploadRes { annotations: Dictionary; apiVersion: string; appVersion: string; description: string; name: string; type: string; version: string; maintainers: Array<{ name: string; email: string; }>; } export interface HelmRequestResources { resources: T[]; } export declare const VALUES_YAML: "values.yaml"; export declare const VALUES_DESCRIPTOR_YAML: "values.descriptor.yaml"; export declare const VALUES_SCHEMA_JSON: "values.schema.json"; export declare const README_MD: "README.md"; export type CHART_FILE = typeof VALUES_YAML | typeof VALUES_DESCRIPTOR_YAML | typeof VALUES_SCHEMA_JSON | typeof README_MD; /** * http://confluence.alaudatech.com/pages/viewpage.action?pageId=50836763 */ export declare class CatalogApiService { private readonly httpClient; private readonly k8sUtil; private readonly globalNamespace; constructor(httpClient: HttpClient, k8sUtil: K8sUtilService, globalNamespace: string); createChartRepo(payload: ChartRepoCreate): Observable; updateChartRepo(payload: ChartRepoCreate): Observable; triggerRepoSync(repoName: string): Observable; getChartList(params: { appCluster?: string; appNamespace?: string; labelSelector?: string; fieldSelector?: string; projectName?: string; }): Observable>; getChartRepoList(params: { projectName?: string; }): Observable>; getManagedChartRepoList(project: string): Observable>; isSystemChartRepo: (repo: ChartRepo) => boolean; getChartFiles(params?: { chartName: string; chartVersion: string; }, queryParams?: StringMap): Observable; getMutateChartFiles(params?: { chartName: string; chartVersion: string; }): Observable; getDetailChartFiles(params?: { chartName: string; chartVersion: string; }): Observable; getHelmRequestResources(params: { cluster: string; namespace: string; hrName: string; }): Observable>; getHelmRequestList({ cluster, namespace, queryParams, }: { cluster: string; namespace: string; queryParams?: any; }, syncFromApplication?: boolean): Observable; postLocalChart({ name, namespace, file, params, }: { name: string; namespace: string; file: File; params?: Dictionary; }): Observable; deleteLocalChart({ namespace, name }: { namespace: string; name: string; }): Observable; deleteLocalChartVersion({ namespace, name, version, }: { namespace: string; name: string; version: string; }): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {};