declare namespace ElmerUI {
    export interface IRouter {
        path: string | RegExp;
        props?: any;
        selector?: string;
    }
    export interface IElmerGlobal {
        title: string;
        auther: string;
        version: string;
        elmerState: any;
        components: any;
        resizeListeners: any;
        bindTempVars: any;
        $console: any;
        classPool: Function[];
        objPool?: any[];
        routers: IRouter[];
        createUI: Function;
        getUI: Function;
    }
}

declare var elmerData: ElmerUI.IElmerGlobal;

declare module "*.html" {
    const content: string;
    export default content;
}
declare var UM: any;
declare var require: NodeRequire;
declare interface NodeRequire {
  <T>(path: string): any;
}
