import React, { type ComponentPropsWithoutRef, type ElementType, type ReactNode } from 'react'; export type KeyboardNavigationItem = HTMLElement; type KeyboardNavigationContextProps = { onKeyDownHandler: (e: React.KeyboardEvent, hasRemoveButton: boolean) => void; }; export declare const KeyboardNavigationContext: React.Context; export declare const getNextFocusableItem: (orderedItems: KeyboardNavigationItem[], currIndex: number) => KeyboardNavigationItem | undefined; export declare const getNextSameTypeFocusableItem: (orderedItems: KeyboardNavigationItem[], currIndex: number) => KeyboardNavigationItem | undefined; export declare const getPrevFocusableItem: (orderedItems: KeyboardNavigationItem[], currIndex: number) => KeyboardNavigationItem | undefined; export declare const getPrevSameTypeFocusableItem: (orderedItems: KeyboardNavigationItem[], currIndex: number) => KeyboardNavigationItem | undefined; export declare const getActiveIndex: (event: React.SyntheticEvent, items: KeyboardNavigationItem[], container: HTMLElement | null) => number; type KeyboardNavigationRootBaseProps = { children: ReactNode | ReactNode[]; as?: T; }; type KeyboardNavigationRootProps = KeyboardNavigationRootBaseProps & Omit, keyof KeyboardNavigationRootBaseProps>; export declare const KeyboardNavigationRoot: ({ children, as, ...props }: KeyboardNavigationRootProps) => React.JSX.Element; export {}; //# sourceMappingURL=GalleryKeyboardNavigation.d.ts.map