UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

10 lines (9 loc) • 468 B
import { type parseSlackWebhookBody } from "#compiled/@chat-adapter/slack/webhook.js"; import type { SlackChannelConfig } from "#public/channels/slack/slackChannel.js"; type SlashCommandPayload = Extract<ReturnType<typeof parseSlackWebhookBody>, { kind: "slash_command"; }>; export declare function dispatchSlashCommand(payload: SlashCommandPayload, ctx: { readonly waitUntil: (task: Promise<unknown>) => void; }, config: SlackChannelConfig): void; export {};