import CJS_COMPAT_NODE_URL_4u61mgd9dnl from 'node:url';
import CJS_COMPAT_NODE_PATH_4u61mgd9dnl from 'node:path';
import CJS_COMPAT_NODE_MODULE_4u61mgd9dnl from "node:module";

var __filename = CJS_COMPAT_NODE_URL_4u61mgd9dnl.fileURLToPath(import.meta.url);
var __dirname = CJS_COMPAT_NODE_PATH_4u61mgd9dnl.dirname(__filename);
var require = CJS_COMPAT_NODE_MODULE_4u61mgd9dnl.createRequire(import.meta.url);

// ------------------------------------------------------------
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
// ------------------------------------------------------------
import {
  any
} from "./chunk-Z33DLIGU.js";

// src/cli/detect.ts
async function detectPnp() {
  return !!any([".pnp.js", ".pnp.cjs"]);
}

export {
  detectPnp
};
