import{T as a}from"./index-tN-ddyeb.js";const r={getMe:()=>a.get("/users/me").then(e=>e.data),updateMe:e=>a.patch("/users/me",e).then(t=>t.data),updatePreferences:e=>a.patch("/users/me/preferences",e).then(t=>t.data),deleteMe:()=>a.delete("/users/me").then(e=>e.data),search:e=>a.get(`/users/search?q=${encodeURIComponent(e)}`).then(t=>t.data)};export{r as u};
