1 |
|
2 | import { URL } from "url";
|
3 | import ts from "typescript/lib/tsserverlibrary";
|
4 | export declare function getDenoDir(): string;
|
5 | export declare function getDenoDepsDir(): string;
|
6 | export declare function getPluginPath(tsLsHost: ts.LanguageServiceHost): string;
|
7 | export declare function getDenoDtsPath(tsLsHost: ts.LanguageServiceHost, specifier: string): string | undefined;
|
8 | export declare function getModuleWithQueryString(moduleName: string): string | undefined;
|
9 | export declare function normalizeFilepath(filepath: string): string;
|
10 | export declare function escapeRegExp(str: string): string;
|
11 | export declare function sleep(ms: number): Promise<void>;
|
12 | export declare function isHttpURL(str: string): boolean;
|
13 | export declare function hashURL(url: URL): string;
|
14 | export declare function isValidDenoDocument(languageID: string): boolean;
|
15 | export declare function isUntitledDocument(filename: string): boolean;
|
16 | export declare function pathExistsSync(filepath: string): boolean;
|