UNPKG

flight-planner

Version:
42 lines (41 loc) 1.37 kB
import type { UnitOptions } from "./units.js"; /** * Represents an ICAO (International Civil Aviation Organization) identifier, * typically used for airports, navigation aids, or weather stations. * * @type {string} */ export type ICAO = string; /** * Standard atmospheric pressure at sea level in hectopascals (hPa). * * @constant {number} */ export declare const ISA_STANDARD_PRESSURE_HPA = 1013.25; /** * Standard atmospheric temperature at sea level in degrees Celsius (°C). * * @constant {number} */ export declare const ISA_STANDARD_TEMPERATURE_CELSIUS = 15; /** * Standard temperature lapse rate in the troposphere in degrees Celsius per meter (°C/m). * * @constant {number} */ export declare const ISA_STANDARD_TEMPERATURE_LAPSE_RATE = 0.0065; /** * Default unit settings used throughout the application when specific units aren't provided. * Uses nautical miles for distance, knots for speed, feet for altitude, Celsius for temperature, * hectopascals for pressure, kilograms for weight, liters for volume, and degrees for angles. * * @constant {UnitOptions} */ export declare const DefaultUnits: UnitOptions; /** * Maximum recommended duration for a single flight leg in minutes. * Used by the advisor to issue a warning for potentially fatiguing legs. * * @constant {number} */ export declare const MAX_LEG_DURATION_MINUTES = 120;