/**
 * @packageDocumentation
 * Browser / edge entry point. Asynchronously fetches, decompresses, and
 * parses the bundled `data/icao-registry.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 { RegistryDataset } from './node.js';
/**
 * Options for {@link loadUsBundledRegistry}.
 */
export interface LoadRegistryDatasetOptions {
    /**
     * 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 aircraft
 * registry dataset. Returns the same `RegistryDataset` shape as the Node
 * entry point exports as `usBundledRegistry`.
 *
 * 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 { loadUsBundledRegistry } from '@squawk/icao-registry-data/browser';
 * import { createIcaoRegistry } from '@squawk/icao-registry';
 *
 * const dataset = await loadUsBundledRegistry();
 * const registry = createIcaoRegistry({ 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 loadUsBundledRegistry({
 *   url: 'https://your-cdn.example/icao-registry.json.gz',
 * });
 * ```
 */
export declare function loadUsBundledRegistry(options?: LoadRegistryDatasetOptions): Promise<RegistryDataset>;
//# sourceMappingURL=browser.d.ts.map