/** * Loopback host recognition. * * Lives in a leaf module because two unrelated faces need the same answer: the local * HTTP guard (is this request's Host/Origin the loopback interface?) and the * repo-config trust boundary (is this configured endpoint incapable of reaching the * network?). One implementation, so the two cannot disagree about what "local" means. */ /** Hostnames that denote the loopback interface (no DNS resolution involved). */ export declare const LOOPBACK_HOSTNAMES: Set; /** True if `host` is a loopback literal/name (127.0.0.0/8, ::1, localhost). */ export declare function isLoopbackHost(host: string): boolean; //# sourceMappingURL=loopback.d.ts.map