import type { File } from "../utils/file"; import { Response } from "."; import { OkHttpResponse } from "./simplePreset"; export declare class NoContentHttpResponse extends Response { constructor(info: Information); static readonly code = 204; } export declare abstract class RedirectHttpResponse extends Response { constructor(code: Code, info: Information, url: string); } export declare class MultipleChoicesHttpResponse extends RedirectHttpResponse { constructor(info: Information, url: string); static readonly code = 300; } export declare class MovedPermanentlyHttpResponse extends RedirectHttpResponse { constructor(info: Information, url: string); static readonly code = 301; } export declare class FoundHttpResponse extends RedirectHttpResponse { constructor(info: Information, url: string); static readonly code = 302; } export declare class SeeOtherHttpResponse extends RedirectHttpResponse { constructor(info: Information, url: string); static readonly code = 303; } export declare class NotModifiedHttpResponse extends RedirectHttpResponse { constructor(info: Information, url: string); static readonly code = 304; } export declare class TemporaryRedirectHttpResponse extends RedirectHttpResponse { constructor(info: Information, url: string); static readonly code = 307; } export declare class PermanentRedirectHttpResponse extends RedirectHttpResponse { constructor(info: Information, url: string); static readonly code = 308; } export declare class DownloadFileHttpResponse extends OkHttpResponse { file: File; constructor(info: Information, file: File, name?: string); }