import { AfterViewInit, OnInit } from '@angular/core'; import { FieldType } from '@ngx-formly/material'; import { Observable } from 'rxjs'; import { ApiService } from '../../../services/api.service'; import { FileParams } from '../../../types/file'; import { UntypedFormControl } from '@angular/forms'; import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; import * as i0 from "@angular/core"; export declare class AutocompleteFieldComponent extends FieldType implements OnInit, AfterViewInit { protected api: ApiService; filter: Observable; selectedObject: Object; label: string; loading: boolean; fileParams: FileParams; numResults: number; textInputControl: UntypedFormControl; constructor(api: ApiService); ngOnInit(): void; ngAfterViewInit(): void; state(): "loading" | "selected" | "no_results" | "results"; valueChanged(newValue: any): void; setSelectionFromValue(value: any): void; newSelection(selected: MatAutocompleteSelectedEvent): void; displayFn(lookupData: Object): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=autocomplete-field.component.d.ts.map