type int = number;type float = number;type type_conf ={backend:{scheme: string;host: string;port: int;path: string;};settings:{poll_interval_in_milliseconds: 2000;};irc:{server: string;predefined_channel: string;predefined_nickname_prefix: string;}};enum enum_state{offline = "offline",connecting = "connecting",online = "online",}enum enum_entrykind{message = "message",info = "info",}type type_event ={timestamp: int;kind: string;data: any;};