export declare abstract class BaseEvent { readonly data: T; readonly sourceId?: string; pid?: number; get type(): string; readonly id: string; readonly timestamp: number; constructor(data: T, sourceId?: string, pid?: number); toJSON(): this & { type: string; }; }