import { Disposable } from "@anz-bank/vscode-sysl-model"; import { Action } from "@anz-bank/vscode-sysl-plugin"; import { Sysl } from "../tools/sysl"; /** Maintains a registry of {@link Action}s and binds them to VS Code affordances. */ declare class Actions { private readonly actions; private sysl?; activate(sysl: Sysl): Disposable; /** * Registers the "list actions" command, with a callback to invoke the selected action, and a * command of the form {@code "action:"} for each action ID to invoke it directly. */ private registerListCommand; /** Handles the invocation of an action. */ invoke(actionOrId: string | Action, args?: any[]): void; /** * Adds actions to the internal registry and registers {@code "action:"} commands to invoke * each one. */ addActions(actions: Action[]): Promise; setSysl(sysl: Sysl): void; } declare const _default: Actions; export default _default;