import{A as s}from"./p-25d382ec.js";class t{constructor(t,i={},h={}){this.createDomain=s=>this.api.post("domains",s),this.getDomains=()=>this.api.get("domains"),this.updateDomain=(s,t)=>this.api.put(`domains/${s}`,t),this.deleteDomain=s=>this.api.delete(`domains/${s}`),this.createLoadBalancer=s=>this.api.post("load-balancers",s),this.getLoadBalancers=()=>this.api.get("load-balancers"),this.updateLoadBalancer=(s,t)=>this.api.put(`load-balancers/${s}`,t),this.deleteLoadBalancer=s=>this.api.delete(`load-balancers/${s}`),this.createTargetGroup=s=>this.api.post("target-groups",s),this.getTargetGroups=()=>this.api.get("target-groups"),this.updateTargetGroup=(s,t)=>this.api.put(`target-groups/${s}`,t),this.deleteTargetGroup=s=>this.api.delete(`target-groups/${s}`),this.getDnsRecord=s=>this.api.post("tools/dns-lookup",{domain:s}),this.api=new s(t,i),this.api.axios.defaults.params=h}}export{t as D}