import CJS_COMPAT_NODE_URL_hjmvusgt1gv from 'node:url';
import CJS_COMPAT_NODE_PATH_hjmvusgt1gv from 'node:path';
import CJS_COMPAT_NODE_MODULE_hjmvusgt1gv from "node:module";

var __filename = CJS_COMPAT_NODE_URL_hjmvusgt1gv.fileURLToPath(import.meta.url);
var __dirname = CJS_COMPAT_NODE_PATH_hjmvusgt1gv.dirname(__filename);
var require = CJS_COMPAT_NODE_MODULE_hjmvusgt1gv.createRequire(import.meta.url);

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

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

export {
  detectPnp
};
