export declare enum Method { Get = "GET", Post = "POST", Put = "PUT", Patch = "PATCH", Delete = "DELETE", Head = "HEAD", Options = "OPTIONS", Connect = "CONNECT" } export declare enum StatusCode { Continue = 100, SwitchingProtocols = 101, Ok = 200, Created = 201, Accepted = 202, NonAuthoritativeInformation = 203, NoContent = 204, ResetContent = 205, PartialContent = 206, MultipleChoices = 300, MovedPermanently = 301, Found = 302, SeeOther = 303, NotModified = 304, UseProxy = 305, TemporaryRedirect = 307, BadRequest = 400, Unauthorized = 401, PaymentRequired = 402, Forbidden = 403, NotFound = 404, MethodNotAllowed = 405, NotAcceptable = 406, ProxyAuthenticationRequired = 407, RequestTimeout = 408, Conflict = 409, Gone = 410, LengthRequired = 411, PreconditionFailed = 412, RequestEntityTooLarge = 413, RequestUriTooLong = 414, UnsupportedMediaType = 415, RequestedRangeNotSatisfiable = 416, ExpectationFailed = 417, ImATeapot = 418, UnprocessableEntity = 422, TooManyRequests = 429, InternalServerError = 500, NotImplemented = 501, BadGateway = 502, ServiceUnavailable = 503, GatewayTimeout = 504, HttpVersionNotSupported = 505 } export declare enum Header { Accept = "Accept", AcceptEncoding = "Accept-Encoding", AcceptLanguage = "Accept-Language", AccessControlAllowCredentials = "Access-Control-Allow-Credentials", AccessControlAllowHeaders = "Access-Control-Allow-Headers", AccessControlAllowMethods = "Access-Control-Allow-Methods", AccessControlAllowOrigin = "Access-Control-Allow-Origin", AccessControlExposeHeaders = "Access-Control-Expose-Headers", AccessControlMaxAge = "Access-Control-Max-Age", AccessControlRequestHeaders = "Access-Control-Request-Headers", AccessControlRequestMethod = "Access-Control-Request-Method", Authorization = "Authorization", CacheControl = "Cache-Control", CacheStatus = "Cache-Status", Connection = "Connection", ContentDisposition = "Content-Disposition", ContentEncoding = "Content-Encoding", ContentLength = "Content-Length", ContentSecurityPolicy = "Content-Security-Policy", ContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only", ContentType = "Content-Type", /** @deprecated Use XContentTypeOptions instead. */ ContentTypeOptions = "X-Content-Type-Options", Cookie = "Cookie", /** @deprecated Use XDownloadOptions instead. */ DownloadOptions = "X-Download-Options", ETag = "ETag", Forwarded = "Forwarded", /** @deprecated Use XForwardedFor instead. */ ForwardedFor = "X-Forwarded-For", /** @deprecated Use XForwardedHost instead. */ ForwardedHost = "X-Forwarded-Host", /** @deprecated Use XForwardedProto instead. */ ForwardedProtocol = "X-Forwarded-Proto", /** @deprecated Use XFrameOptions instead. */ FrameOptions = "X-Frame-Options", Host = "Host", IfNoneMatch = "If-None-Match", Location = "Location", Origin = "Origin", ReferrerPolicy = "Referrer-Policy", ServerTiming = "Server-Timing", StrictTransportSecurity = "Strict-Transport-Security", TimingAllowOrigin = "Timing-Allow-Origin", Trailer = "Trailer", TransferEncoding = "Transfer-Encoding", UserAgent = "User-Agent", WwwAuthenticate = "WWW-Authenticate", /** @deprecated Use XXhrRedirectedTo instead. */ XhrRedirectedTo = "X-XHR-Redirected-To", /** @deprecated Use XXhrReferer instead. */ XhrReferer = "X-XHR-Referer", /** @deprecated Use XXssProtection instead. */ XssProtecton = "X-XSS-Protection", XContentTypeOptions = "X-Content-Type-Options", XDownloadOptions = "X-Download-Options", XForwardedFor = "X-Forwarded-For", XForwardedHost = "X-Forwarded-Host", XForwardedProto = "X-Forwarded-Proto", XFrameOptions = "X-Frame-Options", XXhrRedirectedTo = "X-XHR-Redirected-To", XXhrReferer = "X-XHR-Referer", /** @deprecated Use XXssProtection instead. */ XXssProtecton = "X-XSS-Protection", XXssProtection = "X-XSS-Protection" } export declare enum CspDirective { ChildSrc = "child-src", ConnectSrc = "connect-src", DefaultSrc = "default-src", FontSrc = "font-src", FrameSrc = "frame-src", ImgSrc = "img-src", ManifestSrc = "manifest-src", MediaSrc = "media-src", ObjectSrc = "object-src", PrefetchSrc = "prefetch-src", ScriptSrc = "script-src", StyleSrc = "style-src", WebrtcSrc = "webrtc-src", WorkerSrc = "worker-src", BaseUri = "base-uri", PluginTypes = "plugin-types", Sandbox = "sandbox", FormAction = "form-action", FrameAncestors = "frame-ancestors", ReportUri = "report-uri", BlockAllMixedContent = "block-all-mixed-content", RequireSriFor = "require-sri-for", UpgradeInsecureRequests = "upgrade-insecure-requests" } export declare enum CspSandboxAllow { Forms = "allow-forms", SameOrigin = "allow-same-origin", Scripts = "allow-scripts", Popups = "allow-popups", Modals = "allow-modals", OrientationLock = "allow-orientation-lock", PointerLock = "allow-pointer-lock", Presentation = "allow-presentation", PopupsToEscapeSandbox = "allow-popups-to-escape-sandbox", TopNavigation = "allow-top-navigation" } export declare enum SpecialSource { Any = "*", Self = "'self'", UnsafeInline = "'unsafe-inline'", UnsafeEval = "'unsafe-eval'", None = "'none'", StrictDynamic = "'strict-dynamic'", ReportSample = "'report-sample'", Data = "data:", Blob = "blob:", FileSystem = "filesystem:" } export declare enum SriAsset { Script = "script", Style = "style" } export declare enum HashAlgorithm { Sha256 = "sha256", Sha384 = "sha384", Sha512 = "sha512" } export declare enum ResponseType { Informational = "1xx", Success = "2xx", Redirection = "3xx", ClientError = "4xx", ServerError = "5xx", Unknown = "Unknown" } export declare function getResponseType(status: number | StatusCode): ResponseType; export declare function nonceSource(nonce: string): string; export declare function hashSource(hashAlgorithm: HashAlgorithm, value: string): string; export declare enum CacheControl { NoCache = "no-cache", NoStore = "no-store", MustRevalidate = "must-revalidate", MaxAge = "max-age" } export declare const noCache: string; //# sourceMappingURL=network.d.ts.map