/** * Dev server detection, startup, and management for visual validation. * Detects dev commands from package.json and starts a local dev server * with automatic port detection and readiness polling. */ import { type ResultPromise } from 'execa'; export interface DevServerInfo { url: string; port: number; process: ResultPromise; kill: () => Promise; } /** * Detect the dev command and likely port from package.json. */ export declare function detectDevCommand(cwd: string): { command: string; args: string[]; port: number; } | null; /** * Start a dev server, wait for it to be ready, and return a handle. * Returns null if no dev command is detected or the server fails to start. */ export declare function startDevServer(cwd: string, timeoutMs?: number): Promise; //# sourceMappingURL=dev-server.d.ts.map