import { LayerNode, Unit } from '../types'; export declare function getAggregateRectOfElements(elements: Element[]): { top: number; left: number; bottom: number; right: number; width: number; height: number; } | null; export declare function getBoundingClientRect(el: Element, pseudo?: string): ClientRect; export declare function getBoundingClientRectPseudo(el: Element, pseudo: string, style: CSSStyleDeclaration): ClientRect; export declare function getDirectionMostOfElements(direction: 'left' | 'right' | 'top' | 'bottom', elements: Element[]): Element | null; export declare function getAppliedComputedStyles(element: Element, pseudo?: string): { [key: string]: string; }; export declare function textNodesUnder(el: Element): Node[]; export declare const getUrl: (url: string) => string; export declare const prepareUrl: (url: string) => string; export declare function isHidden(element: Element, pseudo?: string): boolean; export declare function processImages(layer: LayerNode): Promise; export declare const getShadowEls: (el: Element) => Element[]; export declare enum ElemTypes { Textarea = 0, Input = 1, Image = 2, Picture = 3, Video = 4, SVG = 5, SubSVG = 6, Element = 7 } export declare const getElemType: (el: Element) => ElemTypes | undefined; export declare const isElemType: (el: Element, type: ElemTypes) => boolean; export declare const getLineHeight: (el: HTMLElement, computedStyles: CSSStyleDeclaration) => Unit | null;