/** * Boot sequence: load manifest, init VFS, start tool runner and shell. */ import { TTYBridge } from '@gameguild/emception-xterm'; import { detectAsyncStrategy } from './async-bridge.js'; import { MiniShell } from './shell.js'; import { ToolRunner } from './tool-runner.js'; import { createVFSManager } from './vfs/index.js'; export interface BootResult { runner: ToolRunner; vfs: ReturnType; shell: MiniShell; tty: TTYBridge; } export declare function boot(manifestUrl: string, terminalContainerOrTerminal: HTMLElement | import('@xterm/xterm').Terminal): Promise; export interface WorkerBootResult { client: import('./worker-client.js').WorkerClient; tty: TTYBridge; } /** * Boot the toolchain inside a Web Worker. * The main thread only handles terminal I/O — all WASM execution * happens off the main thread so the UI never freezes. */ export declare function bootInWorker(manifestUrl: string, terminalContainerOrTerminal: HTMLElement | import('@xterm/xterm').Terminal): Promise; export { LineBuffer } from 'emception'; export type { IOProvider } from 'emception'; export { createEmception, type BrowserEmceptionAPI, type BrowserRunOptions, type BrowserStdin, type CreateEmceptionOptions, } from './createEmception.js'; export type { BrowserEmceptionAPI as EmceptionAPI } from './createEmception.js'; export { createBrowserBridge, SUBPROCESS_SHIM, type BrowserBridge } from './emscripten/index.js'; export { decompressBrotli, isBrotliSupported } from './loader/brotli.js'; export { clearModuleCache, loadModuleFactory } from './loader/wasm-module.js'; export type { RunOptions, ToolResult } from './tool-runner.js'; export type { VFSManager } from './vfs/index.js'; export { createVFSManager, detectAsyncStrategy, MiniShell, ToolRunner, TTYBridge }; //# sourceMappingURL=boot.d.ts.map