/** * Reactive network state store. * * This store consumes `networkService` to provide reactive state for React components. * The actual logic lives in `networkService` - this store only syncs the state. */ /** * Reactive network state store. * * Provides reactive `state.online` for UI components. * For logic (waitForOnline, offlineRetry), use `networkService` directly. * * @example * ```ts * // React component - use store for reactive state * function NetworkIndicator() { * const { online } = useStore(({ get }) => { * const [state] = get(networkStore); * return { online: state.online }; * }); * return online ? '🟢 Online' : '🔴 Offline'; * } * * // In store setup - use service for logic * setup({ get, focus }) { * const network = get(networkService); * await network.waitForOnline(); * const robustFetch = fetchUsers.use(network.offlineRetry()); * } * ``` */ export declare const networkStore: import('..').StoreSpec<{ /** Whether the network is currently online */ online: boolean; }, {}>; //# sourceMappingURL=store.d.ts.map