import { HttpError } from '../utils/HttpErrors'; import { WebResponse } from './WebResponse'; import { CookieOptions, Cookies } from './Cookies'; import { Headers } from './Headers'; import { InternalWebRequest } from './InternalWebRequest'; import { WebApplicationSettings } from './WebApplicationSettings'; export declare abstract class InternalWebResponse implements WebResponse { private req; constructor(req: InternalWebRequest); cookies: Cookies; error: Error | HttpError | any; headers: Headers; verbose: boolean; statusCode: number; statusMessage: string; response: any; isBase64Encoded: boolean; headerSent: boolean; vary(field: string): void; redirect(url: string, alt?: string): void; cookie(name: string, value: any, options?: CookieOptions): void; clearCookie(name: string, options?: CookieOptions): void; get(name: string): string | undefined; getHeader(name: string): string | undefined; setHeader(name: string, value: string | number | string[]): void; set(name: string, value: number | string | string[]): void; append(name: string, value: number | string): void; has(name: string): boolean; remove(name: string): void; status: number; type: string; body: any; length: number; attachment(filename: string): void; lastModified: any; etag: any; is(...types: Array): string | false; }