import { OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { BehaviorSubject } from 'rxjs'; import { FormFieldSelectChoice } from '../shared/form.interfaces'; /** * This component renders a select field */ export declare class FormFieldSelectComponent implements OnInit { readonly disabled$: BehaviorSubject; /** * Select input choices */ choices: FormFieldSelectChoice[]; readonly choices$: BehaviorSubject; /** * The field's form control */ formControl: FormControl; /** * Field placeholder */ placeholder: string; /** * Field placeholder */ errors: { [key: string]: string; }; /** * Wheter a disable switch should be available */ disableSwitch: boolean; /** * Whether the field is required */ readonly required: boolean; ngOnInit(): void; /** * Get error message */ getErrorMessage(): string; onDisableSwitchClick(): void; private toggleDisabled; }