export default SelectableAccordion; /** SelectableAccordion */ declare class SelectableAccordion extends React.PureComponent { static propTypes: { /** Applied as data-hook HTML attribute that can be used in the tests */ dataHook: PropTypes.Requireable; /** A css class to be applied to the component's root element */ className: PropTypes.Requireable; /** A type can be ether radio, checkbox, or toggle, which will effect the way an accordion item is selected */ type: PropTypes.Requireable; /** An array of Accordion items: * - `title`: A title of the item * - `subtitle`: An optional second row of the header * - `content`: A content of the item * - `initiallyOpen`: Whether the item is initially open * - `open`: Whether the item is open * - `disabled`: Whether the item is disabled * - `onClick`: A callback which is invoked when item's selection is changed * */ items: PropTypes.Requireable<(PropTypes.InferProps<{ title: PropTypes.Requireable; subtitle: PropTypes.Requireable; content: PropTypes.Requireable; initiallyOpen: PropTypes.Requireable; open: PropTypes.Requireable; disabled: PropTypes.Requireable; onClick: PropTypes.Requireable<(...args: any[]) => any>; }> | null | undefined)[]>; /** Extra space on top and bottom of selectable accordion item */ verticalPadding: PropTypes.Requireable; /** A callback which is invoked every time the selection is changed */ onSelectionChanged: PropTypes.Requireable<(...args: any[]) => any>; }; static defaultProps: { type: string; items: never[]; verticalPadding: string; }; static displayName: string; static getDerivedStateFromProps({ items }: { items: any; }, state: any): any; constructor(props: any); constructor(props: any, context: any); state: { openIndices: any; }; _populateInitiallyOpenIndices(): any; _onItemChanged: (idx: any, open: any) => void; render(): React.JSX.Element; } import React from 'react'; import PropTypes from 'prop-types'; //# sourceMappingURL=SelectableAccordion.d.ts.map