import { ConfigService } from '@nestjs/config';
import { User } from '../../entities/user.entity';
export interface SlackBuildNotification {
    success: boolean;
    appName: string;
    platform: 'ios' | 'android';
    version: string;
    buildNumber: string;
    userName: string;
    userEmail: string;
    installUrl?: string;
    errorMessage?: string;
    releaseNotes?: string;
}
export declare class SlackService {
    private configService;
    private readonly globalWebhookUrl;
    constructor(configService: ConfigService);
    sendBuildNotification(notification: SlackBuildNotification, user?: User): Promise<void>;
    private buildSlackMessage;
    private sendToSlack;
    sendTestNotification(user?: User): Promise<boolean>;
    saveUserWebhook(user: User, webhookUrl: string, channelId?: string, workspaceId?: string): Promise<void>;
    isUserSlackConfigured(user: User): boolean;
    isSlackEnabledForUser(user: User, settingsRepo: any): Promise<boolean>;
    disconnectUserSlack(user: User): Promise<void>;
}
