// Types for ./noNetwork.mjs: the ARCHILYZER_NO_NETWORK switch. export const NO_NETWORK_ENV: "ARCHILYZER_NO_NETWORK"; export function noNetwork(env?: Record): boolean; export function isLoopbackHost(host: string | null | undefined): boolean; export class NoNetworkError extends Error { constructor(door: string, target: string); code: "ENONETWORK"; door: string; target: string; } export function assertNetworkAllowed(door: string, url: string | URL, env?: Record): void; export function guardSpawn(file: string, args: readonly string[]): { refuse: string } | { args: string[] }; export function installNoNetworkGuard(): void; export function guardShell(command: string): { refuse: string } | { args: string[] }; export function withPreload(nodeOptions: string | undefined): string; export function guardedChildEnv(env: Record): Record; export function announceNoNetwork(line: string): boolean;