Probably best handled with a lightweight mock element class, and sprinklings of `import.meta.ENV.SSR ? `