/** * NegotiationDigest — compact, fixed-size structured summary of one discovery * negotiation. Produced by the negotiation summarizer; consumed by the * decision-question generator in place of raw negotiations. * * Goal: cap the question generator's per-negotiation prompt budget so that a * 10-candidate discovery turn produces a ~1.5 KB prompt instead of a 60+ KB * blob that stalls upstream LLM providers. */ import { z } from "zod"; export declare const DiscoveryNegotiationDigestSchema: z.ZodObject<{ /** Abstract counterparty descriptor (no PII, no IDs). E.g. "AI infra founder, Berlin". */ counterpartyHint: z.ZodEffects; /** The network the negotiation ran under (community prompt). */ indexContext: z.ZodEffects; /** Whether the negotiation produced an opportunity. */ outcomeRole: z.ZodEnum<["opportunity", "no-opportunity"]>; /** When `outcomeRole === "no-opportunity"`, why the negotiation didn't yield one. Null otherwise. */ outcomeReason: z.ZodNullable>; /** * One-sentence (≤180 chars) summary of the decisive moment or pattern in * this negotiation. Written for the downstream question generator — should * highlight a fact or tension that could inform a clarifying question. */ keyTake: z.ZodEffects; /** Suggested roles agreed by both parties. Null when no agreement reached. */ suggestedRoles: z.ZodNullable; otherUser: z.ZodEnum<["agent", "patient", "peer"]>; }, "strip", z.ZodTypeAny, { ownUser: "agent" | "patient" | "peer"; otherUser: "agent" | "patient" | "peer"; }, { ownUser: "agent" | "patient" | "peer"; otherUser: "agent" | "patient" | "peer"; }>>; }, "strip", z.ZodTypeAny, { counterpartyHint: string; indexContext: string; outcomeRole: "opportunity" | "no-opportunity"; outcomeReason: "timeout" | "stalled" | "rejected" | "turn_cap" | "screened_out" | null; keyTake: string; suggestedRoles: { ownUser: "agent" | "patient" | "peer"; otherUser: "agent" | "patient" | "peer"; } | null; }, { outcomeRole: "opportunity" | "no-opportunity"; outcomeReason: "timeout" | "stalled" | "rejected" | "turn_cap" | "screened_out" | null; suggestedRoles: { ownUser: "agent" | "patient" | "peer"; otherUser: "agent" | "patient" | "peer"; } | null; counterpartyHint?: unknown; indexContext?: unknown; keyTake?: unknown; }>; export type DiscoveryNegotiationDigest = z.infer;