import { WebClient, KnownBlock, Block, ChatPostMessageResponse, LogLevel } from '@slack/web-api'; import { SummaryResults } from '.'; export type additionalInfo = Array<{ key: string; value: string; }>; export default class SlackClient { private slackWebClient; private static readonly MAX_BLOCKS_PER_MESSAGE; constructor(slackClient: WebClient); private static chunkBlocks; sendMessage({ options, }: { options: { channelIds: Array; customLayout: Function | undefined; customLayoutAsync: Function | undefined; fakeRequest?: Function; maxNumberOfFailures: number; slackOAuthToken?: string; slackLogLevel?: LogLevel; disableUnfurl?: boolean; summaryResults: SummaryResults; showInThread: boolean; sendCustomBlocksInThreadAfterIndex?: number; }; }): Promise>; attachDetailsToThread({ channelIds, ts, summaryResults, maxNumberOfFailures, disableUnfurl, fakeRequest, }: { channelIds: Array; ts: string; summaryResults: SummaryResults; maxNumberOfFailures: number; disableUnfurl?: boolean; fakeRequest?: Function; }): Promise; static doPostRequest(slackWebClient: WebClient, channel: string, fallbackText: string, blocks: Array, unfurl: boolean, threadTimestamp?: string): Promise; }