/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module minimap/utils */ import { Rect } from '@ckeditor/ckeditor5-utils'; import type { Editor } from '@ckeditor/ckeditor5-core'; /** * Clones the editing view DOM root by using a dedicated pair of {@link module:engine/view/renderer~ViewRenderer} and * {@link module:engine/view/domconverter~ViewDomConverter}. The DOM root clone updates incrementally to stay in sync with the * source root. * * @internal * @param editor The editor instance the original editing root belongs to. * @param rootName The name of the root to clone. * @returns The editing root DOM clone element. */ export declare function cloneEditingViewDomRoot(editor: Editor, rootName?: string): HTMLElement; /** * Harvests all web page styles, for instance, to allow re-using them in an `