import { ThemingProps } from '@chakra-ui/react'; import type { WithSsr } from '../types/WithSsr'; export interface PaginationProps extends WithSsr { /** * Number of pages to display to left and right of current page. * Defaults to `1`. */ siblingCount?: number; /** * Total number of elements to paginate. */ totalCount: number; /** * Size of each page. Determines the number of rendered page counts. */ pageSize: number; /** * Callback function invoked with the updated page when the page is changed. */ onPageChange: (page: number) => void; /** * Represents the current active page. Note that a `1-based index` is used. */ currentPage: number; /** * Whether pagination buttons are disabled. */ isDisabled?: boolean; /** * Variant of pagination to use. Defaults to `full`. */ variant?: ThemingProps<'Pagination'>['variant']; } export declare const Pagination: { ({ variant: variantProp, ssr, ...props }: PaginationProps): JSX.Element; Full: import("react").FC; Minimal: import("react").FC<{ isDisabled?: boolean /** * Variant of pagination to use. Defaults to `full`. */ | undefined; variant?: ThemingProps<"Pagination">["variant"]; ssr?: boolean | undefined; totalCount: number; pageSize: number; currentPage: number; onPageChange: (page: number) => void; }>; };