import type { VcMeetingLiveManagedOrigin } from '../services/vc-meeting-send-policy.js'; export declare const REPORT_SESSION_RELAY_ROUTE = "/api/report-relay"; export declare const REPORT_SESSION_RELAY_MAX_BYTES: number; export interface ReportSessionRelaySessionView { sessionId: string; larkAppId?: string; receiver: boolean; scope?: 'thread' | 'chat'; rootMessageId?: string; liveOrigin?: VcMeetingLiveManagedOrigin; quoteTargetId?: string; currentReplyTarget?: { rootMessageId?: string; turnId?: string; }; replyTargets?: Record; } export type ReportSessionRelayDecision = { ok: true; source: { sessionId: string; larkAppId: string; }; target: { sessionId: string; larkAppId: string; }; dispatchRoot: string; sourceName: string; content: string; } | { ok: false; status: number; error: string; }; export declare function authorizeReportSessionRelayRequest(input: { raw: unknown; trustedHost: boolean; session: ReportSessionRelaySessionView | undefined; selfLarkAppId: string | undefined; registry: Record; bindingSecret: string; }): ReportSessionRelayDecision; export declare function buildOrchestratorReportTrigger(decision: Extract, meta: { requestId: string; receivedAt: string; }): Record; //# sourceMappingURL=report-session-relay.d.ts.map