import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; import { NodePath } from '../../core/models/NodePath'; /** * A command used to create a new http header. * @author vvilerio * @extends AbstractCommand * @class */ export declare class NewHeaderCommand extends AbstractCommand { _nodePath: NodePath; _name: string; _newHeader: any; _created: boolean; constructor(parent?: any, name?: any); /** * @see io.apicurio.datamodels.cmd.ICommand#execute(Document) * @param {Document} document */ execute(document: Document): void; /** * @see io.apicurio.datamodels.cmd.ICommand#undo(Document) * @param {Document} document */ undo(document: Document): void; }