export interface PsychoKeyConfig { app: string; apiSecret: string; baseUrl?: string; version?: string; requireV2?: boolean; } export interface PsychoLicense { id: number; status: string; durationDays: number; durationSeconds: number; maxHwids: number; activatedAt: string; expiresAt: string; daysLeft: number; secondsLeft: number; lifetime: boolean; } export interface PsychoResult { ok: boolean; code: string; message: string; token: string; retryAfter: number; latestVersion: string; downloadUrl: string; variables: Record; license: PsychoLicense; } export class PsychoKey { constructor(config: PsychoKeyConfig); hwid(): string; getVar(key: string, defaultValue?: string): string; init(): Promise; auth(licenseKey: string): Promise; heartbeat(): Promise; logout(): Promise; resetHwid(licenseKey: string): Promise; }