import { default as React, ReactNode } from 'react'; export type PanelSimpleSectionProps = { /** * The content of the PanelSection. */ children: ReactNode; /** * Translation for the aria-label of the edit IconButton. */ editButtonLabel?: string; } & ({ /** * Whether the PanelSection can be collapsed. */ isCollapsible?: false; /** * The title of the PanelSection. */ title?: ReactNode; /** * Whether the PanelSection is initially collapsed. * @default false */ isDefaultCollapsed?: never; /** * Handler that is called when the PanelSection is collapsed */ onCollapsed?: never; /** * Handler that is called when the PanelSection is collapsed */ onExtended?: never; /** * Whether the PanelSimpleSection should have opening and closing animation. * Has no effect when prefers-reduced-motion is set * @default false */ noAnimation?: never; } | { isCollapsible: true; title: ReactNode; isDefaultCollapsed?: boolean; onCollapsed?: () => void; onExtended?: () => void; /** * Whether the PanelSimpleSection should have opening and closing animation. * Has no effect when prefers-reduced-motion is set * @default false */ noAnimation?: boolean; }); export declare const PanelSimpleSection: ({ title, children, isCollapsible, isDefaultCollapsed, onCollapsed, onExtended, noAnimation, ...rest }: PanelSimpleSectionProps) => React.JSX.Element; //# sourceMappingURL=PanelSimpleSection.d.ts.map