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