import { BaseService, type BaseServiceConstructor } from "../index.js"; /** * Built-in decorator that marks the content type of a response. * @param contentType The content type of the response, like 'application/pdf' or 'text/plain'. * @example ```ts * class pdfService extends Service { * @ContentType("application/pdf") * function getPdf() { * // return a pdf as ArrayBuffer or UInt8Array * } * } * ``` */ export declare function ContentType(contentType: string): (serviceInstance: BaseService | BaseServiceConstructor, property?: string) => void; /** * @returns the content type of the given service and path, if any. */ export declare function getContentType(service: BaseServiceConstructor, property: string | undefined): string | undefined;