/** * Start a live view session: launches a headless browser, navigates to appUrl, * begins capturing frames. Returns the session ID. */ export declare function startLiveView(appUrl: string, storageState?: string): Promise; /** * Get the latest frame for a session (base64 JPEG). */ export declare function getFrame(id: string): string | null; /** * Navigate the live view browser to a URL. */ export declare function liveViewNavigate(id: string, url: string): Promise; /** * Capture storageState from the live view session, close the browser, return JSON string. */ export declare function completeLiveView(id: string): Promise; /** * Send a mouse or keyboard input event to the live view browser. */ export declare function sendInput(id: string, event: { type: 'click' | 'type' | 'key'; x?: number; y?: number; button?: 'left' | 'right' | 'middle'; text?: string; key?: string; }): Promise; /** * Close a live view session without capturing. */ export declare function closeLiveView(id: string): Promise; /** * List all active session IDs (for health checks / cleanup). */ export declare function listLiveViews(): string[];