import { Pagination } from '@heroui/react'; import { ComponentProps, ReactNode } from 'react'; type PaginationRootProps = Omit, "children">; type PaginationContentProps = Omit, "children">; type PaginationItemProps = Omit, "children">; type PaginationSummaryProps = Omit, "children">; type PaginationLinkProps = Omit, "children" | "isActive" | "isDisabled" | "onPress">; type PaginationPreviousProps = Omit, "children" | "isDisabled" | "onPress">; type PaginationNextProps = Omit, "children" | "isDisabled" | "onPress">; export type WorkspacePaginationProps = { boundaryCount?: number; contentProps?: PaginationContentProps; ellipsisItemProps?: PaginationItemProps; isDisabled?: boolean; itemProps?: PaginationItemProps; linkProps?: PaginationLinkProps; nextProps?: PaginationNextProps; nextLabel?: ReactNode; page: number; pageSize?: number; /** Optional rows-per-page choices. Only shown when `showPageSizeSelector` is true. */ pageSizeOptions?: readonly number[]; /** Called when the user picks a new page size from `pageSizeOptions`. */ onPageSizeChange?: (pageSize: number) => void; previousProps?: PaginationPreviousProps; previousLabel?: ReactNode; /** * Opt-in rows-per-page selector. Off by default. * Requires `pageSizeOptions` and `onPageSizeChange` when enabled. */ showPageSizeSelector?: boolean; /** * Opt-in range summary text on the left * (`Showing x–y of z results`). Off by default. * When true, uses `summary` when provided, otherwise the default range text * when `totalItems` is a number. */ showSummary?: boolean; siblingCount?: number; summary?: ReactNode; summaryProps?: PaginationSummaryProps; totalItems?: number; totalPages: number; onPageChange: (page: number) => void; } & PaginationRootProps; /** * Resolves the left-side pagination range summary. * Hidden unless `showSummary` is true (default off). */ export declare function resolveWorkspacePaginationSummary(options: { page: number; pageSize: number; showSummary?: boolean; summary?: ReactNode; totalItems?: number; }): ReactNode; export declare function WorkspacePagination({ boundaryCount, contentProps, ellipsisItemProps, isDisabled, itemProps, linkProps, nextProps, nextLabel, page, pageSize, pageSizeOptions, onPageSizeChange, previousProps, previousLabel, showPageSizeSelector, showSummary, siblingCount, summaryProps, summary, totalItems, totalPages, onPageChange, className, ...paginationProps }: WorkspacePaginationProps): import("react").JSX.Element | null; export {};