import type { ToolLaunchContext, ToolLaunchSpec } from "./types.js"; export type CreateToolLaunchContextInput = { spec: ToolLaunchSpec; log: ToolLaunchContext["log"]; prepareForPassthrough: ToolLaunchContext["prepareForPassthrough"]; registerPort: ToolLaunchContext["registerPort"]; unregisterPort: ToolLaunchContext["unregisterPort"]; }; export type ToolLaunchContextHandle = { context: ToolLaunchContext; dispose(): Promise; }; /** Pair host lifecycle services with a launch spec and one owned resource scope. */ export declare function createToolLaunchContext(input: CreateToolLaunchContextInput): ToolLaunchContextHandle;