/** * DOM parsing adapter for browser environments. * Uses linkedom for compatibility with both popup and service worker (background) contexts. * DOMParser is not available in service workers, so we use linkedom which works everywhere. * * @internal */ export declare class DomAdapter { /** * Parses an HTML string into a Document. * Equivalent to: new JSDOM(html).window.document * * @param html - The HTML string to parse * @returns The parsed Document */ static parseHTML(html: string): Document; }