var{defineProperty:a,getOwnPropertyNames:g,getOwnPropertyDescriptor:h}=Object,p=Object.prototype.hasOwnProperty;function z(t){return this[t]}var f=(t)=>{var i=(s??=new WeakMap).get(t),o;if(i)return i;if(i=a({},"__esModule",{value:!0}),t&&typeof t==="object"||typeof t==="function"){for(var e of g(t))if(!p.call(i,e))a(i,e,{get:z.bind(t,e),enumerable:!(o=h(t,e))||o.enumerable})}return s.set(t,i),i},s;var x=(t)=>t;function I(t,i){this[t]=x.bind(null,i)}var d=(t,i)=>{for(var o in i)a(t,o,{get:i[o],enumerable:!0,configurable:!0,set:I.bind(i,o)})};var l=(t,i)=>()=>(t&&(i=t(t=0)),i);import{ZodSchemaType as r}from"@contractspec/lib.schema";import*as n from"zod";var c=n.object({chunkId:n.string().min(1),quote:n.string().min(1)}),E=new r(c,{name:"Citation"}),m=n.object({insightId:n.string().min(1),claim:n.string().min(1),tags:n.array(n.string().min(1)).optional(),segment:n.string().min(1).optional(),confidence:n.number().min(0).max(1).optional(),citations:n.array(c)}),b=new r(m,{name:"Insight"}),y=n.object({insights:n.array(m)}),j=new r(y,{name:"InsightExtraction"});export{b as InsightModel,j as InsightExtractionModel,E as CitationModel};
