export declare function success({ body, json, cors, statusCode, headers, }?: ResponseParameters): ApiResponse; export declare function invalid({ body, json, cors, statusCode, headers, }?: ResponseParameters): ApiResponse; export declare function custom({ body, json, cors, statusCode, headers }: CustomParameters): ApiResponse; export declare function notFound({ body, json, cors, statusCode, headers, }?: ResponseParameters): ApiResponse; export declare function notAuthorized({ body, json, cors, statusCode, headers, }?: ResponseParameters): ApiResponse; export declare function error({ body, json, cors, statusCode, headers, err, }?: ErrorParameters): ApiResponse; export declare function redirect({ url, cors, statusCode, headers }: RedirectParameters): ApiResponse; export interface ApiResponse { statusCode: number; headers: { [name: string]: any; }; body?: string; } export interface ResponseParameters { body?: any; json?: boolean; cors?: boolean; statusCode?: number; headers?: { [key: string]: any; }; } export interface CustomParameters { body?: any; json?: boolean; cors?: boolean; statusCode: number; headers?: { [key: string]: any; }; } export interface ErrorParameters { body?: any; json?: boolean; cors?: boolean; statusCode?: number; headers?: { [key: string]: any; }; err?: Error; } export interface RedirectParameters { url: string; cors?: boolean; statusCode?: number; headers?: { [key: string]: any; }; }