import { UserId } from 'teambition-types'; export interface UserEmail { email: string; state: number; _id: string; id: string; } export interface UserPaymentPlan { _objectId: UserId; expired: string | null; isExpired: boolean; membersCount: number; objectType: 'user'; paidCount: number; status: string; } export declare type StrikerToken = string & { kind: 'StrikerToken'; }; export declare type TcmToken = string & { kind: 'TcmToken'; }; export interface UserMe { _id: UserId; openId?: string; email: string; name: string; avatarUrl: string; language: string; created: string; crossNotify: { badge: number; }; title: string; birthday?: string; location?: string; phone: string; isActive?: boolean; isGhost?: boolean; isRobot?: boolean; website?: string; pinyin: string; py: string; isNew?: boolean; plan: UserPaymentPlan; notification?: { comment: { mobile: boolean; email: boolean; }; newpost: { mobile: boolean; email: boolean; }; newtask: { mobile: boolean; email: boolean; }; newwork: { mobile: boolean; email: boolean; }; newevent: { mobile: boolean; email: boolean; }; involve: { mobile: boolean; email: boolean; }; update: { mobile: boolean; email: boolean; }; daily: { mobile: boolean; email: boolean; }; monthly: { mobile: boolean; email: boolean; }; }; lastEntered: { web?: string; ios?: string; android?: string; third: string; }; locationByIP: { country: string; region: string; city: string; }; aliens?: any[]; strikerAuth: StrikerToken; phoneForLogin?: string; enabledGoogleTwoFactor?: boolean; emails: UserEmail[]; tcmToken: TcmToken; badge: number; normal?: number; ated: number; later: number; private?: number; inbox: number; hasNormal?: boolean; hasAted?: boolean; hasLater?: boolean; hasPrivate?: boolean; calLink?: string; taskCalLink?: string; joinedProjectsCount: number; region: string; } export interface UserSchema extends UserMe { } declare const _default: void; export default _default;