import { type Block, type KnownBlock, type WebClient } from "@slack/web-api"; import { type BotConfig } from "../config/config.js"; export type SlackSendIdentity = { username?: string; iconUrl?: string; iconEmoji?: string; }; type SlackSendOpts = { cfg?: BotConfig; token?: string; accountId?: string; mediaUrl?: string; mediaLocalRoots?: readonly string[]; client?: WebClient; threadTs?: string; identity?: SlackSendIdentity; blocks?: (Block | KnownBlock)[]; }; export type SlackSendResult = { messageId: string; channelId: string; }; export declare function sendMessageSlack(to: string, message: string, opts?: SlackSendOpts): Promise; export {};