import * as React from 'react'; import { OverridableComponent, SimplifiedPropsOf } from '../OverridableComponent'; import { Omit } from '@material-ui/types'; import { TablePaginationActionsProps } from './TablePaginationActions'; import { TableCellProps } from '../TableCell'; import { IconButtonProps } from '../IconButton'; import { SelectProps } from '../Select'; export interface LabelDisplayedRowsArgs { from: number; to: number; count: number; page: number; } declare const TablePagination: OverridableComponent<{ props: TablePaginationBaseProps & { ActionsComponent?: React.ElementType; backIconButtonProps?: Partial; count: number; labelDisplayedRows?: (paginationInfo: LabelDisplayedRowsArgs) => React.ReactNode; labelRowsPerPage?: React.ReactNode; nextIconButtonProps?: Partial; onChangePage: (event: React.MouseEvent | null, page: number) => void; onChangeRowsPerPage?: React.ChangeEventHandler; page: number; rowsPerPage: number; rowsPerPageOptions?: number[]; SelectProps?: Partial; }; defaultComponent: React.ComponentType; classKey: TablePaginationClassKey; }>; export type TablePaginationClassKey = | 'root' | 'toolbar' | 'spacer' | 'menuItem' | 'caption' | 'input' | 'selectRoot' | 'select' | 'selectIcon' | 'actions'; export type TablePaginationBaseProps = Omit; export type TablePaginationProps = SimplifiedPropsOf; export default TablePagination;