class Request implements APIRequest extends ServerRequestimport { Request } from "https://dotland.deno.dev/x/aleph@v0.2.28/api.ts"; ConstructorsnewRequest(req: ServerRequest,pathname: string,params: Record<string, string>,query: URLSearchParams,)Propertiesreadonlycookies: ReadonlyMap<string, string>readonlyparams: Record<string, string>readonlypathname: stringreadonlyquery: URLSearchParamsMethodsaddHeader(key: string, value: string): thisdecodeBody(type: "text"): Promise<string>decodeBody(type: "json"): Promise<any>decodeBody(type: "form-data"): Promise<FormDataBody>json(data: any,replacer?: (this: any,key: string,value: any,) => any,space?: string | number,): Promise<void>removeHeader(key: string): thissend(data: string | Uint8Array | ArrayBuffer, contentType?: string): Promise<void>setHeader(key: string, value: string): thisstatus(code: number): this