/** A prepared MCP instance managed by the development integration. @internal */ export interface DevServerInstance { /** Serve an MCP request. */ fetch(request: Request): Promise; /** Abort outstanding exchanges and release resources. */ close(): Promise; } /** * Serialize reloads and publish only the latest successfully prepared instance. * The previous instance stays usable while a candidate is loading or fails. * @internal */ export declare function createDevRuntime(load: () => Promise, reportError: (error: unknown) => void): { reload(): Promise; fetch(request: Request): Promise; close(): Promise; };