import { type ChildProcess } from "node:child_process";
export interface LiveViewSession {
    kind: "host" | "container";
    display: string;
    vncPort: number;
    websockifyPort: number;
    novncUrl: string;
    processes: ChildProcess[];
    containerName?: string;
    cdpUrl?: string;
}
/**
 * Starts Xvfb + x11vnc + websockify to make a headed browser visible via noVNC.
 * Returns a LiveViewSession with the display to set as DISPLAY env var
 * and the websocket URL the frontend can connect to.
 */
export declare function startLiveView(options?: {
    workspaceRoot?: string;
    preferContainer?: boolean;
    displayNumber?: number;
    width?: number;
    height?: number;
}): Promise<LiveViewSession>;
export declare function stopLiveView(session: LiveViewSession): Promise<void>;
//# sourceMappingURL=live-view-manager.d.ts.map