import { RefObject } from 'react'; import { PagerRef } from './page'; interface ActionFocus { className: string; pageIndex: number; } interface PagerFocusProps { pageRef: RefObject; currentPage: number; allowKeyboard: boolean; totalRecordsCount: number; pageSize: number; } interface PagerFocusResult { actionFocus: RefObject; handleFocus: (e: React.FocusEvent) => void; handleBlur: () => void; handleKeyDown: (e: React.KeyboardEvent) => void; setFirstLastTabIndex: () => void; removeDisabledTabIndex: () => void; getClass: (element: Element) => string; } /** * Custom hook for handling the page focus. * * @param {PagerFocusProps} props The properties for the page focus. * @returns {PagerFocusResult} An object containing information related to page focus. */ export declare const usePagerFocus: (props: PagerFocusProps) => PagerFocusResult; export {};