/** * @herdctl/slack * * Slack connector for herdctl — Autonomous Agent Fleet Management for Claude Code * * This package provides: * - SlackConnector class for connecting agents to Slack via Socket Mode * - Single Bolt App shared across all agents (one bot token per workspace) * - Channel->agent routing for multi-agent support * - Channel-based conversation management * * Session management, message splitting, and other shared utilities * are provided by @herdctl/chat - import them from there directly. */ export declare const VERSION = "0.1.0"; export type { CommandContext, CommandHandlerOptions, PrefixCommand, } from "./commands/index.js"; export { CommandHandler, helpCommand, resetCommand, statusCommand } from "./commands/index.js"; export type { ClassifiedError } from "./error-handler.js"; export { classifyError, ErrorCategory, safeExecute, safeExecuteWithReply, } from "./error-handler.js"; export { AlreadyConnectedError, InvalidTokenError, isSlackConnectorError, MissingTokenError, SlackConnectionError, SlackConnectorError, SlackErrorCode, } from "./errors.js"; export type { ContextAttachment, MessageSplitOptions, SplitResult, } from "./formatting.js"; export { createContextAttachment, DEFAULT_MESSAGE_DELAY_MS, escapeMrkdwn, findSplitPoint, formatCodeBlock, MIN_CHUNK_SIZE, markdownToMrkdwn, needsSplit, SLACK_MAX_MESSAGE_LENGTH, splitMessage, truncateMessage, } from "./formatting.js"; export type { SlackLoggerOptions, SlackLogLevel, } from "./logger.js"; export { createDefaultSlackLogger, createSlackLogger, } from "./logger.js"; export { SlackManager } from "./manager.js"; export { isBotMentioned, processMessage, shouldProcessMessage, stripBotMention, stripMentions, } from "./message-handler.js"; export { SlackConnector } from "./slack-connector.js"; export type { ISlackConnector, SlackChannelConfig, SlackConnectionStatus, SlackConnectorEventMap, SlackConnectorEventName, SlackConnectorEventPayload, SlackConnectorLogger, SlackConnectorOptions, SlackConnectorState, SlackErrorEvent, SlackFileUploadParams, SlackMessageEvent, } from "./types.js"; //# sourceMappingURL=index.d.ts.map