import { EventPayload, ActionPayload } from '@magickml/shared-services'; import { RedisPubSub } from '@magickml/redis-pubsub'; import { SLACK_EVENTS } from '../configx'; declare class SlackEventClient { private logger; private pubSub; private agentId; private eventHandlers; constructor(pubSub: RedisPubSub, agentId: string); private subscribeToSlackEvents; slackEventHandler(event: EventPayload, channel: string): void; private extractEventType; registerHandler(eventType: keyof typeof SLACK_EVENTS, handler: (message: EventPayload) => void): void; onMessage(handler: (event: EventPayload) => void): void; sendMessage(payload: ActionPayload): void; cleanup(): void; } export default SlackEventClient;