/// /** * edge-decider requirement CJS-3518: The API must not fulfill insecure requests. * It turns out, though, that requests from Cloudflare-operated hosts are almost surely * insecure (or so we've been told by support, and observe to be true). As a result, our * acceptance algorithm is: * 1) Is the request from Cloudflare? If yes, Allow. * 2) Is the request over HTTPS? If yes, Allow. * 3) Otherwise, Forbid. */ declare function evaluateHttpsRules(req: Request): { fromWorker: boolean; secure: boolean; ok: boolean; }; declare const _default: { evaluateHttpsRules: typeof evaluateHttpsRules; }; export default _default;