/** * after react-dashboard refractor, this file can be renamed to 'dashboard.js' * and it will: * - setup global objects, so any assignments like 'NETDATA.options.current.destroy_on_hide = true' * will not break. we need to add it in places where 'dashboard.js' is * - create react root DOM node * - load react app * * Later, for performance improvement, the bundle can be added to dashboard-rect.js, * but we need to run the react-app part after DOM is created and ready */ declare var NETDATA: typeof NETDATA; declare let isSlowDeviceResult: any; declare function isSlowDevice(): any; declare function fixHost(host: any): any;