import{c4 as t}from"./index-b44dfcf8.js";const c=async()=>(await t.value.get("/db/basic_info")).data,d=async()=>(await t.value.get("/db/expired_dirs")).data,g=async()=>{await t.value.post("/db/update_image_data",{},{timeout:1/0})},u=async(a,s)=>(await t.value.post("/db/match_images_by_tags",{...a,cursor:s})).data,p=async a=>(await t.value.post("/db/add_custom_tag",a)).data,i=async a=>(await t.value.post("/db/toggle_custom_tag_to_img",a)).data,m=async a=>{await t.value.post("/db/remove_custom_tag",a)},_=async(a,s,e)=>(await t.value.get("/db/search_by_substr",{params:{substr:a,cursor:s,regexp:e}})).data,r="/db/extra_paths",b=async a=>{await t.value.post(r,a)},y=async a=>{await t.value.delete(r,{data:a})},l=async a=>(await t.value.post("/db/get_image_tags",{paths:a})).data;export{b as a,c as b,d as c,p as d,m as e,_ as f,u as g,l as h,y as r,i as t,g as u};