/** * Returns the next focusable element in the given direction relative to the * currently focused element within the container. Wraps around at both ends. * * Returns `null` if there is no focused element within the container or if * the focused element is not in the list of focusable elements. */ import type { TFocusableFilter } from './types'; export declare function getNextFocusable({ container, direction, filter, }: { container: HTMLElement; direction: 'forwards' | 'backwards'; filter?: TFocusableFilter; }): HTMLElement | null;