/**
 * @packageDocumentation
 * Browser / edge entry point. Asynchronously fetches, decompresses, and
 * parses the bundled `data/airports.json.gz` snapshot using Web Streams
 * (`DecompressionStream`) and the global `fetch`. Works in every evergreen
 * browser, Cloudflare Workers, Deno Deploy, and Node 22+.
 *
 * Node consumers should use the default {@link "."} entry point instead,
 * which performs the same work synchronously at module load time.
 */
import type { AirportDataset } from './node.js';
/**
 * Options for {@link loadUsBundledAirports}.
 */
export interface LoadAirportDatasetOptions {
    /**
     * URL of the gzipped dataset file. Defaults to a path resolved relative to
     * this module's `import.meta.url`, which works under any modern ESM bundler
     * when the package is installed normally. Override this to host the file
     * on your own CDN or to provide a custom test fixture.
     */
    url?: string | URL;
    /**
     * Custom fetch implementation. Defaults to the global `fetch`. Useful for
     * tests, edge runtimes that need a configured fetcher, or environments
     * with a non-standard fetch.
     */
    fetch?: typeof globalThis.fetch;
}
/**
 * Asynchronously loads, decompresses, and parses the bundled airport
 * dataset. Returns the same `AirportDataset` shape as the Node entry
 * point exports as `usBundledAirports`.
 *
 * Handles servers that advertise transport-level gzip via
 * `Content-Encoding: gzip` (in which case `fetch()` decodes the body
 * automatically) as well as servers that serve the `.gz` as opaque bytes.
 *
 * ```typescript
 * import { loadUsBundledAirports } from '@squawk/airport-data/browser';
 * import { createAirportResolver } from '@squawk/airports';
 *
 * const dataset = await loadUsBundledAirports();
 * const resolver = createAirportResolver({ data: dataset.records });
 * ```
 *
 * To host the asset on your own CDN or to override the URL for any other
 * reason, pass an explicit `url`:
 *
 * ```typescript
 * const dataset = await loadUsBundledAirports({
 *   url: 'https://your-cdn.example/airports.json.gz',
 * });
 * ```
 */
export declare function loadUsBundledAirports(options?: LoadAirportDatasetOptions): Promise<AirportDataset>;
//# sourceMappingURL=browser.d.ts.map