/** * Network Service * Provides unified API communication layer */ export interface NetworkServiceConfig { baseUrl: string; log?: (message: string, data?: any) => void; timeout?: number; } export interface ApiResponse { data: T; status: number; ok: boolean; } export declare class NetworkService { private config; constructor(config: NetworkServiceConfig); /** * Make a POST request to the Boxo Platform API */ post(endpoint: string, data: Record, options?: RequestInit): Promise>; /** * Make a GET request to the Boxo Platform API */ get(endpoint: string, params?: Record, options?: RequestInit): Promise>; /** * Parse response body */ private parseResponse; /** * Check if response is successful */ isSuccess(response: ApiResponse): boolean; } //# sourceMappingURL=networkService.d.ts.map