import { CacheService, PropertyService, RemoteRequestService } from '@servicelabsco/nestjs-utility-services'; import { BoardCastInternalStatusMessageDto } from '../dtos/board.cast.internal.status.message.dto'; import { SlackPostingPayloadDto } from '../dtos/slack.posting.payload.dto'; import { SlackIntegrationEntity } from '../entities/slack.integration.entity'; export declare class SlackService { private readonly remoteRequestService; protected readonly cacheService: CacheService; protected readonly propertyService: PropertyService; protected base_url: string; protected token: string; constructor(remoteRequestService: RemoteRequestService, cacheService: CacheService, propertyService: PropertyService); private fetchSlackUser; getUserChannel(businessId: number, userId: number): Promise; getBusinessToken(id: number): Promise; getBusinessIntegration(id: number): Promise; post(options: SlackPostingPayloadDto): Promise; isAllowedOnSlack(payload: { business_id: number; user_id: number; notification_id: number; }): Promise; broadcastInternalNormalMessage(message: string, channel?: string, hookUrl?: string): Promise; broadcastInternalStatusMessage({ status, environment, message, time, footer }: BoardCastInternalStatusMessageDto, channel?: string, hookUrl?: string): Promise; }