import { client } from "./client"; export function deleteEventById(id: string): Promise { return client(`/events/${id}`, { method: "DELETE" }); }