import type { MouseEvent } from 'react'; export interface BulletsProps { /** * Number of bullets that should be rendered. */ totalQuantity: number; /** * The currently active bullet (zero-indexed). */ activeBullet: number; /** * Event handler for clicks on each bullet. The handler will be called with * the index of the bullet that received the click. */ onClick: (e: MouseEvent, bulletIdx: number) => void; /** * ID to find this component in testing tools (e.g.: cypress, * testing-library, and jest). */ testId?: string; /** * Function that should be used to generate the aria-label attribute added * to each bullet that is inactive. It receives the bullet index as an * argument so that it can be interpolated in the generated string. */ ariaLabelGenerator?: (index: number, isActive: boolean) => string; } declare function Bullets({ totalQuantity, activeBullet, onClick, testId, ariaLabelGenerator, }: BulletsProps): JSX.Element; export default Bullets;