import { ConversationsService } from "mongodb-rag-core"; import { Request as ExpressRequest, Response as ExpressResponse, NextFunction } from "express"; import { z } from "zod"; import { Logger } from "mongodb-rag-core/braintrust"; import { UpdateTraceFunc } from "./UpdateTraceFunc"; export type CommentMessageRequest = z.infer; export declare const CommentMessageRequest: z.ZodObject>; params: z.ZodOptional>; query: z.ZodOptional>; body: z.ZodOptional>; }, { headers: z.ZodObject<{ "req-id": z.ZodString; }, "strip", z.ZodTypeAny, { "req-id": string; }, { "req-id": string; }>; params: z.ZodObject<{ conversationId: z.ZodString; messageId: z.ZodString; }, "strip", z.ZodTypeAny, { conversationId: string; messageId: string; }, { conversationId: string; messageId: string; }>; body: z.ZodObject<{ comment: z.ZodString; }, "strip", z.ZodTypeAny, { comment: string; }, { comment: string; }>; }>, "strip", z.ZodTypeAny, { params: { conversationId: string; messageId: string; }; headers: { "req-id": string; }; body: { comment: string; }; query?: {} | undefined; }, { params: { conversationId: string; messageId: string; }; headers: { "req-id": string; }; body: { comment: string; }; query?: {} | undefined; }>; export interface CommentMessageRouteParams { conversations: ConversationsService; maxCommentLength?: number; updateTrace?: UpdateTraceFunc; braintrustLogger?: Logger; } export declare function makeCommentMessageRoute({ conversations, maxCommentLength, updateTrace, braintrustLogger, }: CommentMessageRouteParams): (req: ExpressRequest, res: ExpressResponse, next: NextFunction) => Promise> | undefined>; //# sourceMappingURL=commentMessage.d.ts.map