import { IsValidHeader } from '../utils/isHeaderType'; import { HttpStatusCodeLiteral, HttpStatusCodeStringLiteral, OtherValidOpenApiHttpStatusCode } from '../interfaces/response'; export declare function SuccessResponse = object>(name: string | number, description?: string, produces?: string | string[]): MethodDecorator; export declare function Response = object>(name: HttpStatusCodeLiteral | HttpStatusCodeStringLiteral | OtherValidOpenApiHttpStatusCode, description?: string, example?: ExampleType, produces?: string | string[]): MethodDecorator & ClassDecorator; /** * Inject a library-agnostic responder function that can be used to construct type-checked (usually error-) responses. * * The type of the responder function should be annotated `TsoaResponse` in order to support OpenAPI documentation. */ export declare function Res(): ParameterDecorator; /** * Overrides the default media type of response. * Can be used on controller level or only for specific method * * @link https://swagger.io/docs/specification/media-types/ */ export declare function Produces(value: string): MethodDecorator & ClassDecorator;