export interface PaginationProps { /** Prop used to control which page the user is currently navigated to */ activePage?: number; /** The default page the user starts on before the user navigates using the text input or the prev/next buttons. For use when the component is uncontrolled. */ initialActivePage?: number; /** The label used to describe the items being paginated through */ itemsLabel?: string; /** Prop used to control how many items are shown per page */ pageLength?: number; /** The default number of items shown per page before the user selects a new number from the dropdown. For use when the component is uncontrolled. */ initialPageLength?: number; /** The link used for the "next page" button */ nextUrl?: string; /** A callback for when the user clicks the prev/next buttons or changes the selected option for how many items are shown per page */ onChange?: (newPage: number, newPageLength: number) => void; /** The link used for the "previous page" button */ prevUrl?: string; /** Whether to show the menu to set how many items are shown per page */ showPageLengthMenu?: boolean; /** The total number of items on all pages */ totalItems?: number; /** The total number of pages */ totalPages?: number; } export declare const INITIAL_PAGE_LENGTH: number; export declare const getItemCountString: (activePage: number, itemsLabel: string, pageLength: number, totalItems?: number) => string; declare const Pagination: ({ activePage: activePageProp, initialActivePage, itemsLabel, pageLength: pageLengthProp, initialPageLength, nextUrl, onChange, prevUrl, showPageLengthMenu, totalItems, totalPages: totalPagesProp }: PaginationProps) => JSX.Element; export default Pagination;