import { AbstractModel } from './abstract-model'; export declare enum UserRoles { User = "user", Admin = "admin" } export declare class User extends AbstractModel { guid: string; email: string; role: UserRoles; firstname: string; lastname: string; localeId: number; readonly id: number; password: string | null; registered: Date; updated: Date; needPasswordUpdate: boolean; needTermsAgree: boolean; needConfirm: boolean; registrationConfirmationCode?: string; constructor(guid: string, email: string, role: UserRoles, firstname: string, lastname: string, localeId: number); static tableName: string; static jsonSchema: { type: string; required: string[]; properties: { id: { type: string; }; guid: { type: string; minLength: number; maxLength: number; }; email: { type: string; }; role: { type: string; enum: UserRoles[]; }; firstname: { type: string; }; lastname: { type: string; }; }; }; }