import { AbstractCommand } from '../AbstractCommand';
import { Document } from '../../core/models/Document';
/**
 * A command used to delete a response definition.
 * @author eric.wittmann@gmail.com
 * @extends AbstractCommand
 * @class
 */
export declare abstract class DeleteResponseDefinitionCommand extends AbstractCommand {
    _definitionName: string;
    _oldDefinition: any;
    constructor(definitionName?: any);
    /**
     * @see io.apicurio.datamodels.cmd.ICommand#execute(io.apicurio.datamodels.core.models.Document)
     * @param {Document} document
     */
    execute(document: Document): void;
    /**
     * @see io.apicurio.datamodels.cmd.ICommand#undo(io.apicurio.datamodels.core.models.Document)
     * @param {Document} document
     */
    undo(document: Document): void;
    /**
     * Deletes the response definition.
     * @param {Document} document
     * @return {*}
     */
    abstract doDeleteResponseDefinition(document: Document): any;
    /**
     * Restores the response definition previously deleted.
     * @param {Document} document
     * @param {*} oldDefinition
     */
    abstract doRestoreResponseDefinition(document: Document, oldDefinition: any): any;
}
