MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/cafsindia/snap.cafsinfotech.in/node_modules/resolve-global/index.d.ts
declare const resolveGlobal: {
	/**
	Resolve the path of a globally installed module.

	@param moduleId - What you would use in `require()`.
	@returns The resolved path. Throws if the module can't be found.

	@example
	```
	// $ npm install --global cat-names
	import resolveGlobal = require('resolve-global');

	console.log(resolveGlobal('cat-names'));
	//=> '/usr/local/lib/node_modules/cat-names'
	```
	*/
	(moduleId: string): string;

	/**
	Resolve the path of a globally installed module.

	@param moduleId - What you would use in `require()`.
	@returns The resolved path. Returns `undefined` instead of throwing if the module can't be found.
	*/
	silent(moduleId: string): string | undefined;
};

export = resolveGlobal;