import { type AnyNode } from 'domhandler'; import type { Cheerio } from './cheerio.js'; /** * Check if the DOM element is a tag. * * `isTag(type)` includes `