export declare class ControllerResponse { } export interface Controller { handle(input: IN): Promise; } export declare class RoutedJSXResponse extends ControllerResponse { renderContext: { url?: string; }; jsx: any; constructor(renderContext: { url?: string; }, jsx: any); } export declare class JSXResponse extends ControllerResponse { jsx: any; constructor(jsx: any); } export declare class JsonResponse extends ControllerResponse { body: any; constructor(body: any); } export declare class TextResponse extends ControllerResponse { body: string; constructor(body: string); } export declare class RedirectResponse extends ControllerResponse { newUrl: string; constructor(newUrl: string); } export declare class NegotiatedResponse extends ControllerResponse { typeMapping: { [key: string]: ControllerResponse; }; constructor(typeMapping: { [key: string]: ControllerResponse; }); } export declare class StatusResponse extends ControllerResponse { status: number; delegate: ControllerResponse; constructor(status: number, delegate: ControllerResponse); } export declare class FileAttachmentResponse extends ControllerResponse { attachment: { filename: string; data: Buffer; contentType: string; }; constructor(attachment: { filename: string; data: Buffer; contentType: string; }); } export declare class BinaryFileAttachmentResponse extends FileAttachmentResponse { }