import { AbstractCommand } from '../AbstractCommand'; import { ICommand } from '../ICommand'; import { Document } from '../../core/models/Document'; /** * A command used to aggregate an array of other commands into a single logical command. This is used * for example to make multiple changes as a single "undoable" change. * @author eric.wittmann@gmail.com * @extends AbstractCommand * @class */ export declare class AggregateCommand extends AbstractCommand { name: string; info: any; _commands: Array; constructor(name?: any, info?: any, commands?: any); /** * @see io.apicurio.datamodels.cmd.ICommand#execute(io.apicurio.datamodels.core.models.Document) * @param {Document} document */ execute(document: Document): void; /** * @see io.apicurio.datamodels.cmd.ICommand#undo(io.apicurio.datamodels.core.models.Document) * @param {Document} document */ undo(document: Document): void; }