import { ChangeDetectorRef, OnInit } from '@angular/core'; import { GlobalVariableDialogValue, GlobalVariableUIPermission, GlobalVariableUIType } from './new-global-variable-dialog.models'; import * as i0 from "@angular/core"; export declare class NewGlobalVariableDialogComponent implements OnInit { private readonly cdr; mode: 'create' | 'edit'; initialValue?: Partial; existingNames: string[]; readonly typeOptions: GlobalVariableUIType[]; readonly typeDropdownOptions: { label: string; value: GlobalVariableUIType; }[]; readonly permissionSegments: { label: string; value: GlobalVariableUIPermission; icon: string; }[]; name: string; type: GlobalVariableUIType; value: string; readWriteMode: GlobalVariableUIPermission; description: string; 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 nameErrorsArray(): string[]; get valueErrorsArray(): string[]; get booleanOptions(): { label: string; value: string; }[]; get booleanDropdownOptions(): { label: string; value: string; }[]; onNameChange(next: string): void; onTypeChange(next: GlobalVariableUIType): void; onPermissionChange(next: string): void; onValueChange(next: string): void; onBooleanValueChange(next: string): void; onDescriptionChange(next: string): void; /** * Called by the host (via DialogRef.getComponentInstance()) when the primary * button is clicked. Returns the captured value when valid, or null when the * form has errors — in which case the host should leave the dialog open. */ getValue(): GlobalVariableDialogValue | null; private serializeValue; private isDuplicateName; private isValidNumber; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }