export type PositionStrength = "none" | "poor" | "fair" | "good" | "excellent"; export interface RelativeLocation { /** Compass angle */ angle: number; /** Distance in metres */ distance: number; } /** Gets the { angle, distance } from and to locations */ export declare function getRelativeLocation(fromLoc: { latitude: number; longitude: number; }, toLoc: { latitude: number; longitude: number; }): RelativeLocation; export declare function getCompassBearing(angle: any, T: any): any; export declare function formatRelativeLocation(relLoc: any, T: any): string; /** Calculates the relative strength of a GPS signal into "none", "poor", "fair", "good" or "excellent" */ export declare function calculateGPSStrength(pos?: GeolocationPosition | null): PositionStrength; /** Format a file size in bytes to a localized human-readable string */ export declare function formatFileSize(bytes: number): string; export declare let formatGPSStrength: (pos: any, T: any) => { class: string; text: any; };