/**
 * @license
 * Copyright ASW (A Software World) All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file
 */
import { EventEmitter, OnInit } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
import { CSSFrameworkEnum } from '@asoftwareworld/form-builder-pro/api';
import { GoogleMapService } from './google-map.service';
import { GpsControl } from './gps-control';
import * as i0 from "@angular/core";
export declare class AswGps implements OnInit {
    dialog: MatDialog;
    private googleMapService;
    searchedAddress: any[];
    filteredAddress: any;
    constants: any;
    icons: any;
    gpsForm: HTMLFormElement;
    /**
     * Button control
     */
    control: GpsControl | null;
    CSSFramework: CSSFrameworkEnum;
    isPreviewTemplate: boolean;
    propertyPersonalization: string[];
    gpsUpdateEvent: EventEmitter<GpsControl>;
    gpsDeleteEvent: EventEmitter<GpsControl>;
    gpsAddressChange: EventEmitter<GpsControl>;
    duplicateControl: EventEmitter<GpsControl>;
    constructor(dialog: MatDialog, googleMapService: GoogleMapService);
    ngOnInit(): Promise<void>;
    /**
     * Delete gps control based on control index
     * @param control gps control items
     */
    deleteGpsDialog(control: GpsControl): void;
    editGpsDialog(control: GpsControl): void;
    onChange(address: string, control: GpsControl): Promise<void>;
    private selectedAddress;
    getAddressFromGoogleApi(address: string): Promise<void>;
    duplicateGpsControl(control: GpsControl): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswGps, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswGps, "asw-gps", never, { "control": { "alias": "control"; "required": false; }; "CSSFramework": { "alias": "CSSFramework"; "required": false; }; "isPreviewTemplate": { "alias": "isPreviewTemplate"; "required": false; }; "propertyPersonalization": { "alias": "propertyPersonalization"; "required": false; }; }, { "gpsUpdateEvent": "gpsUpdateEvent"; "gpsDeleteEvent": "gpsDeleteEvent"; "gpsAddressChange": "gpsAddressChange"; "duplicateControl": "duplicateControl"; }, never, never, false, never>;
}
