export declare global {
  interface Number {
    /**
     * @returns Value converted from degrees to radians
     */
    toRadians: () => number;
    /**
     * @returns Value converted from radians to degrees
     */
    toDegrees: () => number;
    /**
     * @returns Reciprocal course of value
     */
    reciprocalCourse: () => number;
    /**
     * @returns Normalises to [0,360)
     */
    normaliseDegrees: () => number;
    /**
     * @param fix Fix for magnetic declination
     * @returns Value referencing true north
     */
    toTrue: (fix: { latitude: number; longitude: number }) => number;
    /**
     * @returns Value converted from nmi to metres
     */
    toMetre: () => number;
    /**
     * @returns True if delta is less than 0.1
     */
    equal: (other: number) => boolean;
  }

  interface String {
    /**
     * @returns Value parsed from altitude constraint
     */
    parseAltitude: () => number;
  }
}
