import { ComponentPropsWithoutRef } from 'react'; import { AccordionSizes } from '@viasat/beam-shared/components/accordion'; export interface AccordionProps extends ComponentPropsWithoutRef<'div'> { /** * Specify size of an Accordion * @default 'medium' */ size?: AccordionSizes; /** * Specify heading content for the Accordion */ heading?: React.ReactNode; /** * Specify body content for the Accordion */ children: React.ReactNode; /** * Display an icon before the Accordion heading */ icon?: React.ReactNode; /** * Specify a callback when the open Accordion changes */ onToggle?: (event: React.SyntheticEvent, isOpen: boolean) => void; /** * Specify if an Accordion is open. * If this is specified, the component becomes controlled * @default false */ open?: boolean; /** * Specify if an Accordion is open by default * @default false */ defaultOpen?: boolean; } export declare const Accordion: ({ size: propSize, heading, children, icon, onToggle, open, defaultOpen, id: userId, className: userClassName, ...props }: AccordionProps) => import("react/jsx-runtime").JSX.Element;