massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver / lib / node / files.d.ts
1 /**
2  * @deprecated Use the `vscode-uri` npm module which provides a more
3  * complete implementation of handling VS Code URIs.
4  */
5 export declare function uriToFilePath(uri: string): string | undefined;
6 export declare function resolve(moduleName: string, nodePath: string | undefined, cwd: string | undefined, tracer: (message: string, verbose?: string) => void): Promise<string>;
7 /**
8  * Resolve the global npm package path.
9  * @deprecated Since this depends on the used package manager and their version the best is that servers
10  * implement this themselves since they know best what kind of package managers to support.
11  * @param tracer the tracer to use
12  */
13 export declare function resolveGlobalNodePath(tracer?: (message: string) => void): string | undefined;
14 export declare function resolveGlobalYarnPath(tracer?: (message: string) => void): string | undefined;
15 export declare namespace FileSystem {
16     function isCaseSensitive(): boolean;
17     function isParent(parent: string, child: string): boolean;
18 }
19 export declare function resolveModulePath(workspaceRoot: string, moduleName: string, nodePath: string, tracer: (message: string, verbose?: string) => void): Promise<string>;