export declare function addClass(dom: Element, ...className: Array<string>): void;
export declare function hasClass(dom: Node | null, className: string): boolean;
export declare function removeClass(dom: Element, ...className: Array<string>): void;
type Dataset = Record<string, string | number>;
export declare function createElement<K extends keyof HTMLElementTagNameMap>(tagName: K, classes: string[], parent: HTMLElement | DocumentFragment | null, innerTextOrDataset?: string | Dataset): HTMLElementTagNameMap[K];
export declare function createIconButton(svg: string, classes: string[], parent: HTMLElement | null): HTMLButtonElement;
export declare function createImage(src: string, classes: string[], parent: HTMLElement | DocumentFragment | null): HTMLImageElement;
export declare function createRange(node: Node, offset: number): Range;
export declare function createExpandedRange(startNode: Node, startOffset: number, endNode: Node, endOffset: number): Range;
export declare function getFirstClientRect(elem: Element): DOMRect;
export declare function getLastClientRect(elem: Element): DOMRect;
export declare function getDistanceSquare(rect: DOMRect, x: number, y: number): number;
export declare function getOffsetFromPoint(x: number, y: number): {
    textNode: any;
    offset: number;
};
export declare function textNodeOffsetFromPoint(node: Text, x: number, y: number): number;
export declare function compareElement(elem1: Element, elem2: Element): number;
export declare function getHorizontalPadding(elem: Element): number;
export declare function isNodeRemoved(elem: Element): boolean;
export declare function isChildNode(parent: Node, child: Node): boolean;
export declare function loadJs(url: string, id: string, callback: (error?: Error) => void): void;
export declare function setDataset(el: HTMLElement, dataset: Record<string, string | number>): void;
export declare function setAttributes(el: HTMLElement, attributes: Record<string, string>): void;
export {};
