import Model from "../../db/Model.js"; import { ManyModelRelation } from "../../db/ModelRelation.js"; import UserEmail from "./UserEmail.js"; export default class User extends Model { /** * If true, new users are unapproved by default. */ static isApprovalMode(): boolean; readonly id?: number; main_email_id?: number; is_admin: boolean; created_at?: Date; updated_at?: Date; readonly emails: ManyModelRelation; readonly mainEmail: import("../../db/ModelRelation.js").OneModelRelation; protected init(): void; isApproved(): boolean; getPersonalInfoFields(): { name: string; value: string; }[]; }