import { PaymentRequest, PaymentResponse, WalletAddressResponse } from './types'; /** * API Client for non-iframe environments * Handles direct REST API calls when SDK is not running in iframe */ export declare class APIClient { private baseURL; private authToken; private walletAddress; constructor(baseURL?: string); /** * Detect Arcadia base URL from environment or use default * Works in both browser and React Native environments */ private detectBaseURL; /** * Set authentication token (from wallet authentication) */ setAuthToken(token: string): void; /** * Set wallet address (for wallet-based auth) */ setWalletAddress(address: string): void; /** * Authenticate with wallet * Returns auth token for subsequent API calls */ authenticateWithWallet(walletAddress: string, signature: string, message: string): Promise<{ token: string; user: any; profile: any; }>; /** * Get wallet address (for non-iframe) * Requires authentication */ getWalletAddress(): Promise; /** * Send payment request via API */ sendPaymentRequest(gameId: string, request: PaymentRequest): Promise; /** * Update playtime/stats */ updatePlaytime(gameId: string, playtimeHours: number, status?: 'playing' | 'owned' | 'completed'): Promise; /** * Update online status */ updateOnlineStatus(isOnline: boolean, gameId?: string): Promise; /** * Generic request method */ private request; } //# sourceMappingURL=api-client.d.ts.map