import{dw as e}from"./index-C4inJ1rU.js";async function t(){return e("/api/needs_setup")}async function a(){const r=await e("/api/hardware_options");return"success"in r?r:r.error?{success:!1,error:r.error}:{success:!0,data:r.hardware??[]}}async function n(){const r=await e("/api/radio_presets");return"success"in r?r:r.error?{success:!1,error:r.error}:{success:!0,data:r.presets??[]}}async function i(){return e("/api/serial_ports")}async function u(r){return e("/api/setup_wizard",{method:"POST",body:JSON.stringify(r)})}export{n as a,i as b,a as g,t as n,u as s};
