/**
 * 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 { Condition, PropertyConfigText, PropertyConfigTextArea } from '../../ConditionBuilder.types';
interface ConditionBuilderItemTextProps {
    conditionState: Condition;
    config: PropertyConfigText | PropertyConfigTextArea;
    onChange: (value: string) => void;
    type: 'textarea' | 'text';
}
export declare const ConditionBuilderItemText: {
    ({ conditionState, onChange, config, type, }: ConditionBuilderItemTextProps): React.JSX.Element;
    propTypes: {
        /**
         * current condition object
         */
        conditionState: PropTypes.Requireable<object>;
        /**
         * config of the current property
         */
        config: PropTypes.Requireable<object>;
        /**
         * callback to update state oin date change
         */
        onChange: PropTypes.Requireable<(...args: any[]) => any>;
        /**
         * current input type
         */
        type: PropTypes.Requireable<string>;
    };
};
export {};
//# sourceMappingURL=ConditionBuilderItemText.d.ts.map