UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

10 lines (9 loc) • 605 B
import type { SlackSlashCommandConfig } from "openclaw/plugin-sdk/config-runtime"; /** * Strip Slack mentions (<@U123>, <@U123|name>) so command detection works on * normalized text. Use in both prepare and debounce gate for consistency. */ export declare function stripSlackMentionsForCommandDetection(text: string): string; export declare function normalizeSlackSlashCommandName(raw: string): string; export declare function resolveSlackSlashCommandConfig(raw?: SlackSlashCommandConfig): Required<SlackSlashCommandConfig>; export declare function buildSlackSlashCommandMatcher(name: string): RegExp;