declare function moduleResolve(name: string, esm?: boolean): string; export default moduleResolve;