UNPKG

@textbus/collaborate

Version:

Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.

10 lines (9 loc) 438 B
import { HocuspocusProvider } from '@hocuspocus/provider'; import { HocuspocusProviderConfiguration } from '@hocuspocus/provider'; import { SyncConnector } from '../base/sync-connector'; export declare class HocuspocusConnector extends SyncConnector { provide: HocuspocusProvider; constructor(config: HocuspocusProviderConfiguration); setLocalStateField(key: string, data: Record<string, any>): void; onDestroy(): void; }