import * as React from 'react'; import { BoxProps } from '../Box'; import { ButtonProps } from '../Button'; import { SelectProps } from '../Select'; export declare type LocalPaginationProps = { /** Sets the number of pages. */ numberOfPages: number; /** Sets the current page. */ currentPage?: number; /** Function to invoke when the page is changed. */ onChangePage?: (page: number) => void; /** Sets the text of the next button. */ nextText?: string; /** Sets the text of the previous button. */ previousText?: string; /** Sets the preposition text. */ prepositionText?: string; /** Props to spread onto the next button. */ nextButtonProps?: ButtonProps; /** Props to spread onto the previous button. */ previousButtonProps?: ButtonProps; /** Props to spread onto the select component. */ selectProps?: Omit; }; export declare type PaginationProps = BoxProps & LocalPaginationProps; export declare const Pagination: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };