import type { ManualSelectorDefinition } from "../../../config/types";
export type ParsedUiSelector = ManualSelectorDefinition;
export declare function parseUiSelectors(uiSelectors: string | undefined): Map<string, ParsedUiSelector>;
export declare function expandSelector(selectorShorthand: string): string;
export declare function highlightElement(selector: string, duration?: number): Promise<void>;
export type SelectorState = "disabled" | "show" | "show-action";
export declare function deriveSelectorState(params: {
    isSidebarOnly: boolean;
    /** Anchor is present + visible (or, for sidebar-only without anchor, the open capability exists). */
    isAnchorReachable: boolean;
    /** The target element itself is present + visible. */
    isTargetVisible: boolean;
    /** There is a way to bring the (currently hidden) target into view. */
    hasRevealPath: boolean;
}): SelectorState;
export declare function shouldResetActiveReveal(params: {
    hasReveal: boolean;
    isRevealStillOpen: boolean;
    hasAvailabilitySelector: boolean;
    isAnchorPresent: boolean;
}): boolean;
export declare function hasStatefulRevealSurface(surfaceKeys: string[]): boolean;
export declare function shouldCarryEditorFormSurface(params: {
    isSidebarOnly: boolean;
    sliderExists: boolean;
    isSliderOpen: boolean;
}): boolean;
export declare function ManualBrowser({ onClose }: {
    onClose?: () => void;
}): import("react/jsx-runtime").JSX.Element;
