import { K8sUtilService, TranslateService, HelmRequest, Workspace } from '@alauda-fe/common'; import { Injector } from '@angular/core'; import { BaseResourceFormGroupComponent } from 'ng-resource-form-util'; import { Observable } from 'rxjs'; import { CatalogApiService } from '../../services'; import { getChartAppVersion } from '../../utils'; import * as i0 from "@angular/core"; interface HelmRequestFormModel { name?: string; displayName?: string; chartVersion?: string; values?: Record; resourceVersion?: string; annotations?: Record; labels?: Record; } export declare class HelmRequestFormComponent extends BaseResourceFormGroupComponent { private readonly k8sUtil; private readonly catalogApi; private readonly translate; isUpdate: boolean; baseParams: Workspace; chartVersion: string; chartName: string; chartResourceDisabled: boolean; chartName$: Observable; formItemWidth: { readonly Small: "small"; readonly Medium: "medium"; readonly Large: "large"; }; versions$: Observable<{ label: string; value: string; appVersion: string; }[]>; resourceNamePattern: { pattern: RegExp; tip: string; }; getChartAppVersion: typeof getChartAppVersion; constructor(injector: Injector, k8sUtil: K8sUtilService, catalogApi: CatalogApiService, translate: TranslateService); createForm(): import("@angular/forms").FormGroup<{ name: import("@angular/forms").FormControl; displayName: import("@angular/forms").FormControl; chart: import("@angular/forms").FormControl; chartVersion: import("@angular/forms").FormControl; values: import("@angular/forms").FormControl; resourceVersion: import("@angular/forms").FormControl; annotations: import("@angular/forms").FormControl<{}>; }>; getDefaultFormModel(): { chartVersion: string; }; adaptFormModel(formModel: HelmRequestFormModel): HelmRequest; adaptResourceModel(resource: HelmRequest): HelmRequestFormModel; trackByVersion(_index: number, version: { label: string; value: string; }): string; getChartVersionDesc(version: string, index: number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};