import { Document } from '../../core/models/Document';
import { OasOperation } from '../../openapi/models/OasOperation';
import { ReplaceNodeCommand } from './ReplaceNodeCommand';
/**
 * A command used to replace an operation with a newer version.
 * @author eric.wittmann@gmail.com
 * @extends ReplaceNodeCommand
 * @class
 */
export declare class ReplaceOperationCommand extends ReplaceNodeCommand<OasOperation> {
    _method: string;
    _path: string;
    constructor(old?: any, replacement?: any);
    removeNode$io_apicurio_datamodels_core_models_Document$io_apicurio_datamodels_openapi_models_OasOperation(doc: Document, node: OasOperation): void;
    /**
     * @see io.apicurio.datamodels.cmd.commands.ReplaceNodeCommand#removeNode(io.apicurio.datamodels.core.models.Document, io.apicurio.datamodels.core.models.Node)
     * @param {Document} doc
     * @param {OasOperation} node
     */
    removeNode(doc?: any, node?: any): any;
    addNode$io_apicurio_datamodels_core_models_Document$io_apicurio_datamodels_openapi_models_OasOperation(doc: Document, node: OasOperation): void;
    /**
     * @see io.apicurio.datamodels.cmd.commands.ReplaceNodeCommand#addNode(io.apicurio.datamodels.core.models.Document, io.apicurio.datamodels.core.models.Node)
     * @param {Document} doc
     * @param {OasOperation} node
     */
    addNode(doc?: any, node?: any): any;
    /**
     * @see io.apicurio.datamodels.cmd.commands.ReplaceNodeCommand#readNode(io.apicurio.datamodels.core.models.Document, java.lang.Object)
     * @param {Document} doc
     * @param {*} node
     * @return {OasOperation}
     */
    readNode(doc: Document, node: any): OasOperation;
}
