import{throwIfEmpty as e}from"../../utils/throw-if-empty.js";const t=e=>()=>({path:`/files`,params:e??{},method:`GET`}),n=(t,n)=>()=>(e(String(t),`Key cannot be empty`),{path:`/files/${t}`,params:n??{},method:`GET`});export{n as readFile,t as readFiles};