export function registerSlackBridgeEvents(app, config, handlers) {
    app.event("message", async ({ event }) => {
        await handlers.handleMessage(event);
    });
    app.event("app_mention", async ({ event }) => {
        await handlers.handleMessage(event);
    });
    app.command(config.slackCommand, async ({ command, ack, respond }) => {
        await ack();
        await handlers.handleSlashCommand(command, respond);
    });
    app.action(/^nr:/, async ({ action, body, ack, respond }) => {
        await ack();
        await handlers.handleAction({ action, body, respond });
    });
}
