import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; /** * A command used to create a new channel item in aa AsyncAPI document. * @author laurent.broudoux@gmail.com * @param {string} newChannel * @class * @extends AbstractCommand */ export declare class NewChannelCommand extends AbstractCommand { _newChannel: string; _channelExisted: boolean; _emptyChannels: boolean; constructor(newChannel?: any); /** * * @param {Document} document */ execute(document: Document): void; /** * * @param {Document} document */ undo(document: Document): void; }