/** * The hover outline the panel draws over an element in the page. * * Its own module because two transports drive it: the in-page channel (the * fast path, no server in the loop) and the Vite HMR command channel (the * fallback, for a panel with no page script to handshake with). Both end up * here, so the box is created once and behaves identically either way. * * Deliberately independent of the source overlay, which draws its own, * richer highlight — this one has to work whether or not `sourceOverlay` is * enabled. */ /** Draw the outline over `el`. */ export declare const showHighlight: (el: Element) => void; /** Most elements outlined at once, so a long list cannot flood the page. */ export declare const MAX_OUTLINES = 200; /** Hide every outline. Cheap and safe before any box has been built. */ export declare const clearHighlight: () => void; /** * Outline each element in `ids` that still resolves and is on screen, * replacing the single hover outline. Returns how many were drawn. */ export declare const highlightAll: (ids: readonly number[]) => number; /** * Outline the element with this id, or clear it for `null` — and also when * the id no longer resolves, since a stale outline over the wrong element is * worse than none. */ export declare const highlightById: (id: number | null) => void; /** * Scroll the element with this id into view and outline it until the scroll * has settled. The box is `position: fixed`, so it is redrawn every frame * while the page scrolls rather than once at the start. Unknown ids do * nothing. */ export declare const revealById: (id: number) => void; //# sourceMappingURL=highlight.d.ts.map