import { SlackMessage } from './types/SlackMessage'; import { HttpResponse } from '@libj/http'; interface Options { extraHooks?: { [key: string]: string; }; } interface SendOptions { hook?: string; } export declare class SlackWebhook { constructor(defaultHook: string, opts?: Options); /*** Public ***/ send(message: SlackMessage, opts?: SendOptions): Promise; private readonly http; private readonly defaultHook; private readonly opts; /*** Private ***/ /** * Only works for section blocks currently. */ private trimLongMessageTexts; private getExtraHookUrl; } export {};