import { Aai20Document } from '../../asyncapi/v2/models/Aai20Document'; import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; /** * A command used to add a new definition in a document. Source for the new * definition must be provided. This source will be converted to an AAI * definition object and then added to the data model. * @author laurent.broudoux@gmail.com * @extends AbstractCommand * @class */ export declare class AddSchemaDefinitionCommand_Aai20 extends AbstractCommand { _defExisted: boolean; _newDefinitionName: string; _newDefinitionObj: any; _nullComponents: boolean; constructor(definitionName?: any, from?: any); /** * * @param {Document} document */ execute(document: Document): void; /** * * @param {Document} document */ undo(document: Document): void; defExists(document: Aai20Document): boolean; }