import { DetailedReport, SessionState } from '../types'; export interface UIOptions { /** * UI theme ('light' or 'dark') * @default 'light' */ theme?: 'light' | 'dark'; /** * Whether to automatically expand failed tests * @default true */ expandFailures?: boolean; /** * Whether to show console logs * @default true */ showConsoleLogs?: boolean; /** * Whether to render the sessions sidebar view * @default true */ renderSessionsView?: boolean; /** * Callback when a session is selected */ onSessionSelect?: (sessionLabel: string) => void; } /** * Factory function to create a new MultiSessionRunnerUI instance * @param containerId ID of the container element * @param options UI options * @returns MultiSessionRunnerUI instance */ export declare function createMultiSessionRunnerUI(containerId: string, options?: UIOptions): MultiSessionRunnerUI; /** * Main UI class for rendering multi-session test results */ export declare class MultiSessionRunnerUI { private container; private options; private sessionsView; /** * Creates a new MultiSessionRunnerUI instance * @param containerId ID of the container element * @param options UI options */ constructor(containerId: string, options?: UIOptions); /** * Initialize the UI components */ private initialize; /** * Set up event listeners for UI controls */ private setupEventListeners; /** * Render the list of available test sessions * @param sessionStates Record of session states */ renderSessions(sessionStates: Record): void; /** * Render a detailed report for a test session * @param report The detailed report to render */ renderReport(report: DetailedReport): void; /** * Apply styling to integrate with external UI library * @param containerId ID of the container element */ private applyExternalUIIntegration; /** * Render a combined report from multiple test sessions * @param combinedReport The combined report to render */ renderCombinedReport(combinedReport: any): void; /** * Show an empty state message when no report is available * @param message Optional message to display */ showEmptyState(message?: string): void; /** * Change the theme of the UI * @param theme The theme to set ('light' or 'dark') */ setTheme(theme: 'light' | 'dark'): void; } /** * Helper function to render with external UI library * @param containerId ID of the container element * @param reportData Report data to render * @param options Rendering options */ export declare function renderWithExternalUI(containerId: string, reportData: any, options?: any): void;