import { Dispatch, SetStateAction } from 'react'; import { PageProps } from './page'; /** * Result interface for the usePager hook */ interface PagerResult { /** * Public API exposed to consumers of the pager */ publicAPI: Partial; /** * Defines the total number of pages count which is used to render numeric container */ totalPages?: number; setcurrentPage: Dispatch>; currentPage?: number; } /** * Custom hook for handling the page's state and behavior. * * @param {Partial} props The properties for the page. * @returns {PageProps} An object containing various pager-related state and API */ export declare const usePager: (props: Partial) => PagerResult; export {};