import type { EmitContext } from "@typespec/compiler"; /** * Where emitted output imports its runtime from. Declared where the import is rendered, and * re-exported here beside the code that writes the file. */ export { DEFAULT_RUNTIME_MODULE } from "./tools.js"; /** * Run the library, then add the MCP surface beside what it wrote. * * **This file may import only `./lib.js`, its own modules, the library's public API and external * packages.** The same rule the library's own emitter entry point holds itself to, and for the same * reason: it makes "the published API is sufficient to build an emitter on" true by construction * rather than by assertion. */ export declare function $onEmit(context: EmitContext): Promise;