import { ChangesModel } from "../models/changes.model";
export declare class AppEventsFactory {
    readonly eventEmitter: any;
    private static instance;
    private constructor();
    static getInstance(): AppEventsFactory;
    sub(eventName: string, handler: (doc: ChangesModel) => void): void;
    unSub(evenName: string, handler: (doc: ChangesModel) => void): void;
    pub(eventName: string, doc: ChangesModel): void;
    eventName(projectId: string, domain: string): string;
    connected(eventName: string): number;
}
