/**
* Plugin HTML Utilities
* Converts unified plugin render results to HTML
*/
import type { PluginRenderResult, UnifiedRenderResult } from '../types/index';
/**
* Convert unified plugin render result to HTML string
* @param id - Placeholder element ID
* @param renderResult - Unified render result from plugin.renderToCommon()
* @param pluginType - Plugin type for alt text
* @param sourceHash - Content hash for DOM diff matching
* @returns HTML string
*/
export declare function convertPluginResultToHTML(id: string, renderResult: UnifiedRenderResult, pluginType?: string, sourceHash?: string): string;
/**
* Replace placeholder with rendered content in DOM
* @param id - Placeholder element ID
* @param result - Render result with base64, width, height, format
* @param pluginType - Plugin type
* @param isInline - Whether to render inline or block
* @param expectedSourceHash - Source hash to validate against placeholder (prevents race conditions)
*/
export declare function replacePlaceholderWithImage(id: string, result: PluginRenderResult, pluginType: string, isInline: boolean, expectedSourceHash: string): void;