import { WithMongooseProps } from './with-mongoose-props'; import { Tenant } from './tenant'; import { Upload } from './upload-file'; import { GetValues } from '../constants'; export declare const UserRolesEnum: { readonly ADMIN: "admin"; readonly AST_ADMIN: "ast-admin"; readonly ADMINISTRATION_EDITOR: "administration-editor"; readonly ADMINISTRATION_APPROVAL: "administration-approval"; readonly ANNOUNCEMENT_EDITOR: "announcement-editor"; readonly ALBO_EDITOR: "albo-editor"; readonly NEWS_EDITOR: "news-editor"; readonly STATIC_EDITOR: "static-editor"; readonly DOCUMENT_EDITOR: "document-editor"; readonly USER: "user"; readonly PERSON_EDITOR: "person-editor"; }; export type UserType = GetValues; export type ApplicationRole = { [tenantId: string]: string[]; }; export type User = WithMongooseProps<{ name: string; surname: string; email: string; password: string; tenantIds: string[]; tenants: Tenant[]; lastTenantId?: string; role: UserType; profileImage?: Upload; last_login: string; applicationRoles: ApplicationRole; }>;