import type { EvershopResponse } from '../../../types/response.js'; import type { HttpResult, ImportWeb } from './ImportWeb.js'; /** * Writes what a handler answered. A JSON answer is sent as it is. A stream is * piped to the response, and when it fails after the first byte the connection * is destroyed, so the browser reports a failed download and does not save a cut * file that looks whole (ยง 7.3). */ export declare function send(web: ImportWeb, response: EvershopResponse, result: HttpResult): Promise;