declare class Entity {
    hasChanged: boolean;
    hasValidated: boolean;
    entityType: any;
    repo: any;
    uid: any;
    rawData: any;
    isSystem: any;
    validators: any;
    _isValid: boolean;
    static fields: any;
    constructor({ raw, entityType }: any, options?: any);
    onUpdateFields(options: any): void;
    onBeforeJSON(options: any): void;
    updateField(name: any, value: any): void;
    updateFields(fields: any): void;
    setDefaults(): void;
    validateAll(): boolean;
    validate(field: any): any;
    setData(raw: any): void;
    setDerivedFields(): void;
    updateRaw(): this;
    toJson(setDerived?: any): any;
}
export default Entity;
