import { RefObject } from 'react'; interface PendingControlFocus { direction: 'up' | 'down' | 'left' | 'right'; levelIndex: number | 'last'; rowIndex: number | 'last'; cellIndex: number | 'last'; } interface UsePendingControlFocusInput { controlsRef: RefObject; /** Value that changes when the displayed period changes, focus is applied only after it has changed */ period: string; } export declare function usePendingControlFocus({ controlsRef, period }: UsePendingControlFocusInput): (request: PendingControlFocus) => void; export {};