export interface LocalHostDiagnosticsProvider { uploadDiagnosticBundle?( body: Record, ): Promise> | Record; } export function hostDiagnosticsUnavailable(capability: string): Record { return { available: false, error: 'host_diagnostics_unavailable', capability, reason: 'No host diagnostics provider is registered for this local runtime owner.', }; }