import { UserRole } from '../../../modules/user/entities/user.entity';
export declare class CreateVoiceMessageDto {
    channel: string;
    audioData: string;
    duration?: number;
    timestamp?: number;
}
export declare class EmergencyBroadcastDto {
    message: string;
    audioData?: string;
    scope?: 'global' | 'store' | 'role';
    targetStoreId?: number;
    targetRole?: UserRole;
}
export declare class JoinChannelDto {
    channelId: string;
}
export declare class GetPendingMessagesDto {
    since?: string;
    channel?: string;
}
export declare class HeartbeatDto {
    timestamp?: number;
    connectionId?: string;
}
export declare class ConnectedUserResponseDto {
    userId: number;
    userName: string;
    userRole: UserRole;
    storeId?: number;
    isOnline: boolean;
    channels: string[];
    connectedAt: Date;
    lastActivity: Date;
}
export declare class ChannelInfoResponseDto {
    id: string;
    name: string;
    displayName: string;
    description: string;
    userCount: number;
    priority: number;
    currentSpeaker?: {
        userId: number;
        userName: string;
        userRole: UserRole;
        storeId?: number;
        speakingStartedAt: Date;
    } | null;
    isAccessible: boolean;
    canSpeak: boolean;
}
export declare class VoiceMessageResponseDto {
    id: string;
    senderId: number;
    senderName: string;
    senderRole: UserRole;
    channel: string;
    audioData: string;
    timestamp: Date;
    duration?: number;
    storeId?: number;
}
export declare class ConnectionStatsResponseDto {
    totalConnected: number;
    byRole: {
        admin: number;
        manager: number;
        employee: number;
    };
    byStore: Record<number, number>;
    channelActivity: Record<string, number>;
    averageConnectionTime: number;
    totalVoiceMessages: number;
}
export declare class EventDto {
    type: 'user-connected' | 'user-disconnected' | 'voice-message-started' | 'voice-message-ended' | 'voice-data' | 'emergency-broadcast' | 'heartbeat' | 'connected';
    timestamp: string;
    data?: any;
    channel?: string;
    user?: {
        userId: number;
        userName: string;
        userRole: UserRole;
        storeId?: number;
    };
}
