/** * 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, option, Property, statementConfig } from '../../ConditionBuilder.types'; interface ItemOptionProps { conditionState: { label?: string; value?: string; }; config: { options?: option[] | statementConfig[] | Property[]; } & { isStatement?: boolean; }; onChange: (value: string, e: Event) => void; closePopover?: () => void; group?: ConditionGroup; } export declare const ItemOption: { ({ conditionState, config, onChange, closePopover, group, }: ItemOptionProps): React.JSX.Element | undefined; propTypes: { /** * current condition object */ conditionState: PropTypes.Requireable; /** * current config object that this property is part of */ config: PropTypes.Requireable; /** * callback to update state oin date change */ onChange: PropTypes.Requireable<(...args: any[]) => any>; }; }; export {}; //# sourceMappingURL=ItemOption.d.ts.map