import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; import { NodePath } from '../../core/models/NodePath'; /** * A command used to change the $ref inside an AsyncAPI message headers. * @author laurent.broudoux@gmail.com * @deprecated Use {@link ChangePropertyCommand} instead. * @extends AbstractCommand * @class */ export declare class ChangeHeadersRefCommand_Aai20 extends AbstractCommand { _operationPath: NodePath; _headersRef: string; _oldHeadersRef: string; _changed: boolean; constructor(headersRef?: any, operationNode?: any); /** * * @param {Document} document */ execute(document: Document): void; /** * * @param {Document} document */ undo(document: Document): void; isValidRef(refCandidate: string): boolean; }