/**
 * Main daemon entry point.
 *
 * Orchestrates the full startup sequence per PRD § 3:
 *   Phase 1: Local Init (config dirs, SQLite, control plane, PID file)
 *   Phase 2: Authentication (check/refresh tokens, login if needed)
 *   Phase 3: Connect to Gateway (WebSocket, daemon_register, file watchers)
 *
 * And the shutdown sequence:
 *   1. Stop accepting new requests
 *   2. Kill running Claude/command processes
 *   3. Close file watchers
 *   4. Send disconnect to gateway
 *   5. Close WebSocket
 *   6. Close SQLite connection
 *   7. Remove PID file
 *   8. Exit
 */
/**
 * Start the daemon with the full startup sequence.
 */
export declare function startDaemon(): Promise<void>;
//# sourceMappingURL=daemon.d.ts.map