import { FC, KeyboardEventHandler, PropsWithChildren } from "react"; /** * Defines the props for an individual pagination item in the NvPagination component. * @interface * * @property {boolean} [isActive] - Indicates if the pagination item is currently active. * @property {boolean} [isPlain] - Indicates if the pagination item has a plain style. * @property {string} [href] - The URL the pagination item should navigate to. * @property {string} [ariaLabel] - Aria label for accessibility. * @property {string} [className] - Additional CSS class for styling. * @property {number} [tabIndex] - The tab order of the pagination item. * @property {() => void} [onClick] - Function to be called when the pagination item is clicked. * @property {KeyboardEventHandler} [onKeyDown] - Event handler for keydown events on the pagination item. */ export interface NvPaginationItemProps { isActive?: boolean; isPlain?: boolean; href?: string; ariaLabel?: string; className?: string; tabIndex?: number; onClick?: () => void; onKeyDown?: KeyboardEventHandler; } /** * Functional component for rendering a pagination item. * * @param isActive - Indicates if the pagination item is active. * @param isPlain - Indicates if the pagination item has plain styling. * @param href - The URL the pagination item should navigate to. * @param className - Additional CSS classes for styling. * @param ariaLabel - Accessible label for the pagination item. * @param children - The content to be displayed within the pagination item. * @param tabIndex - The tab index of the pagination item. * @param onClick - Function to handle click events on the pagination item. * @param onKeyDown - Function to handle key down events on the pagination item. * @returns JSX element representing the pagination item. */ declare const NvPaginationItem: FC>; export default NvPaginationItem;