import { TradechatGroup } from "./groups"; export declare type LocalUser = { email: string; password: string; username: string; valid: string; validToken: string; }; export declare type FacebookUser = { id: string; token: string; email: string; name: string; }; export declare type TwitterUser = { id: string; token: string; displayName: string; username: string; }; export declare type GoogleUser = { id: string; token: string; email: string; name: string; }; export declare type SessionInfo = { token: string; expDate: Date; }; export declare type Product = { name: string; exp: Date; }; export declare type userAdminLog = { created: Date; lastLogin: Date; ipCreated: Date; log: String; }; export declare class FmeSubscription { stripeId: string; name: string; startDate: Date; lastBilling: Date; nextBilling: Date; expDate: Date; nextAmount: number; description: string; } export declare type PasswordReset = { pwd: string; time: Date; }; export declare type Penalty = { status: boolean; reason: string; date: Date; expiration: Date; log: string; banee: TradechatUser; }; export declare type TwitterKeys = { consumerKey: string; consumerSecrect: string; accessTokenKey: string; accessTokenSecret: string; }; export declare type Role = { name: string; }; export declare class LoginLog { time: Date; ipaddr: string; source: string; } export declare type StripeId = { company: string; stripeId: string; isLive: boolean; }; export declare class FmeUser { _id?: string; admin: string[]; admin_log: string[]; affiliate: string[]; ban: Penalty; color: string; company: string; facebook: FacebookUser; groups: TradechatGroup[]; google: GoogleUser; invert_color: string; kick: Penalty; keys: any[]; login_count: number; subscriptions: FmeSubscription[]; login_log: LoginLog[]; local: LocalUser; password_reset: PasswordReset; payment_log: string[]; products: string[]; role: Role; rooms: string[]; sessionInfo: SessionInfo; stripeID: string; stripeIds: StripeId[]; twitter: TwitterUser; isLive: boolean; expiredProducts: string[]; } export declare class LiteUser { _id?: string; color: string; company: string; invert_color: string; local: LocalUser; twitter: TwitterUser; isLive: boolean; role: Role; } export declare type TradechatUser = { name: string; id?: string; role: string; color: string; invert_color: string; rooms: string[]; groups: TradechatGroup[]; company: string; socketIds: string[]; room: string; };