import type { Coord } from '#blokkli/editor/types/geometry'; /** * Recursively clone an element and inline its styles. */ export declare function cloneWithInlineStyles(node: Element): Element; export declare function cloneElementWithStyles(element: Element, isRoot?: boolean): string; /** * Possible values for the MouseEvent.buttons property. * * @see https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons */ export declare const MOUSE_BUTTONS: Readonly<{ /** *No button or un-initialized. */ NONE: 0; /** * Primary button (usually the left button). */ PRIMARY: 1; /** * Secondary button (usually the right button). */ SECONDARY: 2; /** * Auxiliary button (usually the mouse wheel button or middle button). */ AUXILIARY: 4; /** * 4th button (typically the "Browser Back" button). */ FOURTH: 8; /** * 5th button (typically the "Browser Forward" button). */ FIFTH: 16; }>; /** * Possible values for the MouseEvent.button property. * (Yes, they are different from the "buttons" property...) * * @see https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button */ export declare const MOUSE_BUTTON: Readonly<{ /** * Main button, usually the left button or the un-initialized state. */ MAIN: 0; /** * Auxiliary button, usually the wheel button or the middle button (if present). */ AUXILIARY: 1; /** * Secondary button, usually the right button. */ SECONDARY: 2; /** * Fourth button, typically the Browser Back button. */ FOURTH: 3; /** * Fifth button, typically the Browser Forward button. */ FIFTH: 4; }>; /** * Determine the visual background color of an element. * * If the element defines a background color itself, it will be returned. * If the element has no explicit background color, we iterate over the * ancestors until we find an element with a background color. If no background * color can be determined, a transparent color is returned. */ export declare const realBackgroundColor: (el: HTMLElement | SVGElement | null) => string; export declare function getInteractionCoordinates(e: MouseEvent | TouchEvent): Coord;