import{x as t}from"./index-BaNRFt4f.js";const s={list(){return t.get("/election-events")},get(e){return t.get(`/election-events/${e}`)},create(e){return t.post("/election-events",e)},update(e,r){return t.put(`/election-events/${e}`,r)},delete(e){return t.delete(`/election-events/${e}`)}},n={list(e){return t.get("/vote-tallies",{params:e})},saveBulk(e){return t.post("/vote-tallies/bulk",e)},summary(e){return t.get("/vote-tallies/summary",{params:e})},exportExcel(e){return t.get("/vote-tallies/export",{params:e,responseType:"blob"})},personeroTables(){return t.get("/vote-tallies/personero-tables")}};export{s as e,n as v};
