import { EventEmitter, OnInit } from '@angular/core'; import { AbstractControl, ControlContainer, FormGroup, ValidatorFn } from '@angular/forms'; import { AutoCompleteSelectEvent } from 'primeng/autocomplete'; import { GooglePlacesService } from '../../../services/google-places.service'; import { ReferentialService } from '../../../services/referential.service'; import { HexaPosts } from '../../../models/shared/hexa-post'; import { DataStoreService } from '../../../services/data-store.service'; import * as i0 from "@angular/core"; export declare function zipCodeValidator(selectedPlaceDetails: { zip: any; city: any; countryCode?: string; }): ValidatorFn; export declare function cityValidator(selectedPlaceDetails: { zip: any; city: any; countryCode?: string; }): ValidatorFn; export declare function addressValidator(isValid: boolean): ValidatorFn; export declare class AddressFormComponent implements OnInit { private readonly googlePlacesService; private readonly referentialService; private readonly store; submitted: boolean; predictionSelected: EventEmitter; predictions: any[]; selectedPlaceDetails: { zip: string; city: string; countryCode: string; }; addressInvalid: boolean; filteredZipCodes: HexaPosts; filteredCities: HexaPosts; hexaPosts: HexaPosts; parentContainer: ControlContainer; get parentFormGroup(): FormGroup; constructor(googlePlacesService: GooglePlacesService, referentialService: ReferentialService, store: DataStoreService); ngOnInit(): void; checkIfPrefilledValuesMatch(): void; initializeZipAndCity(): void; getHexaPosts(): void; loadZipCodes(event: any): void; loadCities(event: any): void; onChange(e: any): void; onClear(): void; get f(): { [key: string]: AbstractControl; }; displayPredictions($event: { query: any; }): void; selectPrediction(event: AutoCompleteSelectEvent): void; processPlaceDetails(place: google.maps.places.PlaceResult): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }