import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; import { Server } from '../../core/models/common/Server'; /** * A command used to modify a aaiserver. * @author c.desc2@gmail.com * @extends AbstractCommand * @class */ export declare class ChangeServerCommand_Aai20 extends AbstractCommand { _serverName: string; _serverObj: any; _oldServer: any; constructor(server?: 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; /** * Replaces the content of a server with the content from another server. * @param {Server} toServer * @param {*} fromServer */ replaceServerWith(toServer: Server, fromServer: any): void; }