import { EconomicSystem, EmailCheck, Game, User } from '@gecogvidanto/shared'; import { langType } from '../locale'; import { ServerInfo } from '../tools'; export default interface DryContextType { sdata: { serverInfo: ServerInfo; captchaKey: string; }; lang: { preferences: ReadonlyArray; }; user?: { logged?: User; read(id: string): User; checkEmail(emailCheck: EmailCheck): boolean; }; game?: { current?: Game; search(): Game[]; }; economicSystems?: { search(): EconomicSystem[]; }; }