/// /// /// export declare class CloudCodeResponse { readonly headers: Headers; statusCode: number; private statusText; private bodyText; static notFound(): CloudCodeResponse; constructor(); header(key: string, value: string): this; contentType(type: string): this; status(code: number, statusText?: string): this; body(value: string | Buffer | any | null): this; error(body: string | Error | any, config?: { status?: number; }): this; finalize(): void; toJSON(): { statusCode: number; statusText: string; body: string; headers: { [header: string]: string; }; }; }