import React, { ReactNode } from "react"; declare enum AccordionContentType { Summary = "summary", Details = "details" } export interface AccordionContentShape { /** * Unique id for the accordion group */ id: string; /** * The content of the accordion summary. */ [AccordionContentType.Summary]: string | ReactNode; /** * The content of the accordion details. */ [AccordionContentType.Details]: string | ReactNode; } export interface AccordionProps { /** * Array of set of accordion summary and details. */ entries: AccordionContentShape[]; } declare const Accordion: React.FC; export default Accordion;