import { RefObject } from 'react'; interface UsePlayerKeyboardNavigationOptions { containerRef: RefObject; isVertical: boolean; currentPostType: string; handleClose: () => void; handleNextPost: () => void; handlePreviousPost: () => void; togglePlay: () => void; toggleMute: () => void; } /** * Adds keyboard navigation to a player dialog. * * - Escape → close * - ArrowRight/Left → next/previous post (horizontal mode) * - ArrowDown/Up → next/previous post (vertical mode) * - k → toggle play (video only) * - m → toggle mute (video only) * * Space and Enter are left to their native behaviour when a button, link or * other interactive element inside the dialog has focus. */ export declare function usePlayerKeyboardNavigation({ containerRef, isVertical, currentPostType, handleClose, handleNextPost, handlePreviousPost, togglePlay, toggleMute, }: UsePlayerKeyboardNavigationOptions): void; export {};