import { ApplicationRef, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { SCCoreService } from '../core/sc-core.service'; import { SCBaseClass } from './../core/sc-baseclass'; import { SCInputComponent } from './../sc-input/sc-input.component'; import * as i0 from "@angular/core"; export interface ScAddressAutocompleteOutput { lat?: number; lng?: number; street?: string; housenumber?: string; postcode?: string; locality?: string; administrative_area_level_3?: string; administrative_area_level_2?: string; administrative_area_level_1?: string; country?: string; } export interface GooglePlacesOutput { address_components: GooglePlacesOutputAddressComponent[]; adr_address: string; formatted_address: string; geometry: any; html_attributions: any[]; icon: string; icon_background_color: string; icon_mask_base_uri: string; name: string; place_id: string; reference: string; types: string[]; url: string; utc_offset: any; utc_offset_minutes: number; vicinity: string; } export interface GooglePlacesOutputAddressComponent { long_name: string; short_name: string; types: string[]; } export declare class SCAddressAutocompleteComponent extends SCBaseClass implements ControlValueAccessor, OnInit { ngControl: NgControl; private ref; private service; private cdr; inputLabel: string; inputPlaceholder: string; hint: string; appearance: string; floatLabel: string; disabled: boolean; required: boolean; customInvalid: boolean; suffixIcon: string; valueChange: EventEmitter; suffixIconClicked: EventEmitter; addressField: SCInputComponent; outputValue: string; addressValue: ScAddressAutocompleteOutput; initInterval: any; constructor(ngControl: NgControl, ref: ApplicationRef, service: SCCoreService, cdr: ChangeDetectorRef); ngOnInit(): void; ngOnDestroy(): void; changeHandler(event: string): void; patchAdress(selectedPlace: GooglePlacesOutput): void; getPlaceAutocomplete(addressField: any): void; mapGooglePlacesOutput(selectedPlace: GooglePlacesOutput): ScAddressAutocompleteOutput; onChange: (value: any) => void; onTouched: () => void; writeValue(value: any): void; emitValue(): void; registerOnChange(fn: (rating: number) => void): void; registerOnTouched(fn: () => void): void; setDisabledState?(isDisabled: boolean): void; handleSuffixIconClicked(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }