import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; /** * A command used to create a new message definition item in aa AsyncAPI document. * @author laurent.broudoux@gmail.com * @param {string} newName * @param {string} newDescription * @class * @extends AbstractCommand */ export declare class NewMessageDefinitionCommand extends AbstractCommand { _newName: string; _newDescription: string; _nullComponents: boolean; _defExisted: boolean; constructor(newName?: any, newDescription?: any); /** * * @param {Document} document */ execute(document: Document): void; /** * * @param {Document} document */ undo(document: Document): void; }