import { Component } from 'react'; import type { PaginationPageInputProps, PaginationPageInputState } from './props'; /** --- parent: Pagination id: Pagination.PageInput --- **/ declare class PaginationPageInput extends Component { static readonly componentId = "Pagination.PageInput"; static propTypes: import("@instructure/shared-types").PropValidators | React.MouseEvent | React.FocusEvent, pageIndex: number) => void; screenReaderLabel: (currentPage: number, numberOfPages: number) => string; label?: (numberOfPages: number) => React.ReactNode; disabled?: boolean; inputRef?: (element: HTMLInputElement | null) => void; }>; static allowedProps: readonly (keyof { numberOfPages: number; currentPageIndex: number; onChange: (event: React.KeyboardEvent | React.MouseEvent | React.FocusEvent, pageIndex: number) => void; screenReaderLabel: (currentPage: number, numberOfPages: number) => string; label?: (numberOfPages: number) => React.ReactNode; disabled?: boolean; inputRef?: (element: HTMLInputElement | null) => void; })[]; static defaultProps: { disabled: boolean; }; ref: HTMLSpanElement | null; constructor(props: PaginationPageInputProps); get currentPage(): number; get initialState(): { number: number; value: string; }; get MIN(): number; get MAX(): number; componentDidMount(): void; componentDidUpdate(prevProps: PaginationPageInputProps): void; resetInitialState(): void; handleRef: (el: HTMLSpanElement | null) => void; handleInputRef: (el: HTMLInputElement | null) => void; handleChange: (_event: React.ChangeEvent, value: string) => void; handleKeyDown(event: React.KeyboardEvent): void; handleDecrement: (event: React.KeyboardEvent | React.MouseEvent) => void; handleIncrement: (event: React.KeyboardEvent | React.MouseEvent) => void; handleBlur: (event: React.FocusEvent) => void; getNumberWithinRange(n: number): number; setNewPage(event: React.KeyboardEvent | React.MouseEvent | React.FocusEvent, n: number): void; renderLabel(): import("@emotion/react/jsx-runtime").JSX.Element | null; renderScreenReaderLabel(): import("@emotion/react/jsx-runtime").JSX.Element; render(): import("@emotion/react/jsx-runtime").JSX.Element; } export default PaginationPageInput; export { PaginationPageInput }; //# sourceMappingURL=index.d.ts.map