/** * createTerminalView — engine factory for TerminalView instances. */ import type { TerminalEngineId, TerminalView, TerminalViewCreateOptions, TerminalViewFactory } from './types.js'; import { type LoadRestty } from './restty-view.js'; export interface CreateTerminalViewDeps { /** Override restty module loader (tests). */ loadRestty?: LoadRestty; /** @deprecated use loadRestty */ loadResttyXterm?: LoadRestty; } /** * Create a terminal view for the given engine. * * @throws If `engine` is unknown, or restty cannot be loaded when requested. */ export declare function createTerminalView(engine: TerminalEngineId, options: TerminalViewCreateOptions, deps?: CreateTerminalViewDeps): Promise; /** Default factory bound for production `useTerminalCore`. */ export declare const defaultTerminalViewFactory: TerminalViewFactory; //# sourceMappingURL=create-terminal-view.d.ts.map