import { Diagnostic, ModelProperty, Program } from "@cadl-lang/compiler"; /** * Check if the given model property is the content type header. * @param program Program * @param property Model property. * @returns True if the model property is marked as a header and has the name `content-type`(case insensitive.) */ export declare function isContentTypeHeader(program: Program, property: ModelProperty): boolean; /** * Resolve the content types from a model property by looking at the value. * @property property Model property * @returns List of contnet types and any diagnostics if there was an issue. */ export declare function getContentTypes(property: ModelProperty): [string[], readonly Diagnostic[]]; //# sourceMappingURL=content-types.d.ts.map