UNPKG

@textbus/core

Version:

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

8 lines (7 loc) 457 B
import { Model } from './observe'; import { ChangeMarker } from './change-marker'; export declare function isModel(value: any): value is Model; export declare function getObserver<T extends object>(v: T): T & Model | null; export declare function getChangeMarker<T extends object>(target: T): ChangeMarker | null; export declare function attachModel(parentModel: Model, subModel: unknown): void; export declare function detachModel(...models: any[]): void;