import { ApiResponse, PublishEventPayload } from '@towncryerio/towncryer-js-api-client'; import ApiService from './api'; /** * Event Service using the Towncryer API */ export declare class EventService { private eventsApi; constructor(apiService: ApiService); /** * Publish an event to Towncryer * @param eventPayload Event payload data * @returns Standardized API response * @throws TowncryerAPIError if the request fails */ publishEvent(eventPayload: PublishEventPayload): Promise; }