import { JFormData } from './JFormData'; import { Control } from './Control'; import { Row } from './Row'; /** * Object Fabric to convert json objects to javascript objects. */ export declare class ObjectFabric { /** * Get a FormData object * @param json The Json object. */ static getForm(json: any, formType: new () => T): any; /** * Get the Json from a FormData object * @param form The Form Control tree. */ static getJsonFromForm(form: T): any; /** * Get a Row object * @param json The json object the get the row from. */ static getRow(json: any): Row; /** * Get a Json from a Row object * @param row The row to serialize. */ static getJsonFromRow(row: Row): any; /** * Get a Control object * @param json The json object the get the control from. */ static getControl(json: any): Control; /** * Get the Json from an given Control * @param ctrol The Control to serialize. */ static getJsonFromControl(ctrl: Control): any; }