declare var setInterval: any;type type_conf =(null|{port: int;verbosity: int;cleaning:{timeout_in_seconds: int;worker_interval_in_seconds: int;};});type type_event ={timestamp: int;kind: string;data: any;};type type_user ={name: string;role: string;};type type_connection ={client: any;eventqueue: Array<type_event>;termination: (null | int);};type type_id = string;type type_model ={counter: int;connections: Record<type_id, type_connection>;};