import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; import { NodePath } from '../../core/models/NodePath'; /** * A command used to add an OneOf value in operation. * * @author vvilerio * @extends AbstractCommand * @class */ export declare class AddOneOfInMessageCommand extends AbstractCommand { _parentPath: NodePath; _newOneOf: any; _oldMessage: any; constructor(message?: any, parentMessage?: 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; }