/**
 * All parents of {@link Oas30MediaType} must implement this.
 * @author eric.wittmann@gmail.com
 * @class
 */
export interface IOas30MediaTypeParent {
    /**
     * Creates a media type.
     * @param {string} name
     * @return {Oas30MediaType}
     */
    createMediaType(name: string): Oas30MediaType;
    /**
     * Adds a media type.
     * @param {string} name
     * @param {Oas30MediaType} mediaType
     */
    addMediaType(name: string, mediaType: Oas30MediaType): any;
    /**
     * Gets a single media type by name.
     * @param {string} name
     * @return {Oas30MediaType}
     */
    getMediaType(name: string): Oas30MediaType;
    /**
     * Removes a single media type and returns it.  This may return null or undefined if none found.
     * @param {string} name
     * @return {Oas30MediaType}
     */
    removeMediaType(name: string): Oas30MediaType;
    /**
     * Gets a list of all media types.
     * @return {Oas30MediaType[]}
     */
    getMediaTypes(): Array<Oas30MediaType>;
}
import { Oas30MediaType } from './Oas30MediaType';
