export interface BrokerSupervisorConfig { /** argv for the broker. command[0] must be an absolute path to an executable. */ command?: string[]; } /** True when the broker answers /health. Never throws. */ export declare function isBrokerHealthy(timeoutMs?: number): Promise; /** * Why a configured command cannot be used, or null when it can. Absolute paths * only, for the same reason as extensions.allow: a bare name would be resolved * against whatever PATH launchd handed the daemon, which is not the user's. */ export declare function validateBrokerCommand(command: unknown): string | null; /** * Keep the broker up. Returns a stop function that ends supervision; it * deliberately leaves a running broker running (see header). */ export declare function startBrokerSupervisor(config: BrokerSupervisorConfig | undefined, opts?: { checkMs?: number; logDir?: string; }): () => void; //# sourceMappingURL=peerBrokerSupervisor.d.ts.map