import { ChangeDetectorRef, OnInit } from '@angular/core'; import { EnvironmentDialogValue } from './new-environment-dialog.models'; import * as i0 from "@angular/core"; export declare class NewEnvironmentDialogComponent implements OnInit { private readonly cdr; mode: 'create' | 'edit'; initialValue?: Partial; existingNames: string[]; allowDefaultToggle: boolean; defaultAlreadySet: boolean; readonly colors: readonly string[]; name: string; description: string; color: string; isDefault: boolean; nameError: string | null; constructor(cdr: ChangeDetectorRef); ngOnInit(): void; get title(): string; get subtitle(): string; get primaryButtonLabel(): string; get nameErrorsArray(): string[]; get defaultHelperText(): string; onNameChange(next: string): void; onDescriptionChange(next: string): void; onColorSelect(next: string): void; onDefaultChange(next: boolean): 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 — host should leave the dialog open. */ getValue(): EnvironmentDialogValue | null; private isDuplicateName; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }