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 payload. * @author laurent.broudoux@gmail.com * @extends AbstractCommand * @class */ export declare class ChangePayloadRefCommand_Aai20 extends AbstractCommand { _operationPath: NodePath; _messagePath: NodePath; _payloadRef: string; _oldPayloadRef: string; _changed: boolean; constructor(payloadRef?: any, operationNode?: any); /** * * @param {Document} document */ execute(document: Document): void; /** * * @param {Document} document */ undo(document: Document): void; }