sig
  class type t =
    object ('a)
      method addEvents : 'Js.t -> unit Js.meth
      method addListener :
        'Js.t ->
        'Js.callback Js.optdef ->
        'Js.t Js.optdef -> 'Js.t Js.optdef -> 'Js.t Js.meth
      method addManagedListener :
        'Js.t ->
        'Js.t ->
        'Js.callback Js.optdef ->
        'Js.t Js.optdef -> 'Js.t Js.optdef -> 'Js.t Js.meth
      method beginEdit : unit Js.meth
      method callParent : 'Js.t -> 'Js.t Js.meth
      method callSuper : 'Js.t -> 'Js.t Js.meth
      method cancelEdit : unit Js.meth
      method clearListeners : unit Js.meth
      method clearManagedListeners : unit Js.meth
      method commit :
        bool Js.t Js.optdef ->
        Js.js_string Js.t Js.js_array Js.t Js.optdef -> unit Js.meth
      method copy : Js.js_string Js.t Js.optdef -> 'Js.t Js.meth
      method destroy : 'Js.t -> 'Js.t Js.meth
      method dirty : bool Js.t Js.readonly_prop
      method editing : bool Js.t Js.readonly_prop
      method enableBubble : 'Js.t -> unit Js.meth
      method endEdit :
        bool Js.t Js.optdef ->
        Js.js_string Js.t Js.js_array Js.t Js.optdef -> unit Js.meth
      method fields : Ext_util_MixedCollection.t Js.t Js.prop
      method fireEvent : Js.js_string Js.t -> 'Js.t -> bool Js.t Js.meth
      method fireEventArgs :
        Js.js_string Js.t -> 'Js.t Js.js_array Js.t -> bool Js.t Js.meth
      method get : Js.js_string Js.t -> 'Js.t Js.meth
      method getAssociatedData : 'Js.t Js.meth
      method getChanges : 'Js.t Js.meth
      method getData : bool Js.t -> 'Js.t Js.meth
      method getId : 'Js.t Js.meth
      method getInitialConfig :
        Js.js_string Js.t Js.optdef -> 'a1 Js.t Js.meth
      method getProxy : 'b1 Js.t Js.meth
      method hasListener : Js.js_string Js.t -> bool Js.t Js.meth
      method hasListeners : 'c1 Js.t Js.readonly_prop
      method initConfig : 'd1 Js.t -> 'Js.t Js.meth
      method isModel : bool Js.t Js.prop
      method isModified : Js.js_string Js.t -> bool Js.t Js.meth
      method isObservable : bool Js.t Js.prop
      method isValid : bool Js.t Js.meth
      method join : 'e1 Js.t -> unit Js.meth
      method modified : 'f1 Js.t Js.prop
      method mon :
        'g1 Js.t ->
        'h1 Js.t ->
        'i1 Js.callback Js.optdef ->
        'j1 Js.t Js.optdef -> 'k1 Js.t Js.optdef -> 'l1 Js.t Js.meth
      method mun :
        'm1 Js.t ->
        'n1 Js.t ->
        'o1 Js.callback Js.optdef -> 'p1 Js.t Js.optdef -> unit Js.meth
      method on :
        'q1 Js.t ->
        'r1 Js.callback Js.optdef ->
        's1 Js.t Js.optdef -> 't1 Js.t Js.optdef -> 'u1 Js.t Js.meth
      method phantom : bool Js.t Js.prop
      method raw : 'v1 Js.t Js.prop
      method reject : bool Js.t Js.optdef -> unit Js.meth
      method relayEvents :
        'w1 Js.t ->
        Js.js_string Js.t Js.js_array Js.t ->
        Js.js_string Js.t Js.optdef -> 'x1 Js.t Js.meth
      method removeListener :
        Js.js_string Js.t ->
        'y1 Js.callback -> 'z1 Js.t Js.optdef -> unit Js.meth
      method removeManagedListener :
        'a2 Js.t ->
        'b2 Js.t ->
        'c2 Js.callback Js.optdef -> 'd2 Js.t Js.optdef -> unit Js.meth
      method resumeEvent : Js.js_string Js.t -> unit Js.meth
      method resumeEvents : unit Js.meth
      method save : 'e2 Js.t Js.optdef -> 'Js.t Js.meth
      method self : Ext_Class.t Js.t Js.prop
      method set :
        'f2 Js.t -> 'g2 Js.t -> Js.js_string Js.t Js.js_array Js.t Js.meth
      method setDirty : unit Js.meth
      method setId : 'h2 Js.t -> unit Js.meth
      method setProxy : 'i2 Js.t -> 'j2 Js.t Js.meth
      method statics : Ext_Class.t Js.t Js.meth
      method store : 'k2 Js.t Js.prop
      method stores : 'l2 Js.js_array Js.t Js.prop
      method suspendEvent : Js.js_string Js.t -> unit Js.meth
      method suspendEvents : bool Js.t -> unit Js.meth
      method un :
        Js.js_string Js.t ->
        'm2 Js.callback -> 'n2 Js.t Js.optdef -> unit Js.meth
      method unjoin : 'o2 Js.t -> unit Js.meth
      method validate : Ext_data_Errors.t Js.t Js.meth
    end
  class type configs =
    object
      method associations : 'Js.t Js.js_array Js.t Js.prop
      method belongsTo : 'Js.t Js.prop
      method clientIdProperty : Js.js_string Js.t Js.prop
      method defaultProxyType : Js.js_string Js.t Js.prop
      method fields : 'Js.t Js.prop
      method hasMany : 'Js.t Js.prop
      method idProperty : 'Js.t Js.prop
      method idgen : 'Js.t Js.prop
      method listeners : 'Js.t Js.prop
      method proxy : 'Js.t Js.prop
      method validations : 'Js.t Js.js_array Js.t Js.prop
    end
  class type events =
    object
      method idchanged :
        (Ext_data_Model.t Js.t -> 'Js.t -> 'Js.t -> 'Js.t -> unit)
        Js.callback Js.writeonly_prop
    end
  class type statics =
    object
      method _COMMIT : Js.js_string Js.t Js.prop
      method _EDIT : Js.js_string Js.t Js.prop
      method _REJECT : Js.js_string Js.t Js.prop
      method addMembers : 'Js.t -> unit Js.meth
      method addStatics : 'Js.t -> 'Js.t Js.meth
      method capture :
        'Js.t -> 'Js.callback -> 'Js.t Js.optdef -> unit Js.meth
      method create : 'Js.t Js.meth
      method createAlias : 'Js.t -> 'Js.t -> unit Js.meth
      method getFields : Ext_data_Field.t Js.js_array Js.t Js.meth
      method getName : Js.js_string Js.t Js.meth
      method getProxy : 'Js.t Js.meth
      method id : 'Js.t -> Js.js_string Js.t Js.meth
      method load : 'Js.t -> 'Js.t Js.optdef -> unit Js.meth
      method observe : 'Js.callback -> 'Js.t -> unit Js.meth
      method releaseCapture : 'Js.t -> unit Js.meth
      method setFields : 'Js.t -> 'Js.t -> 'Js.t -> unit Js.meth
      method setProxy : 'Js.t -> 'Js.t Js.meth
    end
  val get_static : unit -> Ext_data_Model.statics Js.t
  val static : Ext_data_Model.statics Js.t
  val getFields : unit -> Ext_data_Field.t Js.js_array Js.t
  val getProxy : unit -> 'Js.t
  val id : 'Js.t -> Js.js_string Js.t
  val load : 'Js.t -> 'Js.t Js.optdef -> unit
  val setFields : 'Js.t -> 'Js.t -> 'Js.t -> unit
  val setProxy : 'Js.t -> 'Js.t
  val of_configs : Ext_data_Model.configs Js.t -> Ext_data_Model.t Js.t
  val to_configs : Ext_data_Model.t Js.t -> Ext_data_Model.configs Js.t
end