import { EventParams } from './EventParams'; /** * Handles received events. * This may include triggering refreshes of catalog entities * or other actions to react on events. * * @public * @deprecated use the `EventsService` via the constructor, setter, or other means instead */ export interface EventSubscriber { /** * Supported event topics like "github", "bitbucketCloud", etc. * * @deprecated use the `EventsService` via the constructor, setter, or other means instead */ supportsEventTopics(): string[]; /** * React on a received event. * * @param params - parameters for the to be received event. * @deprecated you are not required to expose this anymore when using `EventsService` */ onEvent(params: EventParams): Promise; }