import { IJsSchema, SimpleType } from 'luren-schema'; import 'reflect-metadata'; import { PropertyDecorator } from '../types/PropertyDecorator'; import { GenericType } from '../lib/GenericType'; export interface IResponseOptions { status?: number; type?: SimpleType | GenericType; schema?: IJsSchema; desc?: string; contentType?: string; headers?: { [name: string]: any; }; example?: any; } export declare class ResponseMetadata { status: number; type?: SimpleType | GenericType; required: boolean; schema?: IJsSchema; desc?: string; contentType?: string; headers?: { [name: string]: any; }; example?: any; constructor(status?: number); } export declare function Response(options?: IResponseOptions, mergeParentResponse?: boolean): PropertyDecorator; export interface IErrorOptions extends IResponseOptions { status: number; } export declare function ErrorResponse(options: IErrorOptions): PropertyDecorator;