import { AbstractCommand } from '../AbstractCommand';
import { SimplifiedType } from '../models/SimplifiedType';
import { Document } from '../../core/models/Document';
import { NodePath } from '../../core/models/NodePath';
/**
 * @author eric.wittmann@gmail.com
 * @extends AbstractCommand
 * @class
 */
export declare class ChangeMediaTypeTypeCommand extends AbstractCommand {
    _mediaTypePath: NodePath;
    _mediaTypeName: string;
    _newType: SimplifiedType;
    _changed: boolean;
    _oldMediaTypeSchema: any;
    constructor(mediaType?: any, newType?: any);
    /**
     * @see io.apicurio.datamodels.cmd.ICommand#execute(io.apicurio.datamodels.core.models.Document)
     * @param {Document} document
     */
    execute(document: Document): void;
    /**
     * @see io.apicurio.datamodels.cmd.ICommand#undo(io.apicurio.datamodels.core.models.Document)
     * @param {Document} document
     */
    undo(document: Document): void;
}
