/** * ChatKit v1 (OpenAI-compatible) routes. * * This is a REST wrapper around our internal ChatKit store/service so that * clients expecting `/v1/chatkit/...` can work without speaking the single * `/v1/chatkit` protocol endpoint. * * Notes: * - We accept (but do not require) `OpenAI-Beta: chatkit_beta=v1`. * - Auth is handled by ApiServer middleware (same as other API routes). */ import type { ApiServer } from '../ApiServer'; import type { StoreContext, ChatKitStore } from '../chatkit/store'; export interface ChatKitV1HandlerOptions { store: ChatKitStore; } export declare function registerChatKitV1Routes(server: ApiServer, options: ChatKitV1HandlerOptions): void;