/** * Originally based on Ionic's focus-visible utility. * Fork of https://github.com/ionic-team/ionic-framework/blob/c37e2a5d9e765cf48d768061c9d453a13b187e13/core/src/utils/focus-trap.ts */ export declare const QUERY_ARROW_ELEMENTS: string; export declare const QUERY_CURRENT_VISIBLE_FOCUS: string; export declare const getIndexOfDropdownItem: (items: HTMLElement[], item: HTMLElement | null, selector?: string) => number; export declare const getNextFocusableDropdownItem: (items: HTMLElement[], currentItem: HTMLElement | null, selector?: string) => HTMLElement; export declare const getPreviousFocusableItem: (items: HTMLElement[], currentItem: HTMLElement | null, selector?: string) => HTMLElement; export declare const isTriggerElement: (element: HTMLElement) => boolean; export declare const configureKeyboardInteraction: (getItemsHost: () => HTMLElement, options?: { getActiveElement?: () => HTMLElement | null; setItemActive?: (item: HTMLElement) => void; getEventListenerTarget?: () => HTMLElement; querySelector?: string; activeQuerySelector?: string; itemTriggerKeys?: string[]; beforeKeydown?: (ev: KeyboardEvent) => void; onItemActivation?: (event: KeyboardEvent, activeElement: HTMLElement) => void; }) => () => void;