import { type ReconnectAttempt } from "./connector-autostart"; import type { ConnectorSupervisor } from "./connector-supervisor"; /** * Bring persisted connectors back under the new hub's supervision. * * Called once per daemon boot, after the supervisor has adopted whatever * survived the previous hub. Survivors still have to be *restarted* rather than * left running: their hub client authenticated against the old hub's token and * cannot re-authenticate against this one, so the process has to come back to * attach to the new session. * * Spawning itself belongs to the supervisor, which is the single authority on * how many processes may hold one connector's credentials. */ export declare function reconnectDaemonConnectors(log?: (message: string) => void, supervisor?: ConnectorSupervisor | undefined): Promise;