export declare const CAPABILITY_FOCUS_TARGET_SELECTOR = "[data-capability-focus-target]"; /** * Find the visible, focusable control for a capability after its catalog row * moves between Browse and Enabled. The data attribute is deliberately kept * on the actual control rather than a presentational card wrapper. */ export declare function findCapabilityFocusTarget(capabilityId: string | null): HTMLElement | null; /** * Guard focus restoration against a matching control that is hidden, removed, * disabled, or otherwise excluded from the accessibility tree. */ export declare function isUsableFocusTarget(target: HTMLElement | null): target is HTMLElement; /** * Focus the newly rendered capability control, or an explicit visible route * region when the control is not available (for example, a filtered result). */ export declare function focusCapabilitySuccessor(capabilityId: string | null, fallback: HTMLElement | null): boolean;