import * as React from "react"; import type { StyleType } from "@khanacademy/wonder-blocks-core"; import type { AccordionCornerKindType } from "./accordion"; export type TagType = "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; /** * An AccordionSection displays a section of content that can be shown or * hidden by clicking its header. This is generally used within the Accordion * component, but it can also be used on its own if you need only one * collapsible section. * * ### Usage * * ```jsx * import { * Accordion, * AccordionSection * } from "@khanacademy/wonder-blocks-accordion"; * * // Within an Accordion * * * This is the information present in the first section * * * This is the information present in the second section * * * This is the information present in the third section * * * * // On its own, controlled * const [expanded, setExpanded] = React.useState(false); * * This is the information present in the standalone section * * * // On its own, uncontrolled * * This is the information present in the standalone section * * ``` */ declare const AccordionSection: React.ForwardRefExoticComponent & Readonly<{ role?: import("@khanacademy/wonder-blocks-core").AriaRole; }> & { /** * The unique identifier for the accordion section. */ id?: string; /** * The content to display when this section is shown. If a string is * passed in, it will automatically be given Body typography from * Wonder Blocks Typography. */ children: string | React.ReactElement; /** * The header for this section. A string is given Heading typography and * the standard header spacing; a React element is rendered as-is. * * NOTE: this content renders inside a `