export interface HubStatus { running: boolean; port: number; agentCount: number; agents: string[]; } /** * Check if the hub is running and get its status. * Uses a probe-only connection (no registration) to avoid polluting the * presence list seen by all connected agents. */ export declare function checkHubStatus(hubUrl: string): Promise; /** * Start the hub as a background process */ export declare function startHubBackground(port: number): void; /** * Kill the running hub process (using saved PID or port scan). */ export declare function stopHub(port: number): void; /** * Ensure hub is running, start it if not. * If force=true, kill any existing hub first to flush stale agents. */ export declare function ensureHubRunning(hubUrl: string, force?: boolean): Promise; //# sourceMappingURL=hub-manager.d.ts.map