import type { Connector, ConnectorCapabilities, ConnectorHealth, IncomingMessage, ReplyContext, SlackConnectorConfig, Target } from "../../shared/types.js"; export declare class SlackConnector implements Connector { name: string; id: string; private app; private handler; private readonly allowedUsers; private readonly ignoreOldMessagesOnBoot; private readonly bootTimeMs; private started; private lastError; private channelNameCache; private botUserId; private static CHANNEL_CACHE_TTL_MS; private static CHANNEL_CACHE_MAX_ENTRIES; private readonly capabilities; /** * Set the AI assistant typing status in a thread. * Uses Slack's assistant.threads.setStatus API for native animated indicator. */ setTypingStatus(channelId: string, threadTs: string | undefined, status: string): Promise; constructor(config: SlackConnectorConfig); private resolveChannelName; start(): Promise; stop(): Promise; getCapabilities(): ConnectorCapabilities; getHealth(): ConnectorHealth; reconstructTarget(replyContext: ReplyContext): Target; /** * Post the formatted chunks of `text`, optionally into a thread. * Resolves with the last chunk's ts (delivered); rejects if a chunk failed to land. */ private post; sendMessage(target: Target, text: string): Promise; replyMessage(target: Target, text: string): Promise; addReaction(target: Target, emoji: string): Promise; removeReaction(target: Target, emoji: string): Promise; editMessage(target: Target, text: string): Promise; onMessage(handler: (msg: IncomingMessage) => void): void; } //# sourceMappingURL=index.d.ts.map