/** * @internal */ export interface IUiToolbarPaginationAccessibilityConfig { /** * Name of the current page, for example "Page". */ ariaLabel: string; /** * Name of the previous control, for example "Previous page". */ previousLabel: string; /** * Name of the next control, for example "Next page". */ nextLabel: string; /** * Spoken form of the position, for example "Page 3 of 12". Announced when the page changes. * Defaults to the label followed by the visible text. */ valueText?: string; /** * Spoken form of the total next to the editable page, for example "of 12". * Defaults to the visible text. */ totalLabel?: string; } /** * @internal */ export interface IUiToolbarPaginationProps { /** * The current page, starting at 1. */ currentPage: number; totalPages: number; /** * Called with the page to move to. A typed page is clamped to the range from 1 to `totalPages`. */ onPageChange: (page: number) => void; /** * Makes the current page a field the user can type a page into. Enter and blur go to the typed * page, Escape reverts it. * @defaultValue false */ isValueEditable?: boolean; isDisabled?: boolean; accessibilityConfig: IUiToolbarPaginationAccessibilityConfig; dataTestId?: string; } /** * Previous and next controls around the current page and the total, for example "1 / 12". Each * control is its own toolbar stop. * * @internal */ export declare const UiToolbarPagination: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=UiToolbarPagination.d.ts.map