/** * @fileoverview ThingsBoard Client - Unified * @description Unified client that handles both connection management and DataSource creation * @author XCON Studio */ import { BaseConnectionManager } from '@xcons/datasource'; import { ThingsBoardConnectionConfig } from './types'; /** * Unified ThingsBoard Client * Combines connection management and DataSource factory functionality */ export declare class ThingsBoardClient extends BaseConnectionManager { private currentUser; constructor(config: ThingsBoardConnectionConfig, eventEmitter?: (eventType: any, data: any) => void); /** * Perform ThingsBoard authentication */ protected performAuthentication(): Promise; /** * Validate ThingsBoard connection by getting user info */ protected validateConnection(): Promise; /** * Get authentication headers for ThingsBoard */ protected getAuthHeaders(): Record; /** * Validate ThingsBoard specific configuration */ protected validateConfig(): void; /** * Make ThingsBoard API request with proper URL building and error handling */ makeThingsBoardRequest(method: string, endpoint: string, data?: any, requireAuth?: boolean): Promise; /** * Get current user information (cached after validation) */ getCurrentUser(): Promise; /** * Refresh authentication token (if refresh token is available) */ refreshAuthToken(): Promise; /** * Authenticate using username and password */ private authenticateWithCredentials; /** * Override disconnect to clear cached data */ disconnect(): Promise; } //# sourceMappingURL=thingsboard-client.d.ts.map