import { AbstractCommand } from '../AbstractCommand';
import { Document } from '../../core/models/Document';
/**
 * A command used to delete a security scheme.
 * @author eric.wittmann@gmail.com
 * @extends AbstractCommand
 * @class
 */
export declare abstract class DeleteSecuritySchemeCommand extends AbstractCommand {
    _schemeName: string;
    _oldScheme: any;
    constructor(schemeName?: 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 scheme.
     * @param {Document} document
     * @return {*}
     */
    abstract doDeleteScheme(document: Document): any;
    /**
     * Restores the previously deleted scheme.
     * @param {Document} document
     * @param {*} oldScheme
     */
    abstract doRestoreScheme(document: Document, oldScheme: any): any;
}
