/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes, PropsWithChildren } from 'react'; export type AccordionSectionProps = { /** * Whether the content is displayed initially. * @default false */ readonly defaultExpanded?: boolean; /** * Whether the content is displayed initially. * @deprecated Use the `defaultExpanded` prop instead. Will be removed on or after 2026-10-20. */ readonly expanded?: boolean; /** The heading text. */ readonly label: string; /** Callback fired when the section is expanded or collapsed. Receives the new expanded state. */ readonly onToggle?: (expanded: boolean) => void; } & Readonly>>; /** * One collapsible section within an Accordion, pairing a heading with its associated content. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-accordion--docs Accordion docs at Amsterdam Design System} */ export declare const AccordionSection: import("react").ForwardRefExoticComponent<{ /** * Whether the content is displayed initially. * @default false */ readonly defaultExpanded?: boolean; /** * Whether the content is displayed initially. * @deprecated Use the `defaultExpanded` prop instead. Will be removed on or after 2026-10-20. */ readonly expanded?: boolean; /** The heading text. */ readonly label: string; /** Callback fired when the section is expanded or collapsed. Receives the new expanded state. */ readonly onToggle?: (expanded: boolean) => void; } & Readonly>> & import("react").RefAttributes>;