/// <reference types="node" />
import { Server as HTTPServer } from 'http';
import { MVideo, MVideoImmutable } from '../types/models';
import { UserNotificationModelForApi } from '../types/models/user';
declare class PeerTubeSocket {
    private static instance;
    private userNotificationSockets;
    private liveVideosNamespace;
    private constructor();
    init(server: HTTPServer): void;
    sendNotification(userId: number, notification: UserNotificationModelForApi): void;
    sendVideoLiveNewState(video: MVideo): void;
    sendVideoViewsUpdate(video: MVideoImmutable, numViewers: number): void;
    static get Instance(): PeerTubeSocket;
}
export { PeerTubeSocket };
//# sourceMappingURL=peertube-socket.d.ts.map