import { type Static, type TSchema } from "@sinclair/typebox"; import type { HappyMcpTransport } from "./startHappyMcpServer.js"; import { type HappyPluginStreamStatus } from "./types.js"; export interface HappyPluginEventRegistration { readonly failure: string | undefined; readonly registrationId: string; readonly status: HappyPluginStreamStatus; close(): Promise; } export declare function startHappyPluginEventRegistration(options: { deletePath: (registrationId: string) => string; eventPath: (registrationId: string) => string; eventSchema: TEventSchema; label: string; onEvent: (event: Static, registrationId: string) => void | Promise; onGenerationClosed?: (registrationId: string) => void; registerBody?: unknown; registerPath: string; recover?: boolean; transport: HappyMcpTransport; }): Promise; //# sourceMappingURL=startHappyPluginEventRegistration.d.ts.map