export interface UseNetworkStateOptions { checkUrl?: string; checkIntervalMs?: number; debounceMs?: number; timeoutMs?: number; } export interface OnlineState { isOnline: boolean; isChecking: boolean; error: string | null; } export declare const useNetworkState: (options?: UseNetworkStateOptions) => OnlineState;