export default function requireModule(moduleName: string, fromPath: string, defaultModule?: any): any;