import { EntityBase } from '../../common-utils/entity-base';
import { Entity } from './entity';
export declare class DataModel extends EntityBase {
    entities: Array<Entity>;
    databaseName: string;
    joinType: number;
    appVersionId: number;
    dataSourceId: number;
    type: DataModelType;
    constructor(dataModel?: DataModel, noCodeMode?: boolean, appManifest?: any);
    newDataModel(): void;
    /**function to create data model object with existing values
     *
     *@param DataModel
     */
    dataModel(dataModel: DataModel, noCodeMode?: boolean, appManifest?: any): void;
}
/**
 * DataModelType enum to set default/custom type
 */
export declare enum DataModelType {
    default = 1,
    custom = 2
}
export declare enum JoinType {
    none = 0,
    fullJoin = 1,
    innerJoin = 2,
    leftJoin = 3,
    rightJoin = 4,
    outterJoin = 5
}
