/** * Check if an element contains an event target by checking its composedPath. * Useful when an event target may come from a component's shadow DOM. */ export declare const containsTarget: (ancestor: HTMLElement, event: Event) => boolean; /** Move the focus to `next` element, set tabindex to 0 for `next` and -1 to `current`. */ export declare const moveFocus: (current: HTMLElement, next: HTMLElement) => void; /** Check if event key is ArrowUp */ export declare const isArrowUpKey: (event: KeyboardEvent) => boolean; /** Check if event key is ArrowDown */ export declare const isArrowDownKey: (event: KeyboardEvent) => boolean; /** Check if event key is Tab */ export declare const isTabKey: (event: KeyboardEvent) => boolean; /** Check if event key is Escape */ export declare const isEscKey: (event: KeyboardEvent) => boolean;