/** * CSS selector for elements that receive a synthetic `.click()` on iOS tap. * Excludes native focusable controls — those are handled separately via `.focus()`. */ export declare const CLICK_SELECTOR = "button, a, [role=\"button\"], [role=\"option\"], label:has(input), summary"; /** * CSS selector for native focusable controls that need `.focus()` instead of * `.click()` on iOS tap. Calling `.click()` + `e.preventDefault()` on these * blocks the native keyboard from appearing. */ export declare const FOCUS_SELECTOR = "input, textarea, select, [contenteditable=\"true\"], [contenteditable=\"\"]"; /** * Walks from `el` upward and returns the nearest interactive ancestor together * with the action that should be taken for it. * @param {Element | null} el - The starting element. * @returns {{ target: HTMLElement; action: 'click' | 'focus' } | null} Nearest interactive element and action. */ export declare const findNearestInteractive: (el: Element | null) => { target: HTMLElement; action: "click" | "focus"; } | null; //# sourceMappingURL=findNearestInteractive.d.ts.map