import { DynamicFieldConfig } from '../models'; import { Observable } from 'rxjs'; import { FormGroup } from '@angular/forms'; export interface SelectFieldConfig extends DynamicFieldConfig { emptyOptionsMessage?: string; reactiveOptionsConfig: ReactiveOptionsConfig; multiple?: boolean; options: OptionsType; } export declare type OptionsType = SelectOption[] | Observable | OptionsCallback | ReactiveOptionsCallback; export declare type OptionsCallback = () => Promise; export declare type ReactiveOptionsCallback = (group?: FormGroup, config?: ReactiveOptionsConfig) => Observable; export interface SelectOption { label: string; value: any; } export interface ReactiveOptionsConfig { controlNamesToWatch: string[]; } export declare const DEFAULT_EMPTY_OPTIONS_MESSAGE = "No Items";