import { Status } from "../../DataFrame"; import { IDIService } from "../../IDIService"; import { ResponseResult } from "../FieldChangeResult"; export interface IGeolocationService extends IDIService { GetCurrentGeolocationAsync(): Promise; SetControllerGeolocationAsync(location: Coordinates | Status): Promise>; GetControlllerGeolocationAsync(): Promise; IsControllerGeolocationSetAsync(): Promise; } export declare class Coordinates { Longitude: number; Latitude: number; } export declare class CoordinatesWithSourceInfo { Longitude: number; Latitude: number; IsNetworkBased: boolean; } export declare enum SetGeolocationResponseCode { OK = 0, NoPermissions = 1, UserIsNotLoggedIn = 2, UnknownError = 3 }