import React from 'react'; import { type GlassVariant } from '../../../lib/glass'; import { type ComposableProps } from '../../../lib/slot'; export interface PaginationProps extends Omit, 'onChange'> { /** * Pagination content (for composable API) */ children?: React.ReactNode; /** * Current page number */ current: number; /** * Total number of items */ total: number; /** * Items per page * @default 10 */ pageSize?: number; /** * Callback when page changes */ onChange?: (page: number, pageSize?: number) => void; /** * Callback when page size changes */ onShowSizeChange?: (current: number, size: number) => void; /** * Pagination variant * @default 'default' */ variant?: 'default' | 'compact'; /** * Apply glassmorphism effect to the pagination container */ glass?: GlassVariant; } /** * Pagination Component * * A versatile pagination component for navigating through pages of content. * Supports composable API with sub-components for maximum flexibility. * * @public * * @example * ```tsx * // Composable API (recommended) * * * * * * * * * * * // Compact variant * handlePageChange(page)} * /> * ``` * * @remarks * - Composable API provides maximum flexibility and control * - All sub-components (PaginationList, PaginationItem, etc.) support `asChild` * - Supports default and compact variants * - Accessible: includes ARIA attributes and keyboard navigation */ export declare const Pagination: React.ForwardRefExoticComponent>; //# sourceMappingURL=Pagination.d.ts.map