import * as React from 'react'; /** * Hover / focus "peek" for collapsed icon rails — the desktop counterpart of the * mobile nav flyout, minus the scrim. Spread `handlers` on the rail; `peek` says * whether the expanded sheet should be showing. * * Opens after a short intent delay (so sweeping the cursor past the rail does not * flash it) and closes after a short grace period (so the cursor can travel * between the rail and its sheet). Keyboard focus inside the rail also opens it, * and Escape dismisses it. `enabled: false` forces it closed and cancels timers. */ declare function useHoverPeek(enabled: boolean): { peek: boolean; handlers: { onPointerEnter: (event: React.PointerEvent) => void; onPointerLeave: (event: React.PointerEvent) => void; onFocus: (event: React.FocusEvent) => void; onBlur: (event: React.FocusEvent) => void; onKeyDown: (event: React.KeyboardEvent) => void; }; dismiss: () => void; }; export { useHoverPeek };