/// import SteamUser from 'steam-user'; import GlobalOffensive from 'globaloffensive'; import { EventEmitter } from 'events'; export interface SteamBotConfig { accountName: string; password: string; sharedSecret: string; } export interface BotRequestConfig { requestTTL?: number; requestDelay?: number; httpProxy?: string; } export declare const DEFAULT_BOT_REQUEST_CONFIG: BotRequestConfig; export declare enum BotState { LoggedOut = 0, Ready = 1, Busy = 2 } export interface CSGOItem { accountid: null; itemid: string; defindex: number; paintindex: number; rarity: number; quality: number; paintwear: number | string; paintseed: number; killeaterscoretype: any; killeatervalue: any; customname: any; inventory: number; origin: number; questid: any; dropreason: any; musicindex: any; entindex: any; stickers: any[]; } export declare class Bot extends EventEmitter { private steamBotConfig; private requestConfig; private reloginInterval; private reloginAttempts; state: BotState; steamClient: SteamUser; csgoClient: GlobalOffensive; constructor(steamBotConfig: SteamBotConfig, requestConfig?: BotRequestConfig); login(): void; onLoginError(err: any): void; onDisconnected(eresult: any, msg: any): void; onLoggedIn(): any; onConnectedToGC(): void; onDisconnectedFromGC(): void; onConnectionStatus(status: any): void; onDebug(msg: any): void; onInspectItemInfo(itemData: any): void; inspectItem(inspectLink: string): Promise; }