import Context from '../context/Context'; import { Action } from '../types'; import { RoutePredicate } from '../router'; import SlackContext from './SlackContext'; import { EventTypes, InteractionTypes } from './SlackTypes'; declare type Route = (action: Action) => { predicate: RoutePredicate; action: Action; }; declare type Slack = Route & { any: Route; message: Route; event: (eventType: EventTypes | InteractionTypes, action: Action) => { predicate: RoutePredicate; action: Action; }; command: (commandText: string, action: Action) => { predicate: RoutePredicate; action: Action; }; }; declare const slack: Slack; export default slack; //# sourceMappingURL=routes.d.ts.map