import type { ElementProps, FloatingContext } from "@floating-ui/react"; import { type KeyboardEvent } from "react"; export interface UseKeyboardProps { /** * Whether the hook is enabled * @default true */ enabled?: boolean; /** * Handler for when the arrow key down is pressed * @param event */ onArrowDown?: (event: KeyboardEvent) => void; } /** * Floating UI Interactions hook, that will open DatePicker on keydown * @param context * @param props */ export declare function useKeyboard(_context: FloatingContext, props: UseKeyboardProps): ElementProps;