export type MrbdCoordinates = { latitude: number; longitude: number; accuracy: number; altitude: number | null; altitudeAccuracy: number | null; heading: number | null; speed: number | null; timestamp: number; }; export type MrbdLocationResult = { ok: true; position: MrbdCoordinates; } | { ok: false; error: "unavailable" | "permission-denied" | "position-unavailable" | "timeout" | "unknown"; message?: string; }; export type MrbdLocationOptions = PositionOptions; export declare function getCurrentMrbdPosition(options?: MrbdLocationOptions): Promise; export declare function watchMrbdPosition(onPosition: (position: MrbdCoordinates) => void, onError?: (error: Exclude) => void, options?: MrbdLocationOptions): { ok: true; stop: () => void; } | { ok: false; error: "unavailable"; }; //# sourceMappingURL=location.d.ts.map