import React from 'react'; import { TPAComponentProps } from '../../types'; export interface PaginationProps extends TPAComponentProps { /** hook for testing purposes */ 'data-hook'?: string; totalPages: number; currentPage?: number; pageUrl?(pageNumber: number): string; onChange?(event: { event: React.SyntheticEvent; page: number; }): void; onClick?: React.MouseEventHandler; onDoubleClick?: React.MouseEventHandler; onMouseEnter?: React.MouseEventHandler; onMouseLeave?: React.MouseEventHandler; paginationMode?: 'pages' | 'input' | 'compact' | PaginationMode; showFirstLastNavButtons?: boolean; firstLabel?: React.ReactNode; previousLabel?: React.ReactNode; nextLabel?: React.ReactNode; lastLabel?: React.ReactNode; gapLabel?: React.ReactNode; slashLabel?: React.ReactNode; inputAriaLabel?: string; rtl?: boolean; width?: number; showFirstPage?: boolean; showLastPage?: boolean; showNextLabel?: boolean; showPreviousLabel?: boolean; showInputModeTotalPages?: boolean; responsive?: boolean; maxPagesToShow?: number; className?: string; id?: string; style?: React.CSSProperties; disabled?: boolean; /** Internal prop, should never be used by consumers! */ customLabels?: { first?: boolean; previous?: boolean; next?: boolean; last?: boolean; }; } export declare const enum ButtonType { Prev = "previous", Next = "next", First = "first", Last = "last" } export declare const enum PaginationMode { Pages = "pages", Compact = "compact", Input = "input" } export interface PaginationState { pageInputValue: string; pageInputHasError: boolean; } //# sourceMappingURL=types.d.ts.map