/** * Lightweight validation-only module. * Import from here when you only need to validate codes, not look up data. * Bundle size: ~50KB vs ~4MB for full library. * * @example * ```ts * import { airport, airline } from "aviation-codes/validate"; * * airport.is("LAX"); // true * airline.is("AA"); // true * ``` * * @module */ declare const airport: { /** Check if valid (auto-detects IATA/ICAO by length) */ is: (code: string) => boolean; iata: { isFormat: (code: string) => boolean; is: (code: string) => boolean; }; icao: { isFormat: (code: string) => boolean; is: (code: string) => boolean; }; }; declare const airline: { /** Check if valid (auto-detects IATA/ICAO by length) */ is: (code: string) => boolean; iata: { isFormat: (code: string) => boolean; is: (code: string) => boolean; }; icao: { isFormat: (code: string) => boolean; is: (code: string) => boolean; }; }; export { airline, airport };