import type { NumberUnion } from "../../../utils/NumberUnion"; export type DotPaginationLocale = { goToPageText?(page: number): string; }; export type DotPaginationProps = { /** * The current page number. (1-indexed) */ currentPage: NumberUnion; /** * The function to call when the page changes. */ onChange: (page: NumberUnion) => void; /** * The total number of pages. */ nbPages: T; /** * The size of the dots. */ size?: "small" | "medium"; /** * The locale to use. */ locale?: DotPaginationLocale; }; /** * The `DotPagination` component is used to help our users to move through an ordered collection of items represented by dots. * * See the [Dot Pagination documentation page](https://satellite.algolia.com/8261d6576/p/39f2e9-pagination/b/451eb9) for more information. */ export declare const DotPagination: ({ currentPage, onChange, nbPages, size, locale: propsLocale, }: DotPaginationProps) => import("react/jsx-runtime").JSX.Element;