/**
 * Just enough of jsdom's surface for the test harness.
 *
 * jsdom reaches the project as a transitive dependency of
 * `isomorphic-dompurify`, which `lib/sanitizeHtml` uses server-side, so it has
 * no `@types` entry of its own here. Declaring the two members the harness
 * touches is preferable to adding a dev dependency for a type.
 */
declare module "jsdom" {
  export class JSDOM {
    constructor(html?: string, options?: { url?: string });
    readonly window: Window & typeof globalThis;
  }
}
