import * as rjsf from '@rjsf/core'; import { ISignal } from '@lumino/signaling'; import { JSONObject, JSONValue } from '@lumino/coreutils'; import { VDomModel } from '@jupyterlab/apputils'; import { RenderedMarkdown } from '@jupyterlab/rendermime'; export declare class SchemaFormModel extends VDomModel { constructor(schema: JSONObject, props?: Partial>, options?: SchemaFormModel.IOptions); /** * Get the validation errors for the current form, as defined by the schema */ get errors(): rjsf.AjvError[]; /** * Set the validation errors for the current form * * This should be considered read-only (to be written by the form onChange) */ set errors(errors: rjsf.AjvError[]); /** * Get the (potentially invalid) form as validated by the schema */ get formData(): T; /** * Set the form data to be validated by the schema */ set formData(formData: T); /** * Get the (potentially invalid) form as validated by the schema */ get schema(): JSONObject; /** * Set the form data to be validated by the schema */ set schema(schema: JSONObject); set uiSchema(uiSchema: rjsf.UiSchema | undefined); get uiSchema(): rjsf.UiSchema | undefined; /** * Get the props for the form */ get props(): Partial>; /** * Set the props for the form */ set props(props: Partial>); get errorsObserved(): boolean; set errorsObserved(errorsObserved: boolean); get rendered(): ISignal, void>; emitRenderered(): void; get markdown(): RenderedMarkdown | null; get liveMarkdown(): boolean; set liveMarkdown(liveMarkdown: boolean); private _formData; private _errors; private _schema; private _props; private _errorsObserved; private _rendered; private _markdown; private _liveMarkdown; } export declare namespace SchemaFormModel { interface IOptions { markdown?: RenderedMarkdown; liveMarkdown?: boolean; } }