/** * Network Diagnostics Utility for Onairos SDK * * Use this to diagnose network issues with OAuth flows. * * Usage: * ```typescript * import { runFullDiagnostics } from '@onairos/react-native'; * * const results = await runFullDiagnostics(); * console.log(results); * ``` */ export interface DiagnosticResult { timestamp: string; platform: string; platformVersion: string | number; tests: { googleReachable: boolean; apiReachable: boolean; apiPostWorks: boolean; youtubeOAuthWorks: boolean; }; errors: string[]; recommendations: string[]; rawResults: any; } /** * Run comprehensive network diagnostics * Call this to test if the SDK can connect to required services */ export declare const runFullDiagnostics: () => Promise; /** * Quick connectivity check - returns true if API is reachable */ export declare const isApiReachable: () => Promise; /** * Get a simple status string for display to users */ export declare const getNetworkStatus: () => Promise<'online' | 'offline' | 'api_unreachable'>; //# sourceMappingURL=networkDiagnostics.d.ts.map