import n from"node:path";import{createRequire as c}from"node:module";import{cpSync as m}from"node:fs";import{currentPlatform as a}from"./get-current-platform.js";const r=c(import.meta.url);function f(i){const l=a(),t=r.resolve("@libsql/client"),e=r.resolve("libsql",{paths:[t]}),o=r.resolve(`@libsql/${l}`,{paths:[e]}),s=n.dirname(o);m(s,`${i}/node_modules/@libsql/${l}`,{recursive:!0})}export{f as copyLibsqlPrebuiltBinary};
