import type { SlackReactionNotificationMode } from "../../config/config.js"; import type { SlackMessageEvent } from "../types.js"; import { type ChannelMatchSource } from "../../channels/channel-config.js"; export type SlackChannelConfigResolved = { allowed: boolean; requireMention: boolean; allowBots?: boolean; users?: Array; skills?: string[]; systemPrompt?: string; matchKey?: string; matchSource?: ChannelMatchSource; }; export type SlackChannelConfigEntry = { enabled?: boolean; allow?: boolean; requireMention?: boolean; allowBots?: boolean; users?: Array; skills?: string[]; systemPrompt?: string; }; export type SlackChannelConfigEntries = Record; export declare function shouldEmitSlackReactionNotification(params: { mode: SlackReactionNotificationMode | undefined; botId?: string | null; messageAuthorId?: string | null; userId: string; userName?: string | null; allowlist?: Array | null; allowNameMatching?: boolean; }): boolean; export declare function resolveSlackChannelLabel(params: { channelId?: string; channelName?: string; }): string; export declare function resolveSlackChannelConfig(params: { channelId: string; channelName?: string; channels?: SlackChannelConfigEntries; channelKeys?: string[]; defaultRequireMention?: boolean; }): SlackChannelConfigResolved | null; export type { SlackMessageEvent };