import { Configuration, EventsApi as GeneratedEventsApi, type FollowEventRequest, type UnfollowEventRequest } from '../generated/default'; import { CreateEventRequest, UpdateEventRequest, DeleteEventRequest, EntityManagerFollowEventRequest, EntityManagerUnfollowEventRequest, type EventsApiServicesConfig } from './types'; export declare class EventsApi extends GeneratedEventsApi { private readonly entityManager?; constructor(configuration: Configuration, services: EventsApiServicesConfig); generateEventId(): Promise; /** * Create an event */ createEvent(params: CreateEventRequest): Promise; /** * Update an event */ updateEvent(params: UpdateEventRequest): Promise; /** * @hidden * Follow (subscribe to) a remix-contest event via the entity manager — * submits a Subscribe/Event ManageEntity transaction directly from the * client. The indexer writes a row into `subscriptions` tagged with * entity_type='Event'; next time the event owner posts an update, the * follower receives a notification. */ followEventWithEntityManager(params: EntityManagerFollowEventRequest): Promise; /** * Follow a remix-contest event. When called with the entity-manager * shape (numeric `userId`) the client submits the tx directly; otherwise * we fall through to the generated HTTP path which routes through the * api's `POST /v1/events/{eventId}/follow` endpoint. Mirrors the * followUser dual-path pattern. */ followEvent(params: EntityManagerFollowEventRequest | FollowEventRequest, requestInit?: RequestInit): Promise; /** * @hidden * Unfollow a remix-contest event via the entity manager. */ unfollowEventWithEntityManager(params: EntityManagerUnfollowEventRequest): Promise; unfollowEvent(params: EntityManagerUnfollowEventRequest | UnfollowEventRequest, requestInit?: RequestInit): Promise; /** * Delete an event */ deleteEvent(params: DeleteEventRequest): Promise; }