import { ConversationsService } from "mongodb-rag-core"; import { Request as ExpressRequest, Response as ExpressResponse, NextFunction } from "express"; import { z } from "zod"; import { UpdateTraceFunc } from "./UpdateTraceFunc"; import { Logger } from "mongodb-rag-core/braintrust"; export type RateMessageRequest = z.infer; export declare const RateMessageRequest: 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<{ rating: z.ZodBoolean; }, "strip", z.ZodTypeAny, { rating: boolean; }, { rating: boolean; }>; }>, "strip", z.ZodTypeAny, { params: { conversationId: string; messageId: string; }; headers: { "req-id": string; }; body: { rating: boolean; }; query?: {} | undefined; }, { params: { conversationId: string; messageId: string; }; headers: { "req-id": string; }; body: { rating: boolean; }; query?: {} | undefined; }>; export interface RateMessageRouteParams { conversations: ConversationsService; updateTrace?: UpdateTraceFunc; braintrustLogger?: Logger; } export declare function makeRateMessageRoute({ conversations, updateTrace, braintrustLogger, }: RateMessageRouteParams): (req: ExpressRequest, res: ExpressResponse, next: NextFunction) => Promise> | undefined>; //# sourceMappingURL=rateMessage.d.ts.map