/********************************************************************************
 * Copyright (c) 2023 EclipseSource and others.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the Eclipse
 * Public License v. 2.0 are satisfied: GNU General Public License, version 2
 * with the GNU Classpath Exception which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
 ********************************************************************************/
import { Action } from '@eclipse-glsp/sprotty';
/**
 * Action to enable the tools of the specified `toolIds`.
 */
export interface EnableToolsAction extends Action {
    kind: typeof EnableToolsAction.KIND;
    toolIds: string[];
}
export declare namespace EnableToolsAction {
    const KIND = "enable-tools";
    function is(object: unknown): object is EnableToolsAction;
    function create(toolIds: string[]): EnableToolsAction;
}
/**
 * Action to disable the currently active tools and enable the default tools instead.
 */
export interface EnableDefaultToolsAction extends Action {
    kind: typeof EnableDefaultToolsAction.KIND;
}
export declare namespace EnableDefaultToolsAction {
    const KIND = "enable-default-tools";
    function is(object: unknown): object is EnableToolsAction;
    function create(): EnableDefaultToolsAction;
}
/** A tool that can be managed by a `ToolManager`.
 */
export interface Tool {
    readonly id: string;
    enable(): void;
    disable(): void;
    /** Optional flag indicating wether this tool is an edit tool.
     *  Edit tools are inactive when a diagram is in `readonly` edit mode.
     */
    isEditTool?: boolean;
}
export declare namespace Tool {
    function is(object: unknown): object is Tool;
}
//# sourceMappingURL=tool.d.ts.map