/**
 * UpstreamViewer - Upstream dependency status rendering viewer
 * Displays upstream field view items with module tags, completion status,
 * resource preview thumbnails, and reminder indicators.
 *
 * Layout per item: [ModuleTag] [DoneIcon + StatusText] [PreviewImages...]
 *                  [ModuleTag] [ReminderTag]
 * Empty state: "-"
 */
import type { CellViewer, ViewerRenderContext, UpstreamViewerData } from './types';
declare class UpstreamViewer implements CellViewer<UpstreamViewerData> {
    readonly type = "upstream";
    private imageManager;
    private failedImages;
    private _sm;
    private pendingLoads;
    constructor();
    /**
     * Draw upstream cell content
     */
    draw(context: ViewerRenderContext, data: UpstreamViewerData): void;
    /**
     * Handle click events — detect clicks on preview images
     */
    onClick(context: ViewerRenderContext, data: UpstreamViewerData, localX: number, localY: number): boolean;
    /**
     * Get interactive cursor for preview images
     */
    getInteractiveCursor(context: ViewerRenderContext, data: UpstreamViewerData, localX: number, localY: number): string | null;
    /**
     * Draw empty state placeholder
     */
    private drawEmpty;
    /**
     * Draw module tag with background color
     * @returns tag width drawn
     */
    private drawModuleTag;
    /**
     * Draw reminder tag for incomplete items
     * @returns tag width drawn
     */
    private drawReminderTag;
    /**
     * Draw done status: checkmark icon + status text + preview images
     * @returns new currentX after drawing
     */
    private drawDoneStatus;
    /**
     * Draw preview images for sync properties
     * @returns new currentX after drawing
     */
    private drawPreviewImages;
    /**
     * Draw a single preview image with rounded corners
     */
    private drawPreviewImage;
    /**
     * Draw an SVG icon (for fallback / file type icons)
     */
    private drawSvgIcon;
    /**
     * Draw a checkmark icon — 绿色圆形背景 + 白色勾号（对齐 DOM 表格 .ah-icon-done）
     */
    private drawCheckmark;
    /**
     * Calculate clickable areas for preview images
     * Returns array of {x, y, width, height, imageUrl, assetId, index} in cell-local coords
     */
    private calculateClickAreas;
    /**
     * Draw a rounded rectangle
     */
    private drawRoundRect;
    /**
     * Clip to rounded rectangle path
     */
    private clipRoundRect;
}
export default UpstreamViewer;
