import{__exports as i}from"../../_virtual/index56.mjs";import t from"../../_virtual/_node_util.mjs";import r from"../../_virtual/_node_fs.mjs";var n;function e(){if(n)return i;n=1;const{promisify:e}=t,o=r;async function s(i,t,r){if("string"!=typeof r)throw new TypeError("Expected a string, got "+typeof r);try{return(await e(o[i])(r))[t]()}catch(i){if("ENOENT"===i.code)return!1;throw i}}function l(i,t,r){if("string"!=typeof r)throw new TypeError("Expected a string, got "+typeof r);try{return o[i](r)[t]()}catch(i){if("ENOENT"===i.code)return!1;throw i}}return i.isFile=s.bind(null,"stat","isFile"),i.isDirectory=s.bind(null,"stat","isDirectory"),i.isSymlink=s.bind(null,"lstat","isSymbolicLink"),i.isFileSync=l.bind(null,"statSync","isFile"),i.isDirectorySync=l.bind(null,"statSync","isDirectory"),i.isSymlinkSync=l.bind(null,"lstatSync","isSymbolicLink"),i}export{e as __require};