/** * Map a Slack event → ShuttleMessage. The agent is a bot MEMBER of the * workspace: `app_mention` = @mentioned in a channel; `message` with * channel_type `im` = a DM. Bot echoes / edits / joins are ignored. */ import type { ShuttleMessage } from '../adapter.js'; export interface SlackEvent { readonly type?: string; readonly subtype?: string; readonly bot_id?: string; readonly user?: string; readonly text?: string; readonly channel?: string; readonly channel_type?: string; readonly thread_ts?: string; } export declare function toShuttleMessage(event: SlackEvent, botUserId?: string): ShuttleMessage | null; //# sourceMappingURL=message.d.ts.map