import React from 'react';
/**
* @alias PaginationProps
* @memberof Pagination
*/
export declare type PaginationProps = {
/**
* Current page
*/
page: number;
/**
* Items per page
*/
perPage: number;
/**
* Total number of items
*/
total: number;
/**
* location. You can pass window.location or the location object
* given by ReactRouter
*/
location?: Location;
/**
* Triggers when user clicks any of the button
*/
onChange: (pageNumber: number) => void;
};
/**
* @classdesc
*
*
*
* Pagination component
*
* ### Usage
*
* ```javascript
* import { Pagination, PaginationProps } from '@admin-bro/design-system'
* ```
*
* @component
* @subcategory Molecules
* @hideconstructor
* @see PaginationProps
* @see {@link https://storybook.adminbro.com/?path=/story/designsystem-molecules-pagination--default Storybook}
* @example
* const location = { search: ''}
* return (
*
* alert(`clicked ${item}`)}
* />
*
* )
* @section design-system
*/
declare const Pagination: React.FC;
export { Pagination };
export default Pagination;