import{A as s}from"./p-7e860896.js";class i{constructor(i,t={}){this.getDnsRecord=s=>this.api.post("tools/dns-lookup",{domain:s}),this.createDomain=s=>this.api.post("domains",s),this.deleteDomain=s=>this.api.delete(`domains/${s}`),this.moveDomain=(s,i)=>this.api.post(`domains/${s}/move`,i),this.updateDomain=(s,i)=>this.api.put(`domains/${s}`,i),this.api=new s(i,t)}}export{i as D}