/** * Inspector — Hover/click handling * Shows overlay on hover, resolves key on click, opens sidebar. */ import { ResolvedKey } from './key-resolver.js'; export type OnSelectCallback = (resolved: ResolvedKey) => void; export declare class Inspector { private overlay; private currentTarget; private onSelect; private rafId; private active; private rootElement; /** When set, clicks resolve keys from this map (snapshot viewer mode) * instead of re-computing from the (redacted) DOM text. */ private snapshotKeyMap; constructor(shadowRoot: ShadowRoot, onSelect: OnSelectCallback, rootElement?: Element, snapshotKeyMap?: Map); destroy(): void; clearHighlight(): void; /** * Suspend/resume the inspector. When inactive, hover/click handlers * early-return so page links navigate natively — this is what the toolbar's * "Browse" mode flips so a PM can click through the site's nav to reach * another page, instead of every click opening the edit drawer. */ setActive(active: boolean): void; isActive(): boolean; private handleMouseOver; private handleClick; private handleScroll; private positionOverlay; private shouldSkip; } //# sourceMappingURL=inspector.d.ts.map