/** * Logging to slack */ export declare class Logger { accessToken: string; channel: string; /** * @param accessToken A oauth access token * @param channel A channel id */ constructor(accessToken: string, channel: string); /** * Post message to `https://slack.com/api/chat.postMessage` */ postMessage(json: object): Promise; /** * Format value for the text param of chat.postMessage */ formatValue(value: unknown): string; log(value: unknown): Promise; info(value: unknown): Promise; error(value: unknown): Promise; }