import React from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; import type { SizeProp } from '../../tokens/size'; import type { ColorProp, SxProps, SlotPropsConfig } from '../../types/shared'; export interface TablePaginationSlots { [key: string]: React.ComponentType; Root: React.ComponentType; } export interface TablePaginationProps extends SlotPropsConfig { /** Total number of rows. Use -1 to indicate unknown. */ count: number; /** Zero-based index of the current page. */ page: number; /** Number of rows per page. */ rowsPerPage: number; /** Called when the page changes. page is zero-based. */ onPageChange: (page: number) => void; /** Called when rows-per-page changes. */ onRowsPerPageChange?: (rowsPerPage: number) => void; /** Options for rows per page. Default: [10, 25, 50, 100] */ rowsPerPageOptions?: number[]; showFirstButton?: boolean; showLastButton?: boolean; labelRowsPerPage?: string; /** Custom renderer for the "X–Y of Z" label. */ labelDisplayedRows?: (params: { from: number; to: number; count: number; page: number; }) => string; size?: SizeProp; color?: ColorProp; sx?: SxProps; style?: StyleProp; testID?: string; } declare const TablePagination: React.NamedExoticComponent; export { TablePagination }; //# sourceMappingURL=TablePagination.d.ts.map