@squawk
    Preparing search index...

    Interface FlightplanAirwayLookup

    Minimal airway lookup interface consumed by the flightplan resolver. Structurally compatible with the AirwayResolver shape in @squawk/airways.

    interface FlightplanAirwayLookup {
        byDesignation(designation: string): Airway[];
        expand(
            designation: string,
            entryFix: string,
            exitFix: string,
        ):
            | {
                airway: Airway;
                gaps?: AirwaySegmentReference[];
                reversed?: boolean;
                unusable?: AirwaySegmentReference[];
                waypoints: AirwayWaypoint[];
            }
            | undefined;
    }
    Index
    • Looks up airways by designation (e.g. "V16", "J60"). Returns an empty array if none found.

      Parameters

      • designation: string

      Returns Airway[]

    • Expands an airway between entry and exit fixes, returning ordered waypoints. gaps lists any published discontinuity the expansion crosses and unusable any segment the FAA marks unusable; a lookup that cannot report either may omit it, and the route then reports none. reversed says whether the waypoints run against the airway's published order; a lookup that cannot report it may omit it, and the route then measures that airway's legs as great-circle distances instead of reading the published segment distances.

      Parameters

      • designation: string
      • entryFix: string
      • exitFix: string

      Returns
          | {
              airway: Airway;
              gaps?: AirwaySegmentReference[];
              reversed?: boolean;
              unusable?: AirwaySegmentReference[];
              waypoints: AirwayWaypoint[];
          }
          | undefined