/**
 * @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 { 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;
    gpsForm: HTMLFormElement;
    /**
     * Button control
     */
    control: GpsControl | null;
    /**
     * Button control index to help update or delete gps from drop area
     */
    controlIndex: number;
    isPreviewTemplate: boolean;
    gpsUpdateEvent: EventEmitter<{
        control: GpsControl;
        index: number;
    }>;
    gpsDeleteEvent: EventEmitter<number>;
    constructor(dialog: MatDialog, googleMapService: GoogleMapService);
    ngOnInit(): Promise<void>;
    /**
     * Delete gps control based on control index
     * @param control gps control items
     * @param controlIndex gps control index
     */
    deleteGpsDialog(control: GpsControl, controlIndex: number): void;
    editGpsDialog(control: GpsControl, controlIndex: number): void;
    onChange(address: string): Promise<void>;
    private selectedAddress;
    getAddressFromGoogleApi(address: string): Promise<void>;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswGps, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswGps, "asw-gps", never, { "control": "control"; "controlIndex": "controlIndex"; "isPreviewTemplate": "isPreviewTemplate"; }, { "gpsUpdateEvent": "gpsUpdateEvent"; "gpsDeleteEvent": "gpsDeleteEvent"; }, never, never>;
}
