UNPKG

@textbus/xnote

Version:

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

14 lines (13 loc) 374 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 { state: Signal<CommonState>; private sub; constructor(selection: Selection, controller: Controller); destroy(): void; }