import { RequestInfo , Response } from "@miniflare/core" ; import { Response as BaseResponse } from "undici" ; export interface CacheMatchOptions { ignoreMethod ? : boolean ; } export interface CachedMeta { status : number ; headers : [ string , string ] [ ] ; } export interface CacheInterface { put ( req , res ) : Promise < undefined > ; match ( req , options ? ) : Promise < Response | undefined > ; delete ( req , options ? ) : Promise < boolean > ; }