/** * Copyright IBM Corp. 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-types'; import { ConditionGroup } from '../ConditionBuilder.types'; interface ConditionPreviewProps { previewType: 'newGroup' | 'subGroup' | 'condition'; group: ConditionGroup; colorIndex?: number; className?: string; } declare const ConditionPreview: { ({ previewType, group, colorIndex, className, }: ConditionPreviewProps): React.JSX.Element; propTypes: { className: PropTypes.Requireable; /** * index of the color for next group */ colorIndex: PropTypes.Requireable; /** * current conditional group */ group: PropTypes.Requireable; /** * type of review to be displayed */ previewType: PropTypes.Requireable; }; }; export default ConditionPreview; //# sourceMappingURL=ConditionPreview.d.ts.map