type FocusDirection = "first" | "last" | "next" | "prev";
/**
 * Focuses an item in a list based on direction.
 * - first/last: focus first or last item
 * - next/prev: focus relative to `current`, with optional looping
 */
declare function rovingFocus(selector: string, container: HTMLElement, direction: FocusDirection, current?: HTMLElement | null, loop?: boolean): void;
export { rovingFocus };
