import { BaseField } from '@dvn/core/doldurma/src/BaseField';
/**
 * Returns the display value for the field.
 * @param model
 * @param field
 * @param fieldId is used if the value is wrapped. Ex: { field: 'user', fieldId: 'user.firstName' }
 */
export declare const getDataModelFieldDisplayValue: (model: any, field: BaseField, fieldId?: string) => any;
export declare function getDataModelField<T>(model: any, fieldId: string): T;
export declare class DataModel {
  _id?: string;
  _created: Date;
  _updated: Date;
  _revision: number;
  [key: string]: any;
  static decode(json: any): DataModel;
  toObject(): any;
  static decodeList: (data?: Array<any>) => DataModel[];
}
