import { ConfigService } from '@nestjs/config';
import type { DeviceInfo } from '../utils/device-info.helper';
type ErrorAlertInput = {
    source: string;
    error: unknown;
    statusCode?: number;
    method?: string;
    path?: string;
    user?: {
        id?: string;
        email?: string;
        role?: string;
    };
    metadata?: Record<string, string | number | boolean | null | undefined>;
};
export declare class SlackService {
    private readonly configService;
    private static readonly ERROR_ALERT_COOLDOWN_MS;
    private static readonly LOGIN_NOTIFICATION_EXCLUDED_IPS;
    private readonly logger;
    private readonly errorAlertCooldowns;
    constructor(configService: ConfigService);
    sendErrorNotification(input: ErrorAlertInput): Promise<void>;
    sendLoginNotification(user: {
        id: string;
        email: string;
        name: string;
        role: string;
    }, deviceInfo: DeviceInfo): Promise<void>;
    private isErrorAlertCoolingDown;
    private errorDetails;
    private safeText;
}
export {};
