import { Resource } from './resource'; import type { GlobalConfig, UrlString, FrameElement } from '../types'; import type { HtmlLink } from './links'; /** * DomResource represents an HTML document. * * DomResource exposes the {@link links} of the document; both those links defined by attributes * (e.g. an ``’s `href` or ``’s `src`) and those defined in inline CSS (e.g. a `background: * url(…)` in a `