import { BlockDefinition, ResolvableArray, ResolvableNumber, ResolvableBoolean, ResolvableString, EvaluatedBlock, } from '@ministryofjustice/hmpps-forge/core/components' import { nunjucksComponent } from '../../utils/nunjucksComponent' import { normaliseGovukTextHtmlContent } from '../../utils/govukParamNormalisers' /** * Heading configuration for an accordion section. * Displays as the clickable header that expands/collapses the section. */ export interface AccordionItemHeading { /** Plain text content for the heading. Required unless html is provided. */ text?: ResolvableString /** * HTML content for the heading. Takes precedence over text. * Note: The header is inside a `