/** * @license * Copyright 2026 Qwen * SPDX-License-Identifier: Apache-2.0 */ import { type StartupOptions } from './startup.js'; /** Only a CLI daemon owner takes this lock; the Host never holds it over spawn. */ export declare function withDaemonStartupLock(discoveryPath: string, callback: () => Promise, options?: StartupOptions): Promise;