/** * `@llui/dom/ssr/jsdom` — jsdom-backed `DomEnv` factory. * * Only imports jsdom. Consumers who need a different DOM (linkedom, * happy-dom, custom) use the corresponding sub-entry or build their * own `DomEnv` by hand — neither route pulls jsdom into the bundle. */ import type { DomEnv } from '../dom-env.js'; /** * Construct a `DomEnv` backed by jsdom. The heavyweight jsdom window is created * once per process and shared; each call mints a FRESH document from it, so the * returned env has its own isolated node tree (no cross-request node sharing) * while reusing the window's constructors — a fraction of the per-call cost of a * full `new JSDOM(...)`. * * Requires `jsdom` as an installed dependency. If you don't want the * jsdom bundle (e.g. on Cloudflare Workers), use `linkedomEnv()` from * `@llui/dom/ssr/linkedom` instead. */ export declare function jsdomEnv(): Promise; //# sourceMappingURL=jsdom.d.ts.map