/** * Installs a tap polyfill on `root` to work around WebKit Bug #218923. * * iOS Safari suppresses `click` events inside Shadow DOM. The first tap * only triggers `:hover`; a real `click` requires a second tap. * * Strategy by element type: buttons/links/role=button/role=option get a * synthesised `.click()` with `e.preventDefault()` to suppress the late * duplicate native click. Native inputs/textareas/contenteditable get * `.focus()` without `e.preventDefault()` so the iOS keyboard appears. * * Returns a cleanup function that removes both listeners. * @param {HTMLElement} root - The element to attach listeners to. * @returns {() => void} Cleanup function. */ export declare const installIOSTapFix: (root: HTMLElement) => (() => void); //# sourceMappingURL=installIOSTapFix.d.ts.map