import { CoreEvent, IDisposable, IInjectable } from "@tandem/common"; import { IDispatcher } from "@tandem/mesh"; export interface IWorkspaceTool extends IDispatcher, IDisposable { readonly editor: any; readonly name: string; readonly cursor: string; } export declare abstract class BaseEditorTool implements IWorkspaceTool, IInjectable { readonly editor: any; abstract name: string; readonly cursor: string; constructor(editor: any); dispose(): void; dispatch(message: CoreEvent): any; } export interface IHistoryItem { use(): void; }