import { Uri } from 'vscode' ; import { RequestType , Range } from 'vscode-languageserver' ; export interface ImageInfo { originalImagePath : string ; imagePath : string ; range : Range ; } export interface ImageInfoResponse { images : ImageInfo [ ] ; } export interface ImageInfoRequest { uri : string ; fileName : string ; visibleLines : number [ ] ; workspaceFolder : string ; additionalSourcefolder : string ; currentColor : string ; paths : { [ alias ] : string | string [ ] ; } ; } export const GutterPreviewImageRequestType = new RequestType ( 'gutterpreview/gutterpreviewImages' ) ;