/// <reference types="node" />
import { HTTPRedirect, HTTPResponse, ResponseHeaders, ResponseBody } from './index';
import { Download, Downloadable } from './download';
import { ReadStream } from 'fs';
export declare class HTTPResponder {
    reply(response: ResponseBody, headers?: ResponseHeaders, status?: number): Promise<HTTPResponse<any>>;
    protected redirect(path: string, status?: 302 | 301, headers?: ResponseHeaders): HTTPRedirect;
    protected download(download: Downloadable, fileName?: string, mimetype?: string): Download<string | ReadStream | Buffer>;
}
