/**
 * Metrics Opt-Out Service (Stubbed)
 * 
 * This service is stubbed to always report that metrics are disabled, 
 * ensuring no telemetry or logging data is sent to external services.
 */

export type MetricsStatus = {
  enabled: boolean
  hasError: boolean
}

export async function checkMetricsEnabled(): Promise<MetricsStatus> {
  // Always return disabled for a privacy-focused environment.
  return { enabled: false, hasError: false };
}

export async function refreshMetricsStatus(): Promise<MetricsStatus> {
  return { enabled: false, hasError: false };
}

export const _clearMetricsEnabledCacheForTesting = (): void => {
  // No-op
};
