import { type KeyboardEvent, type RefObject } from "react"; interface UseScrollIntoViewProps { contentInnerRef: RefObject; } export declare function useScrollIntoView(props: UseScrollIntoViewProps): void; interface UseInternalSelectionProps { contentInnerRef: RefObject; inputInnerRef: RefObject; } export declare function useInternalSelection(props: UseInternalSelectionProps): { next: (event: KeyboardEvent) => void; prev: (event: KeyboardEvent) => void; selectedValue: string | undefined; listIsOpen: boolean; setListIsOpen: import("react").Dispatch>; onChangeInternalSelection: (value: string | undefined) => void; onItemPicked: () => void; cleanupInternalState: () => void; }; export declare function getValidItems(contentInnerRef: RefObject): Element[]; export declare function getSelectedItem(contentInnerRef: RefObject): Element | null | undefined; interface UseSelectFirstArgs { listIsOpen: boolean; contentInnerRef: RefObject; onChangeInternalSelection: (value: string | undefined) => void; } /** * Selects first option if there is no selected option or the selected option is not available anymore * @private */ export declare function useSelectFirst(args: UseSelectFirstArgs): void; export {};