import * as core from '../core'; /** * The base every model must inherit from. * * **https://fnx.js.org/docs/api/Model.html** */ export declare abstract class Model { /** * Creates a new state tree with the given intial value. * * **https://fnx.js.org/docs/api/Model.html** * * @param initialState The initial value of the state tree. */ constructor(snapshot: Root); protected getRoot?(): Root; applySnapshot?(snapshot: string): boolean; applySnapshot?(snapshot: object, options?: { asJSON: true; }): boolean; getSnapshot?(): any; getSnapshot?(options: { asString: true; }): string; getSnapshot?(options: { asJSON: true; }): any; applyDiffs?(diffs: core.Diff[]): boolean; use?(middleware: core.Middleware): core.Disposable; }