export function formatSourceMetricsHeader(metrics) {
    if (!metrics || metrics.platform !== "youtube")
        return null;
    return metrics.viewCount === null
        ? "YouTube views: unavailable"
        : `YouTube views: ${metrics.viewCount.toLocaleString("en-US")}`;
}
//# sourceMappingURL=source-metrics.js.map