const require_chunk = require('../chunk-CUT6urMc.cjs');
const __geekmidas_envkit_sniffer = require_chunk.__toESM(require("@geekmidas/envkit/sniffer"));

//#region src/deploy/sniffer-envkit-patch.ts
if (!globalThis.__envSniffer) globalThis.__envSniffer = new __geekmidas_envkit_sniffer.SnifferEnvironmentParser();
/**
* 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
exports.EnvironmentParser = PatchedEnvironmentParser;
Object.defineProperty(exports, 'SnifferEnvironmentParser', {
  enumerable: true,
  get: function () {
    return __geekmidas_envkit_sniffer.SnifferEnvironmentParser;
  }
});
//# sourceMappingURL=sniffer-envkit-patch.cjs.map