import React from "react"; import { MarginProps } from "styled-system"; import { TagProps } from "../../../__internal__/utils/helpers/tags"; type AccordionGroupChild = React.ReactElement | boolean | null | undefined | Array; /** * @deprecated This component is deprecated and will be removed in a future release. Wrapping a group of Accordions in AccordionGroup is no longer required. */ export interface AccordionGroupProps extends MarginProps, TagProps { /** An Accordion or list of Accordion components to be rendered inside the AccordionGroup */ children?: AccordionGroupChild; } export declare const AccordionGroup: { ({ children, ...rest }: AccordionGroupProps): React.JSX.Element; displayName: string; }; export default AccordionGroup;