import { Document } from '../../core/models/Document';
import { OasPathItem } from '../../openapi/models/OasPathItem';
import { ReplaceNodeCommand } from './ReplaceNodeCommand';
/**
 * A command used to replace a path item with a newer version.
 * @author eric.wittmann@gmail.com
 * @extends ReplaceNodeCommand
 * @class
 */
export declare class ReplacePathItemCommand extends ReplaceNodeCommand<OasPathItem> {
    _pathName: string;
    constructor(old?: any, replacement?: any);
    removeNode$io_apicurio_datamodels_core_models_Document$io_apicurio_datamodels_openapi_models_OasPathItem(doc: Document, node: OasPathItem): 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 {OasPathItem} node
     */
    removeNode(doc?: any, node?: any): any;
    addNode$io_apicurio_datamodels_core_models_Document$io_apicurio_datamodels_openapi_models_OasPathItem(doc: Document, node: OasPathItem): 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 {OasPathItem} 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 {OasPathItem}
     */
    readNode(doc: Document, node: any): OasPathItem;
}
