import React from 'react'; export interface UsePaginationProps { /** * The total number of Pagination buttons * @default 1 */ count?: number; /** * Page selected by default when the component is uncontrolled * @default 1 */ defaultPage?: number; /** * If true, disables all of the Pagination buttons * @default false */ disabled?: boolean; /** * If true, hides the next page button * @default false */ hideNextButton?: boolean; /** * If true, hides the previous page button * @default false */ hidePreviousButton?: boolean; /** * Number of page buttons before and after the current page * @default 1 */ numberOfAdjacentPages?: number; /** * Number of page buttons at the beginning and end of the page number buttons list * @default 1 */ numberOfEdgePages?: number; /** * Event that fires when the page number changes */ onPageChange?: (event: React.SyntheticEvent, newPage: number) => void; /** * Current page number */ page?: number; /** * If true, shows the first page button * @default false */ showFirstButton?: boolean; /** * If true, shows the last page button * @default false */ showLastButton?: boolean; } export declare function usePagination(props?: Partial): { handlePageChange: (event: any, value: any) => void; page: any; pageButtons: ({ onClick: (event: any) => void; type: string; page: number; isSelected: boolean; disabled: boolean; 'aria-current': string; 'aria-label': string; } | { onClick: (event: any) => void; type: any; page: any; isSelected: boolean; disabled: boolean; 'aria-current'?: undefined; 'aria-label'?: undefined; })[]; setPageState: any; };