import { View } from "tns-core-modules/ui/core/view"; export interface LatLng { lat: number; lng: number; } export interface SetCenterOptions extends LatLng { animated?: boolean; } export interface SetZoomLevelOptions { level: number; animated: boolean; } export interface AnimateCameraOptions { target: LatLng; zoomLevel?: number; altitude?: number; bearing?: number; tilt?: number; duration?: number; } export interface CenterPointOptions { target: LatLng; marker: { title: string; subtitle: string; icon: string; }; circle: { radius: number; color: string; strokeColor: string; }; } export interface ProximiioMapCommonApi { } export interface ProximiioMapApi { setCenter(options: SetCenterOptions, nativeMap?: any): Promise; getCenter(nativeMap?: any): Promise; setZoomLevel(options: SetZoomLevelOptions, nativeMap?: any): Promise; animateCamera(options: AnimateCameraOptions, nativeMap?: any): Promise; addCenterPoint(options: CenterPointOptions, nativeMap?: any): Promise; } export declare abstract class ProximiioMapCommon implements ProximiioMapCommonApi { } export interface ProximiioMapViewApi { getCenter(): Promise; setCenter(options: SetCenterOptions): Promise; setZoomLevel(options: SetZoomLevelOptions): Promise; animateCamera(options: AnimateCameraOptions): Promise; addCenterPoint(options: CenterPointOptions): Promise; } export declare abstract class ProximiioMapViewCommonBase extends View implements ProximiioMapViewApi { protected proximiioMap: ProximiioMapApi; abstract getNativeMapView(): any; getCenter(): Promise; setCenter(options: SetCenterOptions): Promise; setZoomLevel(options: SetZoomLevelOptions): Promise; animateCamera(options: AnimateCameraOptions): Promise; addCenterPoint(options: CenterPointOptions): Promise; } export declare abstract class ProximiioMapViewBase extends ProximiioMapViewCommonBase { static mapReadyEvent: string; static locationPermissionGrantedEvent: string; protected config: any; ios: any; android: any; }