//TODO: check if this is duplicit in output js bundle
/**
 * Gets component inputs relations metadata or undefined if not exists
 * @param relations - All available relations metadata
 */
export function getInputs(relations) {
    return relations.find(itm => itm.package == 'custom-components' && itm.name == 'componentInputs');
}
/**
 * Gets component outputs relations metadata or undefined if not exists
 * @param relations - All available relations metadata
 */
export function getOutputs(relations) {
    return relations.find(itm => itm.package == 'custom-components' && itm.name == 'componentOutputs');
}
//# sourceMappingURL=customComponent.utils.js.map