import { IpcMainEvent } from 'electron'; import { ServerResponse, OutgoingHttpHeaders } from 'http'; export default class IpcResponse extends ServerResponse { private originalEvent; private responseId; private _sent; private _body; constructor(originalEvent: IpcMainEvent, responseId: string); writeHead(statusCode: number, statusMessage?: string, headers?: OutgoingHttpHeaders): this; writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this; end(chunk?: any, encoding?: any, cb?: any): this; write(chunk: any, _encoding?: any, _cb?: any): boolean; status(code: number): this; send(result: T): this; json(result: T): this; type(contentType: string): this; set(field: string, value: string): this; set(fields: Record): this; get(field: string): string | number | string[] | undefined; locals: Record; } //# sourceMappingURL=response.d.ts.map