import type { EmscriptenModule, NetCDF4Module, NetCDF4WasmOptions } from "./types";
export declare class WasmModuleLoader {
    static loadModule(options?: NetCDF4WasmOptions): Promise<NetCDF4Module>;
    /** Load the raw Emscripten loader export: browser global or Node require. */
    private static loadRawLoader;
    /**
     * Resolve the Emscripten module factory from a raw module export.
     *
     * Emscripten's MODULARIZE build exports the factory as `module.exports`
     * (CommonJS) or, under ESM interop, as a `default` export. Accept either.
     * Throws a clear, actionable error when the value is not a factory function
     * - most commonly because the library entry point (which exports the
     * `NetCDF4` class) was required instead of the generated loader. See issue #3.
     */
    static resolveModuleFactory(raw: unknown): (opts?: any) => Promise<EmscriptenModule>;
    private static wrapModule;
}
//# sourceMappingURL=wasm-module.d.ts.map