/** * Click listener for an `` a component renders in its shadow root (bind it with `@click`; * Lit calls it with the host as `this`). Client-side routers can't route those anchors by * themselves, so a plain click — main button, no modifier key, same tab, not a download, same * origin — first fires a cancelable, bubbling, composed `ui-navigate` { href } from the host. * `preventDefault()` on it stops the page load and leaves the navigation to the router. * Every other click (Ctrl / ⌘ / Shift / middle, `target="_blank"`, other sites) stays a plain link. */ export declare function followLink(this: HTMLElement, event: MouseEvent): void; /** * A same-page link (`#id`) inside shadow roots (a micro app): the browser looks the id up in the * document only. When it isn't there, find it in the trees the link sits in and move focus to it * (made focusable with tabindex="-1" first, as skip-link targets are). Returns whether it did, so * the caller prevents the click's default. */ export declare function focusFragmentTarget(link: Element, href: string): boolean;