function renderWithHighlights(value, highlights, highlightString) {
    const openingDelimiter = '_openingDelimiter_';
    const closingDelimiter = '_closingDelimiter_';
    const highlightedValue = highlightString({
        content: value,
        openingDelimiter,
        closingDelimiter,
        highlights
    });
    return highlightedValue.replace(new RegExp(openingDelimiter, 'g'), '<b>').replace(new RegExp(closingDelimiter, 'g'), '</b>');
}
export { renderWithHighlights };
