import type { PromiseResponse, ClientPlatfrom } from "@valapi/auth"; import { WebClientService } from "../client/WebClientService"; export declare namespace Session { interface Session { subject: string; cxnState: string; clientID: string; clientVersion: string; loopState: string; loopStateMetadata: string; version: number; lastHeartbeatTime: Date; expiredTime: Date; heartbeatIntervalMillis: number; playtimeNotification: string; playtimeMinutes: number; isRestricted: boolean; userinfoValidTime: Date; restrictionType: string; clientPlatformInfo: ClientPlatfrom; connectionTime: Date; shouldForceInvalidate: boolean; } interface Reconnect { reconnect: boolean; } } export declare class Session extends WebClientService { /** * @deprecated Please, Contact us if you find out how its works */ connect(subject: string): PromiseResponse; /** * @deprecated Please, Contact us if you find out how its works */ heartbeat(subject: string): PromiseResponse; /** * @deprecated Please, Contact us if you find out how its works */ disconnect(subject: string): PromiseResponse; get(subject: string): PromiseResponse; /** * ! Careful to use, Riot will immediately shut down your Project. */ reconnect(subject: string): PromiseResponse; }