/** * ChatKit Handler * * HTTP handler for the ChatKit protocol endpoint. * Provides a single `/v1/chatkit` POST endpoint that handles all ChatKit requests. * * Based on https://github.com/openai/chatkit-python */ import type { ApiServer } from '../ApiServer'; import type { ChatKitService } from '../chatkit/service'; import type { StoreContext } from '../chatkit/store'; export interface ChatKitHandlerOptions { chatKitService: ChatKitService; } /** * Register ChatKit routes on the API server */ export declare function registerChatKitRoutes(server: ApiServer, options: ChatKitHandlerOptions): void;