/** * Available formats to transform models to and from */ export declare enum Encoding { Json = "json", Text = "text", Binary = "binary", FormData = "form-data" } /** * Maps a MIME type string to an Encoding. * * @param {string} mimeType - The MIME type to convert (e.g., 'application/json'). * @param {Encoding} [defaultEncoding] - The encoding to return if the MIME type isn't recognized. * @returns {Encoding} The corresponding Encoding enum value, or the defaultEncoding if not recognized. */ export declare function mimeTypeToEncoding(mimeType: string, defaultEncoding?: Encoding): Encoding;