export declare function escapeHtml(text: string): string; export declare function strrep(text: string, count: number): string; export declare function textToAnchorName(text: string): string; export declare function fileNameToUrlName(s: string): string; export declare function parsePrimitive(value: string, type: string): any; export declare function cleanMarkdownEscaped(code: string): string; export declare function typesToExtension(types: string): string; export declare function getIdentifierTextSpans(ts: typeof import("typescript"), sourceFile: import("typescript").SourceFile): { span: import("typescript").TextSpan; text: string; }[]; export declare function stringAroundIndex(string: string, index: number): string; /** Came from https://ourcodeworld.com/articles/read/223/how-to-retrieve-the-closest-word-in-a-string-with-a-given-index-in-javascript */ export declare function getClosestWord(str: string, pos: number): { word: string; startPos: number; };