import * as React from 'react'; import { IconButtonProps } from '@mui/material/IconButton/IconButton'; import { SvgIconProps } from '@mui/material/SvgIcon'; export interface TablePaginationActionsProps extends React.HTMLAttributes { /** * This prop is an alias for `slotProps.previousButton` and will be overriden by it if both are used. * @deprecated Use `slotProps.previousButton` instead. */ backIconButtonProps?: Partial; /** * Override or extend the styles applied to the component. */ classes?: {}; count: number; /** * If `true`, the component is disabled. * @default false */ disabled?: boolean; /** * Accepts a function which returns a string value that provides a user-friendly name for the current page. * This is important for screen reader users. * * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/). * @param {string} type The link or button type to format ('first' | 'last' | 'next' | 'previous'). * @returns {string} */ getItemAriaLabel: (type: 'first' | 'last' | 'next' | 'previous') => string; /** * This prop is an alias for `slotProps.nextButton` and will be overriden by it if both are used. * @deprecated Use `slotProps.nextButton` instead. */ nextIconButtonProps?: Partial; onPageChange: (event: React.MouseEvent | null, page: number) => void; page: number; rowsPerPage: number; showFirstButton: boolean; showLastButton: boolean; slotProps?: { firstButton?: Partial; lastButton?: Partial; nextButton?: Partial; previousButton?: Partial; firstButtonIcon?: Partial; lastButtonIcon?: Partial; nextButtonIcon?: Partial; previousButtonIcon?: Partial; }; slots?: TablePaginationActionsSlots; } export interface TablePaginationActionsSlots { /** * The component that renders the first button. * @default IconButton */ firstButton?: React.ElementType; /** * The component that renders the last button. * @default IconButton */ lastButton?: React.ElementType; /** * The component that renders the next button. * @default IconButton */ nextButton?: React.ElementType; /** * The component that renders the previous button. * @default IconButton */ previousButton?: React.ElementType; /** * The component that renders the first button icon. * @default FirstPageIcon */ firstButtonIcon?: React.ElementType; /** * The component that renders the last button icon. * @default LastPageIcon */ lastButtonIcon?: React.ElementType; /** * The component that renders the next button icon. * @default KeyboardArrowRight */ nextButtonIcon?: React.ElementType; /** * The component that renders the previous button icon. * @default KeyboardArrowLeft */ previousButtonIcon?: React.ElementType; } declare const TablePaginationActions: React.JSXElementConstructor; export default TablePaginationActions;