import type Content from './content.gts'; import type Header from './header.gts'; import type Trigger from './trigger.gts'; import type { WithBoundArgs } from '@glint/template'; export interface AccordionTriggerExternalSignature { Element: HTMLButtonElement; Blocks: { default: []; }; } export interface AccordionContentExternalSignature { Element: HTMLDivElement; Blocks: { default: []; }; } export interface AccordionHeaderExternalSignature { /** * Add aria-level according to the heading level where the accordion is used (default: 3). * See https://www.w3.org/WAI/ARIA/apg/patterns/accordion/ for more information. */ Element: HTMLDivElement; Blocks: { default: [ { /** * The AccordionTrigger component. */ Trigger: WithBoundArgs; }, ]; }; } export interface AccordionItemExternalSignature { Element: HTMLDivElement; Blocks: { default: [ { /** * Whether the accordion item is expanded. */ isExpanded: boolean; /** * The AccordionHeader component. */ Header: WithBoundArgs; /** * The AccordionContent component. */ Content: WithBoundArgs; }, ]; }; Args: { /** * The value of the accordion item. */ value: string; }; }