import { WebAPICallResult } from "@slack/web-api"; import type { AnyBlock } from "@slack/web-api"; export type PostMessage = { blocks?: Array; conversationId: string; mrkdwn?: boolean; text: string; token?: string; }; /** * Post message to conversations * * @see {@link https://api.slack.com/methods/chat.postMessage} * @see {@link https://api.slack.com/surfaces/messages#conversations} * @see {@link https://api.slack.com/surfaces/messages#payloads} */ export declare function postMessage({ blocks, conversationId, mrkdwn, text, token, }: PostMessage): Promise;