import{__exports as e}from"../../../../_virtual/async2.mjs";import{__require as r}from"../../../@nodelib/fs.walk/out/index.mjs";import{__require as t}from"./reader.mjs";import{__require as s}from"./stream.mjs";var a;function n(){if(a)return e;a=1,Object.defineProperty(e,"__esModule",{value:!0});const n=r(),i=t(),o=s();class u extends i.default{constructor(){super(...arguments),this._walkAsync=n.walk,this._readerStream=new o.default(this._settings)}dynamic(e,r){return new Promise((t,s)=>{this._walkAsync(e,r,(e,r)=>{null===e?t(r):s(e)})})}async static(e,r){const t=[],s=this._readerStream.static(e,r);return new Promise((e,r)=>{s.once("error",r),s.on("data",e=>t.push(e)),s.once("end",()=>e(t))})}}return e.default=u,e}export{n as __require};