import { AbstractCommand } from '../AbstractCommand';
import { CombinedVisitorAdapter } from '../../combined/visitors/CombinedVisitorAdapter';
import { Document } from '../../core/models/Document';
import { SecurityRequirement } from '../../core/models/common/SecurityRequirement';
import { OasDocument } from '../../openapi/models/OasDocument';
/**
 * A command used to rename a security scheme, along with all references to it.
 * @author eric.wittmann@gmail.com
 * @extends AbstractCommand
 * @class
 */
export declare class RenameSecuritySchemeCommand extends AbstractCommand {
    _oldSchemeName: string;
    _newSchemeName: string;
    constructor(oldSchemeName?: any, newSchemeName?: 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;
    /**
     * Does the work of renaming a path from one name to another.
     * @param {OasDocument} document
     * @param {string} from
     * @param {string} to
     * @private
     * @private
     */
    _doSecuritySchemeRename(document: OasDocument, from: string, to: string): void;
}
export declare namespace RenameSecuritySchemeCommand {
    class RenameSecuritySchemeCommand$0 extends CombinedVisitorAdapter {
        private from;
        private to;
        __parent: any;
        /**
         *
         * @param {SecurityRequirement} node
         */
        visitSecurityRequirement(node: SecurityRequirement): void;
        constructor(__parent: any, from: any, to: any);
    }
}
