import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import EcabsElementBaseComponent from '../base/element-base'; import { WaypointTypeEnum } from '../base/consts/waypoint.consts'; import { GooglePlaceResult, WaypointQueryChange, WaypointSuggestion } from '../base/models/waypoint.models'; import { BehaviorSubject, Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class EcabsPlaceAutocompleteV2Component extends EcabsElementBaseComponent implements OnChanges, AfterViewInit, ControlValueAccessor { matCustomInput: ElementRef; showDeleteItem: boolean; set waypointsHistory(value: WaypointSuggestion[]); showSuffix: boolean; countryCode: string; googleLoaded: boolean; waypointType: WaypointTypeEnum; debounceMs: number; readonly placeResult: EventEmitter; readonly deleteItem: EventEmitter; readonly queryChanged: EventEmitter; isFocused$: BehaviorSubject; waypointSuggestions$: Observable; value$: BehaviorSubject; selectedIndex: number; displayedSuggestions: WaypointSuggestion[]; private readonly inputQuery$; private readonly waypointsHistory$; private _value; private autocompleteService; private placesService; private sessionToken; private isResolvingPlace; private readonly MAX_SUGGESTIONS; private readonly emptySuggestions; private readonly ngZone; private readonly injector; private readonly destroyRef; get value(): string; set value(value: string); constructor(); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; private onChange; private onTouch; private getPlacesResults; private toWaypointSuggestions; onUserInput(query: string): void; trackBySuggestion(index: number, suggestion: WaypointSuggestion): string; onSelectSuggestion(suggestion: WaypointSuggestion): void; private resolveByPlaceId; onKeyDown(event: KeyboardEvent): void; onBlur(): void; onFocus(): void; writeValue(nextValue?: string | null): void; registerOnChange(fn: (value: string) => void): void; registerOnTouched(fn: () => void): void; delete(): void; clear(): void; private initGoogle; private resetSessionToken; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }