import { IDisposable } from "../../base/common/lifecycle.js"; import { URI } from "../../base/common/uri.js"; /** The image hover shared by chat attachments and session image references. */ export declare function createChatImageHoverContent(resource: URI | undefined, fullName: string, buffer: ArrayBuffer | Uint8Array, cacheKey: string, onContentsChanged?: () => void, clickHandler?: () => void, onImageUrl?: (url: string, isThumbnail: boolean, image: HTMLImageElement) => void, imageAlt?: string, showImageInHover?: boolean, onImageError?: () => void): { readonly element: HTMLElement; readonly disposable: IDisposable; };