/**
 * @param args - An object containing the position to be filtered.
 * @since 5.0
 */
export type PositionFilterFunction = (args: { position: FilterPosition; }) => boolean;

export type TrackViewModelState = "disabled" | "error" | "feature-unsupported" | "ready" | "tracking" | "waiting";

export interface FilterPosition {
  timestamp: number;
  coords: {
      latitude: number;
      longitude: number;
  };
}