import { IDictionary } from 'datx-utils'; import { Collection } from './Collection'; import { IReferences } from './interfaces/IReferences'; import { IType } from './interfaces/IType'; import { PureModel } from './PureModel'; export declare class CompatModel extends PureModel { static refs: IReferences; static defaults: IDictionary; static idAttribute?: string; static typeAttribute?: string; protected static __datxInitProps(): void; constructor(initialData: object, collection?: Collection); getRecordId(): IType; getRecordType(): IType; assign(key: string, value: any): any; assignRef(key: string, value: any, type?: IType): any; update(data: PureModel | IDictionary): object; readonly static: typeof CompatModel; toJS(): import("datx-utils").IRawModel; readonly snapshot: import("datx-utils").IRawModel; private readonly __collection; }