/** * @author NHN Ent. FE Development Team * @fileoverview Command factory */ import Command from "../interface/command"; /** * Create a command * @param {string} name - Command name * @param {...*} args - Arguments for creating command * @returns {Command} * @ignore */ declare function create(name: any, ...args: any[]): Command; /** * Register a command with name as a key * @param {Object} command - {name:{string}, execute: {function}, undo: {function}} * @param {string} command.name - command name * @param {function} command.execute - executable function * @param {function} command.undo - undo function * @ignore */ declare function register(command: any): void; declare const _default: { create: typeof create; register: typeof register; }; export default _default;