import React from 'react'; import { MarginProps, MaxWidthProps, WidthProps } from 'styled-system'; declare type EmptyFn = () => void; export interface PageLinkProps { 'aria-label': string; 'aria-current'?: 'page'; page: number; disabled: boolean; children: React.ReactChild; rel?: string; className?: string; onClick?: EmptyFn; } export interface PaginationProps extends MarginProps, MaxWidthProps, WidthProps { disabled?: boolean; pageCount: number; currentPage: number; className?: string; onPageChange?: (page: number) => void; linkAs?: React.ComponentType; label?: string; currentPageLabel?: string; prevPageLabel?: string; nextPageLabel?: string; lastPageLabel?: string; makeLinkLabel?: (page: number) => string; maxItems?: number; } export declare const Pagination: React.FC; export default Pagination;