///
import Metrics from "@sentrei/types/models/Metrics";
import Profile from "@sentrei/types/models/Profile";
declare namespace User {
type Mode = "dark" | "light" | "system";
type Language = "en" | "ja" | "zh";
type NotificationType = "app" | "email";
interface NotificationSettings {
chat: NotificationType[];
general: NotificationType[];
update: NotificationType[];
}
interface Fields extends Metrics.Fields, Profile.Fields {
email: string | null;
mode?: Mode;
language?: Language;
lastSpaceId?: string;
notificationCount: FirebaseFirestore.FieldValue | number;
notificationSettings: NotificationSettings;
role: "admin" | "moderator" | "viewer";
}
type Response = Fields;
interface Get extends Response {
uid: string;
record: number;
duration: number;
score: number;
}
interface Snapshot extends Get {
snap: firebase.firestore.DocumentSnapshot;
}
type Update = Partial;
}
export default User;
//# sourceMappingURL=User.d.ts.map