import { ChangeDetectorRef, OnInit } from '@angular/core'; import { EnvVariableDialogValue, EnvVariableUIPermission, EnvVariableUIType } from './new-environment-variable-dialog.models'; import * as i0 from "@angular/core"; export declare class NewEnvironmentVariableDialogComponent implements OnInit { private readonly cdr; mode: 'create' | 'edit'; initialValue?: Partial; existingNames: string[]; envName: string; readonly typeDropdownOptions: { label: string; value: EnvVariableUIType; }[]; name: string; type: EnvVariableUIType; value: string; readWriteMode: EnvVariableUIPermission; passwordTouched: boolean; nameError: string | null; valueError: string | null; constructor(cdr: ChangeDetectorRef); ngOnInit(): void; get title(): string; get subtitle(): string; get primaryButtonLabel(): string; get isBoolean(): boolean; get isPassword(): boolean; get isNumber(): boolean; get valuePlaceholder(): string; get nameHelperText(): string; get permissionHelperText(): string; get nameErrorsArray(): string[]; get valueErrorsArray(): string[]; get booleanDropdownOptions(): { label: string; value: string; }[]; onNameChange(next: string): void; onTypeChange(next: EnvVariableUIType): void; onPermissionChange(next: string): void; onValueChange(next: string): void; onBooleanValueChange(next: string): void; /** * Host reads via DialogRef.getComponentInstance(). Returns null on validation * failure — host keeps the dialog open and surfaces the inline error already * written onto nameError / valueError. */ getValue(): EnvVariableDialogValue | null; private serializeValue; private isDuplicateName; private isValidNumber; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }