import { PropertyMapper } from "../../core/_internal/PropertyMapper";
import { computeProps } from "./computeProps";
import { getPropertyMap } from "./getPropertyMap";
/**
 * Convert an IGroup to a Hub Group
 * @param group
 * @param requestOptions
 */
export function convertGroupToHubGroup(group, entitySettings, requestOptions) {
    const mapper = new PropertyMapper(getPropertyMap());
    const hubGroup = mapper.storeToEntity(group, {});
    return computeProps(group, hubGroup, entitySettings, requestOptions);
}
//# sourceMappingURL=convertGroupToHubGroup.js.map