import { SnifferEnvironmentParser, SnifferEnvironmentParser as SnifferEnvironmentParser$1 } from "@geekmidas/envkit/sniffer";

//#region src/deploy/sniffer-envkit-patch.ts
if (!globalThis.__envSniffer) globalThis.__envSniffer = new SnifferEnvironmentParser$1();
/**
* Patched EnvironmentParser that uses the global sniffer instance.
*
* This class wraps the global sniffer to maintain API compatibility
* with the real EnvironmentParser. The constructor accepts an env
* parameter for API compatibility but ignores it since we're sniffing.
*/
var PatchedEnvironmentParser = class {
	create(builder) {
		return globalThis.__envSniffer.create(builder);
	}
};

//#endregion
export { PatchedEnvironmentParser as EnvironmentParser, SnifferEnvironmentParser };
//# sourceMappingURL=sniffer-envkit-patch.mjs.map