/**
 * Airline code database
 *
 * Wraps airline-codes (OpenFlights data) with Zod validation,
 * typed lookups, and async/sync search.
 *
 * Data refreshed weekly from OpenFlights upstream. Contains
 * 14,000+ airlines including defunct carriers.
 */
import { z } from "zod";
export declare const AirlineRecordSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    alias: z.ZodString;
    iata: z.ZodString;
    icao: z.ZodString;
    callsign: z.ZodString;
    country: z.ZodString;
    active: z.ZodString;
}, z.core.$strip>;
export type AirlineRecord = z.infer<typeof AirlineRecordSchema>;
/**
 * Look up an airline by IATA 2-letter code
 *
 * @example
 * findAirlineByIata("QF") // => { iata: "QF", name: "Qantas", icao: "QFA", ... }
 */
export declare function findAirlineByIata(iata: string): AirlineRecord | undefined;
/**
 * Look up an airline by ICAO 3-letter code
 *
 * @example
 * findAirlineByIcao("QFA") // => { iata: "QF", name: "Qantas", ... }
 */
export declare function findAirlineByIcao(icao: string): AirlineRecord | undefined;
/**
 * Get all airlines registered in a country
 *
 * @param countryCode - Country name (e.g. "Australia", "United States")
 * @param activeOnly - If true (default), only return active airlines
 * @returns Array of matching AirlineRecords
 */
export declare function getAirlinesByCountry(countryCode: string, activeOnly?: boolean): AirlineRecord[];
/**
 * Search airlines by name (case-insensitive substring match)
 *
 * @param query - Search string (e.g. "qantas", "united")
 * @param activeOnly - If true (default), only search active airlines
 * @returns Array of matching AirlineRecords
 */
export declare function searchAirlines(query: string, activeOnly?: boolean): AirlineRecord[];
/**
 * Get total airline count in the database
 */
export declare function getAirlineCount(): number;
/**
 * Get active airline count
 */
export declare function getActiveAirlineCount(): number;
/**
 * Check if an IATA code belongs to an active airline
 */
export declare function isActiveAirline(iata: string): boolean;
/**
 * Resolve IATA to airline name
 *
 * Returns the airline name, or the IATA code itself if not found
 *
 * @example
 * resolveAirlineName("QF") // => "Qantas"
 * resolveAirlineName("ZZ") // => "ZZ"
 */
export declare function resolveAirlineName(iata: string): string;
//# sourceMappingURL=airline-db.d.ts.map