/** * Dashboard Client * Connects to the dashboard hub via WebSocket for real-time updates */ import type { ConnectionInfo } from './types.js'; export declare class DashboardClient { private pid; private cwd; private startedAt; private wsUrl; private ws; private reconnectAttempts; private lastAction; private getConnections; private sessionId?; private shortId?; private sessionEntryCount; private allPids; private allPpids; private ppid; private onHubDown?; private hubDownTriggered; private connected; constructor(pid: number, cwd: string, startedAt: number, hubPort: number, connectionGetter: () => ConnectionInfo[], sessionId?: string, shortId?: string, onHubDown?: () => void); connect(): Promise; private handleMessage; private handleDisconnect; disconnect(): Promise; sendHeartbeat(): void; reportAction(tool: string, connectionReference?: string): void; isConnected(): boolean; getHubUrl(): string; updateSessionEntryCount(count: number): void; updateSessionInfo(sessionId: string, shortId: string): void; getAllPids(): number[]; getAllPpids(): number[]; getSessionId(): string | undefined; getShortId(): string | undefined; getPid(): number; getPpid(): number; } //# sourceMappingURL=dashboard-client.d.ts.map