/** * jsdom implements none of the `ElementInternals` form-association API — not `setFormValue`, * not `setValidity`, not the `checkValidity`/`reportValidity`/`validity`/`validationMessage` * mixin real browsers put on every `formAssociated: true` element, not even `FormData` * collecting a form-associated element's set value, or `
.reset()` invoking * `formResetCallback()`. Every one of those gaps is exercised by `useField()` (`@vielzeug/ore`), * so any package testing a form-associated component needs all of them, not just one. * * Opt-in via `install(afterEach, { formInternals: true })` (or call this directly) — * the patches are global monkey-patches, so suites without form-associated components * shouldn't pay for them. Returns an `uninstall()` that restores every patched global. * * Deliberately lives here rather than in each consuming package's own `vitest.setup.ts`: the * gap is in `ore`'s own form-association feature, not in any one consumer, so the fix belongs * with the feature. `walkFlatTree` handles form-associated custom elements across shadow * boundaries, so consumer packages do not need package-local copies of this polyfill. */ export declare const installFormInternalsPolyfill: () => (() => void); //# sourceMappingURL=form-internals-polyfill.d.ts.map