UNPKG

@textbus/xnote

Version:

A high-performance rich text editor that supports multiplayer online collaboration.

16 lines (15 loc) 421 B
import { Controller, Selection } from '@textbus/core'; import { Signal } from '@viewfly/core'; export interface CommonState { inSourceCode: boolean; readonly: boolean; selectEmbed: boolean; } export declare class ToolService { private selection; private controller; state: Signal<CommonState>; private sub; constructor(selection: Selection, controller: Controller); destroy(): void; }