/**
 * startDaemon() — Shared daemon-spawn helper
 *
 * Contains the parent-side logic for starting the Shep web UI as a
 * detached background daemon. Used by both:
 *   - The default `shep` action (index.ts)
 *   - The `shep start` command (start.command.ts)
 *
 * Flow:
 *   1. Resolve available port (respects --port override)
 *   2. Check if daemon is already running (idempotent — print URL and return)
 *   3. Spawn the daemon with execArgv propagated (supports tsx in dev mode)
 *      {detached: true, stdio: ['ignore','ignore','pipe']} + child.unref()
 *   4. Wait briefly to confirm the child is alive; surface stderr on crash
 *   5. Write daemon.json atomically via IDaemonService
 *   6. Print formatted URL to stdout
 *   7. Open browser via IBrowserOpener (resolved from DI container)
 */
export interface StartDaemonOptions {
    port?: number;
}
/**
 * Start the Shep web UI as a detached background daemon.
 * Idempotent: if a daemon is already running, prints the existing URL and returns.
 */
export declare function startDaemon(opts?: StartDaemonOptions): Promise<void>;
//# sourceMappingURL=start-daemon.d.ts.map