/** * 向图片预览排除名单中添加选择器 * 外部自定义渲染器若包含图片,需调用此方法避免 Viewer.js 冲突 * @param selectors - CSS 选择器或选择器数组,如 '.copy-password-container' 或 ['.a', '.b'] */ export declare function addExcludedSelector(selectors: string | string[]): void; /** * 初始化图片工具栏和预览功能 */ export declare function initImageToolbars(containerRef: React.MutableRefObject, isPrintPreview?: boolean): void; /** * 清理所有图片工具栏和 Viewer 实例 */ export declare function cleanupImageToolbars(): void;