import { __exports as r } from "../../../../../_virtual/index13.js";
import { __require as l } from "../../../util@0.11.1/node_modules/util/util.js";
import u from "../../../../../_virtual/___vite-browser-external.js";
var c;
function m() {
  if (c)
    return r;
  c = 1;
  const { promisify: a } = l(), y = u;
  async function e(s, o, t) {
    if (typeof t != "string")
      throw new TypeError(`Expected a string, got ${typeof t}`);
    try {
      return (await a(y[s])(t))[o]();
    } catch (i) {
      if (i.code === "ENOENT")
        return !1;
      throw i;
    }
  }
  function n(s, o, t) {
    if (typeof t != "string")
      throw new TypeError(`Expected a string, got ${typeof t}`);
    try {
      return y[s](t)[o]();
    } catch (i) {
      if (i.code === "ENOENT")
        return !1;
      throw i;
    }
  }
  return r.isFile = e.bind(null, "stat", "isFile"), r.isDirectory = e.bind(null, "stat", "isDirectory"), r.isSymlink = e.bind(null, "lstat", "isSymbolicLink"), r.isFileSync = n.bind(null, "statSync", "isFile"), r.isDirectorySync = n.bind(null, "statSync", "isDirectory"), r.isSymlinkSync = n.bind(null, "lstatSync", "isSymbolicLink"), r;
}
export {
  m as __require
};
//# sourceMappingURL=index.js.map
