import { StringParams } from "./common/stringParams";
/**
 * Common HTTP Response for Serverless functions
 */
export interface CloudResponse {
    /** Headers of response */
    headers?: StringParams;
    body: string;
    status: number;
    /**
     * Send response
     * @param body Body of response
     * @param status Status code for response
     * @param callback Callback to call with response
     */
    send: (body: any, status: number, callback?: Function) => void;
    /**
     * Flushes final response and signals cloud provider runtime that request is complete
     */
    flush: () => void;
}
/**
 * Cloud provider response header name.
 */
export declare const CloudProviderResponseHeader = "x-sls-cloud-provider";
