import { type BrowserKey, type HelperTimeoutState } from '../browser/launch'; import type { WorldSnapshot } from './snapshotTypes'; export declare function composeInspectTimeoutDiagnosis(state: HelperTimeoutState, errors: string[], engineCoreInstalled?: boolean): string; export type SnapshotWorldOptions = { directory: string; timeoutMs?: number | undefined; /** Frames/assets settle time between helper-ready and the snapshot — determinism lever. */ settleMs?: number | undefined; maxObjects?: number | undefined; /** Diagnostic override: launch only this candidate, no fallback (default: try the whole chain). */ browser?: BrowserKey | undefined; /** URL-prefix → dir fallbacks (e.g. a shared character-asset tree at /assets, /basis). */ fallbackMounts?: Record | undefined; onProgress?: ((message: string) => void) | undefined; }; export declare function snapshotWorld(opts: SnapshotWorldOptions): Promise;