type OnNeighborChange
= (neighborElement: HTMLElement, props: P) => void; type FindNeighbor = (listSelectors: HTMLElement[], element: HTMLElement, direction: string) => HTMLElement | undefined; type ChildSelector
= [string, string] | ((props: P) => [string, string]); type A11yEnhanceOptions
= { findNeighbor?: FindNeighbor; onNeighborChange?: OnNeighborChange
; childSelector: ChildSelector
; }; declare const a11yEnhance: (options: A11yEnhanceOptions) => (props: any) => any; export default a11yEnhance;