import PropTypes from 'prop-types';
var SortingType = PropTypes.shape({
    field: PropTypes.string,
    order: PropTypes.oneOf(['asc', 'desc'])
});
var AttrType = PropTypes.shape({
    label: PropTypes.string,
    name: PropTypes.string,
    description: PropTypes.string,
    type: PropTypes.string,
    hidden: PropTypes.bool,
    faceted: PropTypes.bool,
    searchable: PropTypes.bool,
    uri: PropTypes.string,
    access: PropTypes.arrayOf(PropTypes.string),
    cardinality: PropTypes.shape({
        minValue: PropTypes.number,
        maxValue: PropTypes.number
    })
});
var QueryBuilderAttributeDataType = PropTypes.shape({
    title: PropTypes.string,
    pathToTitle: PropTypes.arrayOf(PropTypes.string),
    fieldName: PropTypes.string,
    entityTypeUri: PropTypes.string,
    attrType: AttrType,
    uri: PropTypes.string,
    groupName: PropTypes.string
});
var QueryBuilderAttributeType = PropTypes.shape({
    id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
    values: PropTypes.array,
    data: QueryBuilderAttributeDataType,
    filter: PropTypes.string,
    operator: PropTypes.string
});
export { SortingType, QueryBuilderAttributeType };
