import { SlackEventType } from '../types/event'; import { IncomingSlackEvent, IncomingSlackInteractivity } from './incoming.interface'; export declare type SlackEventHandlerConfig = { eventType?: SlackEventType; filter?: (event: IncomingSlackEvent) => boolean; handler: (event: IncomingSlackEvent) => Promise; }; export declare type SlackInteractivityHandlerConfig = { actionId?: string; filter?: (event: IncomingSlackInteractivity) => boolean; handler: (event: IncomingSlackInteractivity) => Promise; };