/**
 * @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>;
    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
     * @param controlIndex gps control index
     */
    deleteGpsDialog(control: GpsControl, controlIndex: number): void;
    editGpsDialog(control: GpsControl, controlIndex: number): 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; }; "controlIndex": { "alias": "controlIndex"; "required": false; }; "isPreviewTemplate": { "alias": "isPreviewTemplate"; "required": false; }; }, { "gpsUpdateEvent": "gpsUpdateEvent"; "gpsDeleteEvent": "gpsDeleteEvent"; "gpsAddressChange": "gpsAddressChange"; "duplicateControl": "duplicateControl"; }, never, never, false, never>;
}
