import PropTypes from 'prop-types';
type EditableItemProps = PropTypes.InferProps<typeof editableItemPropTypes>;
declare const EditableItem: {
    ({ className, isEditable, isEditing: isEditingInitial, onClick, onClickAway, onCancel, onSave, value: initialValue, }: EditableItemProps): JSX.Element;
    propTypes: {
        className: PropTypes.Requireable<string>;
        isEditable: PropTypes.Requireable<boolean>;
        isEditing: PropTypes.Requireable<boolean>;
        onClick: PropTypes.Requireable<(...args: any[]) => any>;
        onSave: PropTypes.Validator<(...args: any[]) => any>;
        onClickAway: PropTypes.Requireable<(...args: any[]) => any>;
        onCancel: PropTypes.Requireable<(...args: any[]) => any>;
        value: PropTypes.Validator<string>;
    };
    defaultProps: {
        className: string;
        isEditable: boolean;
        isEditing: boolean;
        onClick: () => void;
        onClickAway: () => void;
        onCancel: () => void;
    };
};
declare const editableItemPropTypes: {
    className: PropTypes.Requireable<string>;
    isEditable: PropTypes.Requireable<boolean>;
    isEditing: PropTypes.Requireable<boolean>;
    onClick: PropTypes.Requireable<(...args: any[]) => any>;
    onSave: PropTypes.Validator<(...args: any[]) => any>;
    onClickAway: PropTypes.Requireable<(...args: any[]) => any>;
    onCancel: PropTypes.Requireable<(...args: any[]) => any>;
    value: PropTypes.Validator<string>;
};
export default EditableItem;
//# sourceMappingURL=index.d.ts.map