import { Document } from '../../core/models/Document'; import { IPropertySchema } from '../../core/models/common/IPropertySchema'; import { NewSchemaPropertyCommand } from './NewSchemaPropertyCommand'; /** * A command used to create a new schema property for AsyncAPI Schema * @author laurent.broudoux@gmail.com * @extends NewSchemaPropertyCommand * @class */ export declare class NewSchemaPropertyCommand_Aai20 extends NewSchemaPropertyCommand { constructor(schema?: any, propertyName?: any, description?: any, newType?: any); /** * @see io.apicurio.datamodels.cmd.ICommand#execute(Document) * @param {Document} document */ execute(document: Document): void; /** * @see io.apicurio.datamodels.cmd.ICommand#undo(Document) * @param {Document} document */ undo(document: Document): void; /** * Sets the property type. * @param {*} prop */ _setPropertyType(prop: IPropertySchema): void; }