import { IPoint } from '../../interfaces/IPoint.js';
import { IRect } from '../../interfaces/IRect.js';
import { IDesignItem } from '../item/IDesignItem.js';
import { IDesignerCanvas } from '../widgets/designerView/IDesignerCanvas.js';
export declare function inDesigner(element: Element): boolean;
export declare function newElementFromString(text: any, document: Document): Element;
export declare enum ElementDisplayType {
    none = 0,
    inline = 1,
    block = 2
}
export declare function instanceOf<T extends Function>(node: any, fnc: T): node is T;
export declare function instanceOfAny(node: Node, ...fnc: Function[]): boolean;
export declare function isInline(element: HTMLElement): boolean;
export declare function isInlineAfter(element: HTMLElement): boolean;
export declare function getElementDisplaytype(element: HTMLElement): ElementDisplayType;
export declare function isEmptyTextNode(node: Node): boolean;
export declare function getActiveElement(): Element;
export declare function getParentElementIncludingSlots(element: Element): Element;
export declare function getElementOffsetParent(element: Element): Element;
export declare function getElementOffsetsInContainer(element: Element): {
    x: any;
    y: any;
};
export declare function getBoundingClientRectAlsoForDisplayContents(element: Element): DOMRect;
export declare function getElementZoomFactor(element: Element): number;
export declare function getElementsWindowOffsetWithoutSelfAndParentTransformations(element: any, zoom: number, cache?: Record<string | symbol, any>): {
    offsetLeft: number;
    offsetTop: number;
};
export declare function getContentBoxContentOffsets(element: any): IPoint;
export declare function calculateOuterRect(designItems: IDesignItem[], designerCanvas: IDesignerCanvas): IRect;
