import { FlinkContext } from "@flink-app/flink"; import { StreamHandler, StreamHandlerModule, StreamingRouteProps } from "./types"; /** * Context interface for StreamingPlugin. * Use this when defining your application context to get type-safe access * to the streaming plugin via ctx.plugins.streaming */ export interface StreamingPluginContext { streaming: { registerStreamHandler: { (handlerModule: StreamHandlerModule): void; (handler: StreamHandler, routeProps: StreamingRouteProps): void; }; }; }