/** * Network Guard - Enforces strict network boundaries per command */ import { NetworkPolicy } from '../types.js'; /** * Set offline mode globally */ export declare function setOfflineMode(offline: boolean): void; /** * Check if offline mode is enabled */ export declare function isOfflineMode(): boolean; /** * Guard that enforces network policy * Throws if network access is attempted in offline mode */ export declare function guardNetwork(operation: string): void; /** * Guarded fetch that respects offline mode */ export declare function guardedFetch(url: string, options?: RequestInit): Promise; export declare const COMMAND_NETWORK_POLICY: Record; /** * Check if a command is allowed to use network */ export declare function isNetworkAllowed(command: string): boolean; //# sourceMappingURL=network.d.ts.map