import React from 'react'; import { ViewProps, ImageSourcePropType, NativeSyntheticEvent } from 'react-native'; import { Animation, Point, DrivingInfo, MasstransitInfo, RoutesFoundEvent, Vehicles, CameraPosition, VisibleRegion } from '../interfaces'; export interface YaMapProps extends ViewProps { userLocationIcon?: ImageSourcePropType; showUserPosition?: boolean; nightMode?: boolean; mapStyle?: string; onCameraPositionChange?: (event: NativeSyntheticEvent) => void; onMapPress?: (event: NativeSyntheticEvent) => void; onMapLongPress?: (event: NativeSyntheticEvent) => void; userLocationAccuracyFillColor?: string; userLocationAccuracyStrokeColor?: string; userLocationAccuracyStrokeWidth?: number; scrollGesturesEnabled?: boolean; zoomGesturesEnabled?: boolean; tiltGesturesEnabled?: boolean; rotateGesturesEnabled?: boolean; } export declare class YaMap extends React.Component { static defaultProps: { showUserPosition: boolean; }; map: React.RefObject; static ALL_MASSTRANSIT_VEHICLES: Vehicles[]; static init(apiKey: string): void; static setLocale(locale: string): Promise; static getLocale(): Promise; static resetLocale(): Promise; findRoutes(points: Point[], vehicles: Vehicles[], callback: (event: RoutesFoundEvent) => void): void; findMasstransitRoutes(points: Point[], callback: (event: RoutesFoundEvent) => void): void; findPedestrianRoutes(points: Point[], callback: (event: RoutesFoundEvent) => void): void; findDrivingRoutes(points: Point[], callback: (event: RoutesFoundEvent) => void): void; fitAllMarkers(): void; setCenter(center: { lon: number; lat: number; zoom?: number; }, zoom?: number, azimuth?: number, tilt?: number, duration?: number, animation?: Animation): void; setZoom(zoom: number, duration?: number, animation?: Animation): void; getCameraPosition(callback: (position: CameraPosition) => void): void; getVisibleRegion(callback: (VisibleRegion: VisibleRegion) => void): void; private _findRoutes; private getCommand; private processRoute; private processCameraPosition; private processVisibleRegion; private resolveImageUri; private getProps; render(): JSX.Element; }