export default SegmentedToggle; declare class SegmentedToggle extends React.Component { static displayName: string; static propTypes: { /** Applies a data-hook HTML attribute that can be used in the tests */ dataHook: PropTypes.Requireable; /** Specifies the initially selected option */ defaultSelected: PropTypes.Requireable; /** Specifies whether an option is selected */ selected: PropTypes.Requireable; /** Controls the size of the segmented toggle */ size: PropTypes.Requireable; /** Defines a callback function which is called every time option is clicked. Returns a selected element and its value. */ onClick: PropTypes.Requireable<(...args: any[]) => any>; /** Specifies whether interactions are disabled. */ disabled: PropTypes.Requireable; /** Accepts or as child items to list down available options */ children: PropTypes.Validator; }; static defaultProps: { children: never[]; size: string; }; constructor(props: any); constructor(props: any, context: any); state: { selected: any; }; _onClick: (evt: any) => any; _addDividers: (childrenNodes: any, disabled: any) => any[]; render(): React.JSX.Element; } declare namespace SegmentedToggle { export { ToggleButton as Button }; export { ToggleIcon as Icon }; } import React from 'react'; import PropTypes from 'prop-types'; import ToggleButton from './ToggleButton/ToggleButton'; import ToggleIcon from './ToggleIcon/ToggleIcon'; //# sourceMappingURL=SegmentedToggle.d.ts.map