import React from 'react'; import type { BaseProps } from '../component-helpers'; import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial-group/base.css'; export type TestimonialGroupProps = BaseProps & Omit, 'onChange'> & { 'data-testid'?: string; /** Initial testimonial: 0 for the first, 1 for the second. */ defaultActiveIndex?: number; /** Called after a testimonial changes, with its index (first is 0). */ onChange?: (activeIndex: number) => void; /** Overrides accessible control labels and slide announcements. */ labels?: { carousel?: string; controlsPrev?: string; controlsNext?: string; controlsNavigation?: string; carouselRoleDescription?: string; slideRoleDescription?: string; /** Complete selector label using {current} and {total}. */ indicator?: string; /** Complete slide label using {current} and {total}. */ slide?: string; /** Complete announcement using {current}, {total}, and {author}. */ announcement?: string; }; }; /** * Use TestimonialGroup to display a collection of testimonials in a carousel format. * @see https://primer.style/brand/components/TestimonialGroup/ */ export declare const TestimonialGroup: React.ForwardRefExoticComponent & React.RefAttributes> & { testIds: { root: string; }; };