import type { BrowserContext, Page } from 'playwright-core'; import type { SessionPaths } from '../state/paths.js'; import type { LaunchInput, ResolvedLaunchConfig } from '../camoufox/config.js'; import type { SnapshotResult } from './snapshot.js'; export type SessionStatus = 'stopped' | 'starting' | 'running' | 'error'; export interface TabRuntime { name: string; page: Page; refMap: Map; lastSnapshot?: SnapshotResult | undefined; } export interface SessionRuntime { name: string; status: SessionStatus; context: BrowserContext; tabs: Map; browserVersion: string; installPath: string; paths: SessionPaths; resolvedConfig: ResolvedLaunchConfig; launchInput: LaunchInput; startedAt: string; } export declare function createTabRuntime(name: string, page: Page): TabRuntime;