export type ContentInsertPosition = 'beforebegin' | 'afterbegin' | 'beforeend' | 'afterend' | 'replace';
export type SemanticPosition = 'before' | 'prepend' | 'append' | 'after' | 'into';
export declare function toInsertPosition(position: SemanticPosition): ContentInsertPosition;
export declare function looksLikeHTML(str: string): boolean;
export declare function insertContent(target: HTMLElement, content: string | HTMLElement, position: ContentInsertPosition): void;
export declare function insertContentSemantic(target: HTMLElement, content: string | HTMLElement, position: SemanticPosition): void;
export declare function removeElement(element: HTMLElement): boolean;
export declare function removeElements(elements: HTMLElement[]): number;
export declare function swapElements(element1: HTMLElement, element2: HTMLElement): boolean;
export declare function cloneElement<T extends HTMLElement>(element: T, deep?: boolean): T;
export declare function createElementFromHTML(html: string): HTMLElement | null;
export declare function setInnerHTML(element: HTMLElement, html: string): void;
export declare function setTextContent(element: HTMLElement, text: string): void;
export declare function clearElement(element: HTMLElement): void;
//# sourceMappingURL=dom-mutation.d.ts.map