import { type MessengerAdapter, type CommandHandler } from "./base.js"; export declare class SlackAdapter implements MessengerAdapter { readonly platform = "slack"; readonly channelNames: string[]; private client; /** Cache of channelId:threadName → thread_ts (parent message timestamp). */ private threadTsCache; /** v0.8 §3.5 — resolved bot user's handle. Null until auth.test succeeds. */ private ownHandle; private ownOrgSlug; private ownBotUserId; startBot(onCommand: CommandHandler): Promise; startNotifier(): Promise; sendToChannel(productConfig: Record, channelName: string, text: string, title?: string, threadName?: string): Promise; setupChannels(productConfig: Record): Promise; private listChannels; private findChannelByName; private ensureChannelsForAllProducts; /** * Find or create the starter message for a named thread inside a channel. * Returns the thread_ts (parent message timestamp). */ private resolveThreadTs; private persistChannelMapping; private getProductForChannel; }