import React from 'react';
import { PropsWithHTMLElement, CommonProps } from '@contentful/f36-core';
interface CollapseInternalProps extends CommonProps {
/**
* Child nodes to be rendered in the component
*/
children?: React.ReactNode;
/**
* A boolean that tells if the accordion should be expanded or collapsed
*/
isExpanded: boolean;
/**
* string for additional classNames
*/
className?: string;
}
type CollapseProps = PropsWithHTMLElement;
declare const Collapse: ({ children, className, isExpanded, testId, ...otherProps }: CollapseProps) => React.JSX.Element;
export { Collapse, type CollapseProps };