declare const __DEV__: boolean declare const __TEST__: boolean declare const __GLOBAL__: boolean interface Window { __KDU_DEVTOOLS_GLOBAL_HOOK__: DevtoolsHook } interface DevtoolsHook { emit: (event: string, ...payload: any[]) => void on: (event: string, handler: Function) => void once: (event: string, handler: Function) => void off: (event?: string, handler?: Function) => void Kdu?: any // apps: AppRecordOptions[] }