function supportsScopedRegistry() {
  return Boolean(
    // @ts-expect-error
    globalThis.ShadowRoot?.prototype.createElement && globalThis.ShadowRoot?.prototype.importNode,
  );
}
@typedef {import('../../form-core/types/validate/ValidateMixinTypes.js').ScopedElementsMap} ScopedElementsMap
@typedef {import('@open-wc/dedupe-mixin').Constructor<ScopedElementsHost>} ScopedElementsHostConstructor
@typedef {import('@open-wc/scoped-elements/lit-element.js').ScopedElementsHost} ScopedElementsHost
@typedef {import('./types.js').ScopedElementsHostV2Constructor} ScopedElementsHostV2Constructor
@typedef {import('@open-wc/dedupe-mixin').Constructor<LitElement>} LitElementConstructor
@typedef {import('lit').CSSResultOrNative} CSSResultOrNative
@typedef {typeof import('lit').LitElement} TypeofLitElement
@typedef {import('lit').LitElement} LitElement