/** * Small DOM helpers used by the custom WYSIWYG editor core. */ export function createElement(tag: any, attrs?: {}, children?: any[]): any; export function closest(node: any, selector: any): any; export function matches(el: any, selector: any): any; export function isInsideEditor(node: any, editorEl: any): any; export function getActiveElement(editorEl: any): Node | null; export function getParentBlock(node: any, editorEl: any): any; export function isBlockElement(el: any): boolean; export function walkNodes(root: any, callback: any): void; export function emptyNode(node: any): void; export function ensureParagraph(editorEl: any): any; export function stripTags(html: any, allowed: any): string; export function getTextLength(html: any): number; export function getWordCount(html: any): number; export function htmlToText(html: any): string;