/**
 * Serve Command Handler
 *
 * Starts a local HTTP + WebSocket server and opens the browser dashboard.
 * Server stack: Hono serving static files, WebSocket PTY bridge, REST API.
 *
 * @issue #711
 * @see #712 — WebSocket PTY bridge
 * @see #714 — React app scaffold
 */
import type { CommandHandler } from './types.js';
/**
 * Start the Hono HTTP server
 *
 * Uses dynamic require-style imports to avoid compile-time resolution of
 * optional deps (hono, @hono/node-server) that are not yet in package.json.
 * TypeScript sees only `unknown`-typed module shapes here.
 */
/**
 * In-process server bootstrap. Exported for tier-3 integration tests
 * (test/integration/serve-*.test.ts) so they can drive serve as a black-box
 * client without spawning a child node process. The CLI handler also calls
 * this internally — same code path, exactly one entry point.
 *
 * @see #1277 — moves the integration suite off spawn-based testing
 */
export declare function startServer(opts: {
    port: number;
    host: string;
    readOnly: boolean;
    frameworkRoot: string;
}): Promise<{
    url: string;
    close: () => void;
}>;
/**
 * Serve command handler
 */
export declare const serveHandler: CommandHandler;
//# sourceMappingURL=serve.d.ts.map