/** * Check if a given node has no visible content * @param node The node to check * @param trimContent Whether trim the text content so that spaces will be treated as empty. * Default value is false * @returns True if there isn't any visible element inside node, otherwise false */ export default function isNodeEmpty(node: Node, trimContent?: boolean, shouldCountBrAsVisible?: boolean): boolean;