import { DomainObject } from 'domain-objects'; import Joi from 'joi'; import { Property } from './Property'; export interface Entity { name: string; properties: { [index: string]: Property; }; unique: string[]; } export declare class Entity extends DomainObject implements Entity { static schema: Joi.ObjectSchema; } export type Properties = Entity['properties'];