import { HttpClient } from '@angular/common/http';
import { ElementRef, EventEmitter, SimpleChanges, OnChanges, OnInit } from '@angular/core';
import { LocalService } from './local.service';
import { Subject } from 'rxjs';
import * as i0 from "@angular/core";
export declare type NcMapType = 'baidu' | 'gaode' | 'tianditu' | 'tencent';
export declare type NcShowType = 'simple' | 'detailed';
export declare class PoiComponent implements OnInit, OnChanges {
    private eleRef;
    private http;
    private ls;
    /** 点击事件 */
    ncClick: EventEmitter<any>;
    /** 清除事件 */
    ncClear: EventEmitter<any>;
    /** 错误事件 */
    ncError: EventEmitter<any>;
    /** 地图类型 */
    ncMapType: NcMapType;
    /** token */
    ncToken: string;
    /** 城市 */
    ncCity: string;
    /** 搜索框占位符 */
    ncPlaceholder: string;
    /** 搜索框宽度 */
    ncWidth: string;
    /** 显示类型 */
    ncShowType: NcShowType;
    /** 搜索延迟 */
    ncDelay: number;
    parametersOk: boolean;
    searchBarShow: boolean;
    poiKey: string;
    poiInputing: boolean;
    poiTipsList: Array<any>;
    poiTipsListShow: boolean;
    $poiKeyChangeSubject: Subject<any>;
    constructor(eleRef: ElementRef, http: HttpClient, ls: LocalService);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    checkParams(): void;
    searchBarLeave(): void;
    searchInputLeave(): void;
    showSearch(): void;
    poiKeyChange(): void;
    searchPoiTips(): Promise<void>;
    poiTipsClick(item: any): void;
    clearPoi(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<PoiComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<PoiComponent, "nc-poi", never, { "ncMapType": "ncMapType"; "ncToken": "ncToken"; "ncCity": "ncCity"; "ncPlaceholder": "ncPlaceholder"; "ncWidth": "ncWidth"; "ncShowType": "ncShowType"; "ncDelay": "ncDelay"; }, { "ncClick": "ncClick"; "ncClear": "ncClear"; "ncError": "ncError"; }, never, never>;
}
