import { type HTMLAttributes, type ReactNode } from 'react'; import type { BaseComponentProps } from '../../types/base'; import type { KernAccordionVariant } from '../../types/components/accordion'; export interface KernAccordionItem extends BaseComponentProps { id?: string; title: string; body: ReactNode; defaultOpen?: boolean; } export interface KernAccordionProps extends BaseComponentProps, never> { /** Array of accordion items to render */ items: KernAccordionItem[]; /** Whether to render as a group (multiple accordions) or single accordion */ variant?: KernAccordionVariant; } /** * KernAccordion component - Collapsible content sections following the KERN design system * * * @example * ```tsx * // Single accordion * * * // Accordion group * * * // With rich content * *

Paragraph with bold text.

*
    *
  • List item 1
  • *
  • List item 2
  • *
* * ) * } * ]} * /> * ``` * @see https://www.kern-ux.de/komponenten/accordion/ */ declare const KernAccordion: ({ items, variant, className, ...otherProps }: KernAccordionProps) => import("react/jsx-runtime").JSX.Element; export default KernAccordion; //# sourceMappingURL=kern-accordion.d.ts.map