import { DialogService, MessageService, NotificationService } from '@alauda/ui'; import { K8sUtilService, HelmRequest, StringMap, TranslateService, WorkspaceParams, Status, NotificationUtilService, K8sApiService } from '@alauda-fe/common'; import { AcpApiService } from '@alauda-fe/workload-ui-shared'; import { ApplicationFormModel } from '@alauda-fe/workload-util-shared'; import { HttpClient } from '@angular/common/http'; import { Router } from '@angular/router'; import { PermissionErrorDialogComponent } from '../components'; import * as i0 from "@angular/core"; export declare class HelmRequestUtilService { private readonly dialog; private readonly translate; private readonly message; private readonly k8sUtil; private readonly k8sApi; private readonly http; private readonly acpApi; private readonly router; private readonly notify; private readonly notificationUtil; constructor(dialog: DialogService, translate: TranslateService, message: MessageService, k8sUtil: K8sUtilService, k8sApi: K8sApiService, http: HttpClient, acpApi: AcpApiService, router: Router, notify: NotificationService, notificationUtil: NotificationUtilService); delete(resource: HelmRequest, cluster: string, skipConfirm?: boolean): Promise | import("rxjs").Observable; deleteWithPermissionCheck(cluster: string, namespace: string, resource: HelmRequest, skipConfirm?: boolean): import("rxjs").Observable; showDeletePermissionCheckErrorDialog(name: string, { message, isPermissionError, }: Partial<{ isPermissionError: boolean; message: string; }>): import("@alauda/ui").DialogRef; getHrRequestVerbPermission(cluster: string, namespace: string, name: string, verb?: string): import("rxjs").Observable; isDeployApplicationEnabled(resource: HelmRequest): boolean; getLatestVersion(item: HelmRequest): string; generatorApplicationPayloadModel(hr: HelmRequest, nativeHr?: HelmRequest): ApplicationFormModel; upgradeNativeApplication(hr: HelmRequest, params: WorkspaceParams): void; private checkErrorHandle; getHrAbnormalReason: (hr: HelmRequest) => string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }