import type { OpenAPIMediaType } from '../types/index.js';
import type { OpenAPIParser, Options } from '../services/index.js';
import type { MediaTypeModel, ResponseModel, OperationModel } from './types.js';
/**
 * @param parser
 * @param name
 * @param isRequestType needed to know if skip RO/RW fields in objects
 * @param info
 * @param options
 * @param operation
 * @param type
 * @param response
 */
export declare function getMediaType(parser: OpenAPIParser, name: string, isRequestType: boolean, info: OpenAPIMediaType, options: Options, { operation, type, response, absolutePointer, }: {
    operation: OperationModel;
    type?: 'request' | 'response';
    response?: ResponseModel;
    absolutePointer?: string;
}): MediaTypeModel;
