import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; /** * A command used to add a new channelItem in a document. Source for the new * channelItem must be provided. This source will be converted to an AAI * channelItem object and then added to the data model. * @author laurent.broudoux@gmail.com * @extends AbstractCommand * @class */ export declare class AddChannelItemCommand extends AbstractCommand { _channelItemExists: boolean; _emptyChannelItems: boolean; _newChannelItemName: string; _newChannelItemObj: any; constructor(channelItemName?: any, from?: any); /** * * @param {Document} document */ execute(document: Document): void; /** * * @param {Document} document */ undo(document: Document): void; }