import type { VirtualTypeScriptEnvironment } from "@typescript/vfs"; import type ts from "typescript"; /** * This information is passed to the API consumer to allow * them to create tooltips however they wish. */ export interface HoverInfo { start: number; end: number; /** Type definitions returned by ts.LanguageService.getTypeDefinitionAtPosition() */ typeDef: readonly ts.DefinitionInfo[] | undefined; /** Definitions returned by ts.LanguageService.getDefinitionAtPosition() */ def: readonly ts.DefinitionInfo[] | undefined; quickInfo: ts.QuickInfo | undefined; } export declare function getHover({ env, path, pos, }: { env: VirtualTypeScriptEnvironment; path: string; pos: number; }): HoverInfo | null; //# sourceMappingURL=getHover.d.ts.map