/**
 * useNetworkStatus Hook
 * Detects online/offline status and network quality
 */
/**
 * Network status return type
 */
export interface NetworkStatusReturn {
    /** Whether the browser is currently online */
    isOnline: boolean;
    /** Whether the browser was offline and just came back online */
    wasOffline: boolean;
    /** Network effective type (if available via Network Information API) */
    effectiveType?: "slow-2g" | "2g" | "3g" | "4g";
    /** Estimated downlink speed in Mbps (if available) */
    downlink?: number;
    /** Round-trip time estimate in ms (if available) */
    rtt?: number;
    /** Whether data saver mode is enabled (if available) */
    saveData?: boolean;
}
/**
 * Hook for detecting online/offline status and network quality
 *
 * @example
 * const { isOnline, wasOffline, effectiveType } = useNetworkStatus();
 *
 * // Process queued actions when coming back online
 * useEffect(() => {
 *   if (wasOffline && isOnline) {
 *     processQueuedActions();
 *   }
 * }, [wasOffline, isOnline]);
 *
 * // Show quality indicator
 * if (effectiveType === 'slow-2g' || effectiveType === '2g') {
 *   return <SlowNetworkWarning />;
 * }
 */
export declare const useNetworkStatus: () => NetworkStatusReturn;
