hex-audit 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (486) hide show
  1. package/CLAUDE.md +105 -0
  2. package/DEMO.md +141 -0
  3. package/README.md +378 -0
  4. package/dashboard/.next/BUILD_ID +1 -0
  5. package/dashboard/.next/app-build-manifest.json +99 -0
  6. package/dashboard/.next/app-path-routes-manifest.json +1 -0
  7. package/dashboard/.next/build-manifest.json +32 -0
  8. package/dashboard/.next/cache/.tsbuildinfo +1 -0
  9. package/dashboard/.next/cache/webpack/client-production/0.pack +0 -0
  10. package/dashboard/.next/cache/webpack/client-production/index.pack +0 -0
  11. package/dashboard/.next/cache/webpack/edge-server-production/0.pack +0 -0
  12. package/dashboard/.next/cache/webpack/edge-server-production/index.pack +0 -0
  13. package/dashboard/.next/cache/webpack/server-production/0.pack +0 -0
  14. package/dashboard/.next/cache/webpack/server-production/1.pack +0 -0
  15. package/dashboard/.next/cache/webpack/server-production/2.pack +0 -0
  16. package/dashboard/.next/cache/webpack/server-production/index.pack +0 -0
  17. package/dashboard/.next/cache/webpack/server-production/index.pack.old +0 -0
  18. package/dashboard/.next/export-marker.json +1 -0
  19. package/dashboard/.next/images-manifest.json +1 -0
  20. package/dashboard/.next/next-minimal-server.js.nft.json +1 -0
  21. package/dashboard/.next/next-server.js.nft.json +1 -0
  22. package/dashboard/.next/package.json +1 -0
  23. package/dashboard/.next/prerender-manifest.js +1 -0
  24. package/dashboard/.next/prerender-manifest.json +1 -0
  25. package/dashboard/.next/react-loadable-manifest.json +300 -0
  26. package/dashboard/.next/required-server-files.json +1 -0
  27. package/dashboard/.next/routes-manifest.json +1 -0
  28. package/dashboard/.next/server/app/_not-found/page.js +1 -0
  29. package/dashboard/.next/server/app/_not-found/page.js.nft.json +1 -0
  30. package/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  31. package/dashboard/.next/server/app/_not-found.html +1 -0
  32. package/dashboard/.next/server/app/_not-found.meta +6 -0
  33. package/dashboard/.next/server/app/_not-found.rsc +12 -0
  34. package/dashboard/.next/server/app/access/page.js +1 -0
  35. package/dashboard/.next/server/app/access/page.js.nft.json +1 -0
  36. package/dashboard/.next/server/app/access/page_client-reference-manifest.js +1 -0
  37. package/dashboard/.next/server/app/access.html +1 -0
  38. package/dashboard/.next/server/app/access.meta +5 -0
  39. package/dashboard/.next/server/app/access.rsc +8 -0
  40. package/dashboard/.next/server/app/api/code/route.js +1 -0
  41. package/dashboard/.next/server/app/api/code/route.js.nft.json +1 -0
  42. package/dashboard/.next/server/app/api/flows/route.js +1 -0
  43. package/dashboard/.next/server/app/api/flows/route.js.nft.json +1 -0
  44. package/dashboard/.next/server/app/api/flows.body +1 -0
  45. package/dashboard/.next/server/app/api/flows.meta +1 -0
  46. package/dashboard/.next/server/app/api/github-status/route.js +1 -0
  47. package/dashboard/.next/server/app/api/github-status/route.js.nft.json +1 -0
  48. package/dashboard/.next/server/app/api/issues/[id]/move/route.js +1 -0
  49. package/dashboard/.next/server/app/api/issues/[id]/move/route.js.nft.json +1 -0
  50. package/dashboard/.next/server/app/api/issues/[id]/route.js +1 -0
  51. package/dashboard/.next/server/app/api/issues/[id]/route.js.nft.json +1 -0
  52. package/dashboard/.next/server/app/api/mermaid/route.js +1 -0
  53. package/dashboard/.next/server/app/api/mermaid/route.js.nft.json +1 -0
  54. package/dashboard/.next/server/app/api/progress/route.js +1 -0
  55. package/dashboard/.next/server/app/api/progress/route.js.nft.json +1 -0
  56. package/dashboard/.next/server/app/api/watch/route.js +3 -0
  57. package/dashboard/.next/server/app/api/watch/route.js.nft.json +1 -0
  58. package/dashboard/.next/server/app/calls/page.js +1 -0
  59. package/dashboard/.next/server/app/calls/page.js.nft.json +1 -0
  60. package/dashboard/.next/server/app/calls/page_client-reference-manifest.js +1 -0
  61. package/dashboard/.next/server/app/calls.html +1 -0
  62. package/dashboard/.next/server/app/calls.meta +5 -0
  63. package/dashboard/.next/server/app/calls.rsc +8 -0
  64. package/dashboard/.next/server/app/conformance/page.js +1 -0
  65. package/dashboard/.next/server/app/conformance/page.js.nft.json +1 -0
  66. package/dashboard/.next/server/app/conformance/page_client-reference-manifest.js +1 -0
  67. package/dashboard/.next/server/app/conformance.html +1 -0
  68. package/dashboard/.next/server/app/conformance.meta +5 -0
  69. package/dashboard/.next/server/app/conformance.rsc +8 -0
  70. package/dashboard/.next/server/app/diagram/page.js +1 -0
  71. package/dashboard/.next/server/app/diagram/page.js.nft.json +1 -0
  72. package/dashboard/.next/server/app/diagram/page_client-reference-manifest.js +1 -0
  73. package/dashboard/.next/server/app/diagram.html +1 -0
  74. package/dashboard/.next/server/app/diagram.meta +5 -0
  75. package/dashboard/.next/server/app/diagram.rsc +10 -0
  76. package/dashboard/.next/server/app/flows/page.js +1 -0
  77. package/dashboard/.next/server/app/flows/page.js.nft.json +1 -0
  78. package/dashboard/.next/server/app/flows/page_client-reference-manifest.js +1 -0
  79. package/dashboard/.next/server/app/flows.html +1 -0
  80. package/dashboard/.next/server/app/flows.meta +5 -0
  81. package/dashboard/.next/server/app/flows.rsc +10 -0
  82. package/dashboard/.next/server/app/functions/page.js +1 -0
  83. package/dashboard/.next/server/app/functions/page.js.nft.json +1 -0
  84. package/dashboard/.next/server/app/functions/page_client-reference-manifest.js +1 -0
  85. package/dashboard/.next/server/app/functions.html +1 -0
  86. package/dashboard/.next/server/app/functions.meta +5 -0
  87. package/dashboard/.next/server/app/functions.rsc +8 -0
  88. package/dashboard/.next/server/app/icon.svg/route.js +12 -0
  89. package/dashboard/.next/server/app/icon.svg/route.js.nft.json +1 -0
  90. package/dashboard/.next/server/app/icon.svg.body +18 -0
  91. package/dashboard/.next/server/app/icon.svg.meta +1 -0
  92. package/dashboard/.next/server/app/index.html +1 -0
  93. package/dashboard/.next/server/app/index.meta +5 -0
  94. package/dashboard/.next/server/app/index.rsc +9 -0
  95. package/dashboard/.next/server/app/issues/page.js +1 -0
  96. package/dashboard/.next/server/app/issues/page.js.nft.json +1 -0
  97. package/dashboard/.next/server/app/issues/page_client-reference-manifest.js +1 -0
  98. package/dashboard/.next/server/app/issues.html +1 -0
  99. package/dashboard/.next/server/app/issues.meta +5 -0
  100. package/dashboard/.next/server/app/issues.rsc +8 -0
  101. package/dashboard/.next/server/app/page.js +20 -0
  102. package/dashboard/.next/server/app/page.js.nft.json +1 -0
  103. package/dashboard/.next/server/app/page_client-reference-manifest.js +1 -0
  104. package/dashboard/.next/server/app/progress/page.js +1 -0
  105. package/dashboard/.next/server/app/progress/page.js.nft.json +1 -0
  106. package/dashboard/.next/server/app/progress/page_client-reference-manifest.js +1 -0
  107. package/dashboard/.next/server/app/progress.html +1 -0
  108. package/dashboard/.next/server/app/progress.meta +5 -0
  109. package/dashboard/.next/server/app/progress.rsc +8 -0
  110. package/dashboard/.next/server/app/stats/page.js +1 -0
  111. package/dashboard/.next/server/app/stats/page.js.nft.json +1 -0
  112. package/dashboard/.next/server/app/stats/page_client-reference-manifest.js +1 -0
  113. package/dashboard/.next/server/app/stats.html +1 -0
  114. package/dashboard/.next/server/app/stats.meta +5 -0
  115. package/dashboard/.next/server/app/stats.rsc +8 -0
  116. package/dashboard/.next/server/app-paths-manifest.json +22 -0
  117. package/dashboard/.next/server/chunks/431.js +1 -0
  118. package/dashboard/.next/server/chunks/557.js +1 -0
  119. package/dashboard/.next/server/chunks/645.js +6 -0
  120. package/dashboard/.next/server/chunks/649.js +2 -0
  121. package/dashboard/.next/server/chunks/665.js +13 -0
  122. package/dashboard/.next/server/chunks/786.js +12 -0
  123. package/dashboard/.next/server/chunks/818.js +6 -0
  124. package/dashboard/.next/server/chunks/916.js +2 -0
  125. package/dashboard/.next/server/chunks/font-manifest.json +1 -0
  126. package/dashboard/.next/server/font-manifest.json +1 -0
  127. package/dashboard/.next/server/functions-config-manifest.json +1 -0
  128. package/dashboard/.next/server/interception-route-rewrite-manifest.js +1 -0
  129. package/dashboard/.next/server/middleware-build-manifest.js +1 -0
  130. package/dashboard/.next/server/middleware-manifest.json +6 -0
  131. package/dashboard/.next/server/middleware-react-loadable-manifest.js +1 -0
  132. package/dashboard/.next/server/next-font-manifest.js +1 -0
  133. package/dashboard/.next/server/next-font-manifest.json +1 -0
  134. package/dashboard/.next/server/pages/404.html +1 -0
  135. package/dashboard/.next/server/pages/500.html +1 -0
  136. package/dashboard/.next/server/pages/_app.js +1 -0
  137. package/dashboard/.next/server/pages/_app.js.nft.json +1 -0
  138. package/dashboard/.next/server/pages/_document.js +1 -0
  139. package/dashboard/.next/server/pages/_document.js.nft.json +1 -0
  140. package/dashboard/.next/server/pages/_error.js +1 -0
  141. package/dashboard/.next/server/pages/_error.js.nft.json +1 -0
  142. package/dashboard/.next/server/pages-manifest.json +1 -0
  143. package/dashboard/.next/server/server-reference-manifest.js +1 -0
  144. package/dashboard/.next/server/server-reference-manifest.json +1 -0
  145. package/dashboard/.next/server/webpack-runtime.js +1 -0
  146. package/dashboard/.next/static/0IZAlhEwk5-v4myUvWKBd/_buildManifest.js +1 -0
  147. package/dashboard/.next/static/0IZAlhEwk5-v4myUvWKBd/_ssgManifest.js +1 -0
  148. package/dashboard/.next/static/chunks/1.8868c4d131111be7.js +36 -0
  149. package/dashboard/.next/static/chunks/1015.3ab89142e5f44120.js +226 -0
  150. package/dashboard/.next/static/chunks/1151.b6ef5c786e587ed7.js +1 -0
  151. package/dashboard/.next/static/chunks/1199.a072929dbec89965.js +148 -0
  152. package/dashboard/.next/static/chunks/1375.d4d2f7fc9c9c2ff1.js +43 -0
  153. package/dashboard/.next/static/chunks/1799.83206776abbbf1fc.js +9 -0
  154. package/dashboard/.next/static/chunks/20154aaa.ccc347c04ab5ad4a.js +1 -0
  155. package/dashboard/.next/static/chunks/2077.7011a570c87aa7b1.js +1 -0
  156. package/dashboard/.next/static/chunks/2166.cc0fabeb2e89b840.js +215 -0
  157. package/dashboard/.next/static/chunks/2291.85a70cb0c228157b.js +29 -0
  158. package/dashboard/.next/static/chunks/2325.2c55cb9a6282ae3f.js +24 -0
  159. package/dashboard/.next/static/chunks/2383.62c035a052272594.js +1 -0
  160. package/dashboard/.next/static/chunks/2694.92bbe252063e4786.js +1 -0
  161. package/dashboard/.next/static/chunks/275.0d761aa0e5b030b8.js +34 -0
  162. package/dashboard/.next/static/chunks/2781.8536b644a480aede.js +93 -0
  163. package/dashboard/.next/static/chunks/2805.a8d71d2f92bb6ba9.js +1 -0
  164. package/dashboard/.next/static/chunks/2879.51436986f93981d9.js +1 -0
  165. package/dashboard/.next/static/chunks/3017.e55781da9dd32d37.js +1 -0
  166. package/dashboard/.next/static/chunks/3205-728c260fbb4f89c6.js +2 -0
  167. package/dashboard/.next/static/chunks/3236.dff44fa7961d9d5e.js +1 -0
  168. package/dashboard/.next/static/chunks/3480.9451396ad7ee7613.js +1 -0
  169. package/dashboard/.next/static/chunks/3626.ba1cf848a9f2e93d.js +64 -0
  170. package/dashboard/.next/static/chunks/3865.a432a7910a2f5281.js +90 -0
  171. package/dashboard/.next/static/chunks/3887.c22cbfa3f095826c.js +1 -0
  172. package/dashboard/.next/static/chunks/3924-4a05057b5450abe1.js +1 -0
  173. package/dashboard/.next/static/chunks/3948.fe3c7d758568d98b.js +287 -0
  174. package/dashboard/.next/static/chunks/4728.07d87640a3e7dd0d.js +24 -0
  175. package/dashboard/.next/static/chunks/4787.4e5f6a0e0e40a583.js +23 -0
  176. package/dashboard/.next/static/chunks/5060.baca226af35ed016.js +1 -0
  177. package/dashboard/.next/static/chunks/5284.f949ac90c95ff143.js +1 -0
  178. package/dashboard/.next/static/chunks/5715.1524bcc9591e180b.js +115 -0
  179. package/dashboard/.next/static/chunks/6014.700ae4969b64d728.js +104 -0
  180. package/dashboard/.next/static/chunks/6024.4d23707c65514679.js +79 -0
  181. package/dashboard/.next/static/chunks/6052.033a6f1013c666eb.js +141 -0
  182. package/dashboard/.next/static/chunks/6177.e5c84cfc4c0dea51.js +1 -0
  183. package/dashboard/.next/static/chunks/618f8807-547c5614e1318888.js +1 -0
  184. package/dashboard/.next/static/chunks/6434.9481771c33195d29.js +1 -0
  185. package/dashboard/.next/static/chunks/6468.f4a3e8fa6accc6da.js +77 -0
  186. package/dashboard/.next/static/chunks/6540.86f367d7390738d4.js +1 -0
  187. package/dashboard/.next/static/chunks/6549.4d0d472df96429a5.js +1 -0
  188. package/dashboard/.next/static/chunks/690f35d0.3e40ca0930e4bbdb.js +119 -0
  189. package/dashboard/.next/static/chunks/7020.831e16e26d91abc1.js +166 -0
  190. package/dashboard/.next/static/chunks/7397-f6f4dddc7a20bfc1.js +1 -0
  191. package/dashboard/.next/static/chunks/7498-ea83cb9e30ec5491.js +1 -0
  192. package/dashboard/.next/static/chunks/7802.89aec9ee11680850.js +80 -0
  193. package/dashboard/.next/static/chunks/7973.8b526f589aca5d84.js +79 -0
  194. package/dashboard/.next/static/chunks/7a04ac15.1c6cea694301806c.js +62 -0
  195. package/dashboard/.next/static/chunks/8216.1bead812eb126c35.js +5 -0
  196. package/dashboard/.next/static/chunks/8233babc.780b8e272eda298f.js +92 -0
  197. package/dashboard/.next/static/chunks/8452-e616b5f43bceb95f.js +13 -0
  198. package/dashboard/.next/static/chunks/8645.a5ca76f11edc9633.js +1 -0
  199. package/dashboard/.next/static/chunks/8928-60c623ee89d2e6ad.js +1 -0
  200. package/dashboard/.next/static/chunks/9173.2486ffca31131ec5.js +1 -0
  201. package/dashboard/.next/static/chunks/9178.469341860bf8caec.js +1 -0
  202. package/dashboard/.next/static/chunks/9466.e904660d38c03eea.js +1 -0
  203. package/dashboard/.next/static/chunks/9660.84a85811380c5f33.js +1 -0
  204. package/dashboard/.next/static/chunks/9717.6cf5c8c89403b651.js +1 -0
  205. package/dashboard/.next/static/chunks/9720.67d4d0d15a96d691.js +1 -0
  206. package/dashboard/.next/static/chunks/9811.65e1d080c2d256af.js +1 -0
  207. package/dashboard/.next/static/chunks/app/_not-found/page-548ab392d0e890d1.js +1 -0
  208. package/dashboard/.next/static/chunks/app/access/page-3668562e7464eb5d.js +1 -0
  209. package/dashboard/.next/static/chunks/app/calls/page-d07f5b8664cc8303.js +1 -0
  210. package/dashboard/.next/static/chunks/app/conformance/page-2fede1d7b5f9265d.js +1 -0
  211. package/dashboard/.next/static/chunks/app/diagram/page-b228444265546495.js +1 -0
  212. package/dashboard/.next/static/chunks/app/flows/page-fa67783d8cd79cab.js +1 -0
  213. package/dashboard/.next/static/chunks/app/functions/page-686f0296639133a3.js +1 -0
  214. package/dashboard/.next/static/chunks/app/issues/page-dc110d4cc0a5c398.js +1 -0
  215. package/dashboard/.next/static/chunks/app/layout-e7b50543ba216d12.js +1 -0
  216. package/dashboard/.next/static/chunks/app/page-a0f25953d4457935.js +1 -0
  217. package/dashboard/.next/static/chunks/app/progress/page-f07ac39d1d27b480.js +1 -0
  218. package/dashboard/.next/static/chunks/app/stats/page-db81f600a086f252.js +1 -0
  219. package/dashboard/.next/static/chunks/b7167ec1.7afbab6f609e3326.js +153 -0
  220. package/dashboard/.next/static/chunks/c7ea4e13.5effeeba6618bdb7.js +1 -0
  221. package/dashboard/.next/static/chunks/framework-cf6f5bdca6ba0184.js +33 -0
  222. package/dashboard/.next/static/chunks/main-70c6d841ad572657.js +1 -0
  223. package/dashboard/.next/static/chunks/main-app-9d2f6b8a47133e9b.js +1 -0
  224. package/dashboard/.next/static/chunks/pages/_app-6ad2b50514c24ab4.js +1 -0
  225. package/dashboard/.next/static/chunks/pages/_error-d5eb11c5c4626811.js +1 -0
  226. package/dashboard/.next/static/chunks/polyfills-78c92fac7aa8fdd8.js +1 -0
  227. package/dashboard/.next/static/chunks/webpack-08869f2b18792e51.js +1 -0
  228. package/dashboard/.next/static/css/e6cb67f77f13ae8e.css +3 -0
  229. package/dashboard/.next/static/media/0aa834ed78bf6d07-s.woff2 +0 -0
  230. package/dashboard/.next/static/media/438aa629764e75f3-s.woff2 +0 -0
  231. package/dashboard/.next/static/media/4c9affa5bc8f420e-s.p.woff2 +0 -0
  232. package/dashboard/.next/static/media/51251f8b9793cdb3-s.woff2 +0 -0
  233. package/dashboard/.next/static/media/67957d42bae0796d-s.woff2 +0 -0
  234. package/dashboard/.next/static/media/875ae681bfde4580-s.woff2 +0 -0
  235. package/dashboard/.next/static/media/886030b0b59bc5a7-s.woff2 +0 -0
  236. package/dashboard/.next/static/media/939c4f875ee75fbb-s.woff2 +0 -0
  237. package/dashboard/.next/static/media/bb3ef058b751a6ad-s.p.woff2 +0 -0
  238. package/dashboard/.next/static/media/cc978ac5ee68c2b6-s.woff2 +0 -0
  239. package/dashboard/.next/static/media/e857b654a2caa584-s.woff2 +0 -0
  240. package/dashboard/.next/static/media/f911b923c6adde36-s.woff2 +0 -0
  241. package/dashboard/.next/trace +80 -0
  242. package/dashboard/.next/types/app/access/page.ts +79 -0
  243. package/dashboard/.next/types/app/api/code/route.ts +343 -0
  244. package/dashboard/.next/types/app/api/flows/route.ts +343 -0
  245. package/dashboard/.next/types/app/api/github-status/route.ts +343 -0
  246. package/dashboard/.next/types/app/api/issues/[id]/move/route.ts +343 -0
  247. package/dashboard/.next/types/app/api/issues/[id]/route.ts +343 -0
  248. package/dashboard/.next/types/app/api/mermaid/route.ts +343 -0
  249. package/dashboard/.next/types/app/api/progress/route.ts +343 -0
  250. package/dashboard/.next/types/app/api/watch/route.ts +343 -0
  251. package/dashboard/.next/types/app/calls/page.ts +79 -0
  252. package/dashboard/.next/types/app/conformance/page.ts +79 -0
  253. package/dashboard/.next/types/app/diagram/page.ts +79 -0
  254. package/dashboard/.next/types/app/flows/page.ts +79 -0
  255. package/dashboard/.next/types/app/functions/page.ts +79 -0
  256. package/dashboard/.next/types/app/issues/page.ts +79 -0
  257. package/dashboard/.next/types/app/page.ts +79 -0
  258. package/dashboard/.next/types/app/progress/page.ts +79 -0
  259. package/dashboard/.next/types/app/stats/page.ts +79 -0
  260. package/dashboard/.next/types/package.json +1 -0
  261. package/dashboard/app/access/AccessClient.tsx +402 -0
  262. package/dashboard/app/access/ReadOnlyFunctions.tsx +114 -0
  263. package/dashboard/app/access/page.tsx +118 -0
  264. package/dashboard/app/api/code/route.ts +35 -0
  265. package/dashboard/app/api/flows/route.ts +28 -0
  266. package/dashboard/app/api/github-status/route.ts +23 -0
  267. package/dashboard/app/api/issues/[id]/move/route.ts +74 -0
  268. package/dashboard/app/api/issues/[id]/route.ts +109 -0
  269. package/dashboard/app/api/mermaid/route.ts +25 -0
  270. package/dashboard/app/api/progress/route.ts +36 -0
  271. package/dashboard/app/api/watch/route.ts +52 -0
  272. package/dashboard/app/calls/CallsClient.tsx +170 -0
  273. package/dashboard/app/calls/page.tsx +50 -0
  274. package/dashboard/app/conformance/ConformanceTable.tsx +214 -0
  275. package/dashboard/app/conformance/page.tsx +179 -0
  276. package/dashboard/app/diagram/page.tsx +65 -0
  277. package/dashboard/app/flows/page.tsx +102 -0
  278. package/dashboard/app/functions/FunctionsClient.tsx +167 -0
  279. package/dashboard/app/functions/page.tsx +171 -0
  280. package/dashboard/app/globals.css +157 -0
  281. package/dashboard/app/icon.svg +18 -0
  282. package/dashboard/app/issues/IssuesBoardClient.tsx +636 -0
  283. package/dashboard/app/issues/page.tsx +239 -0
  284. package/dashboard/app/layout.tsx +40 -0
  285. package/dashboard/app/page.tsx +259 -0
  286. package/dashboard/app/progress/ProgressClient.tsx +333 -0
  287. package/dashboard/app/progress/page.tsx +118 -0
  288. package/dashboard/app/stats/StatsClient.tsx +452 -0
  289. package/dashboard/app/stats/page.tsx +43 -0
  290. package/dashboard/components/AutoRefresh.tsx +37 -0
  291. package/dashboard/components/CodeReference.tsx +129 -0
  292. package/dashboard/components/CommandPalette.tsx +135 -0
  293. package/dashboard/components/ConfidenceBadge.tsx +53 -0
  294. package/dashboard/components/DashboardLayout.tsx +450 -0
  295. package/dashboard/components/FilterableTable.tsx +293 -0
  296. package/dashboard/components/LiveStatus.tsx +99 -0
  297. package/dashboard/components/MarkdownRenderer.tsx +40 -0
  298. package/dashboard/components/MermaidViewer.tsx +267 -0
  299. package/dashboard/components/NotYetGenerated.tsx +32 -0
  300. package/dashboard/components/SeverityBadge.tsx +28 -0
  301. package/dashboard/components/SignalBars.tsx +27 -0
  302. package/dashboard/components/SortableTable.tsx +122 -0
  303. package/dashboard/lib/conformance-tokens.ts +49 -0
  304. package/dashboard/lib/data.ts +102 -0
  305. package/dashboard/lib/watcher.ts +45 -0
  306. package/dashboard/next-env.d.ts +5 -0
  307. package/dashboard/next.config.mjs +9 -0
  308. package/dashboard/postcss.config.cjs +6 -0
  309. package/dashboard/tailwind.config.ts +79 -0
  310. package/dashboard/tsconfig.json +21 -0
  311. package/dist/analysis/access-control.d.ts +24 -0
  312. package/dist/analysis/access-control.d.ts.map +1 -0
  313. package/dist/analysis/access-control.js +378 -0
  314. package/dist/analysis/access-control.js.map +1 -0
  315. package/dist/analysis/attack-surface.d.ts +51 -0
  316. package/dist/analysis/attack-surface.d.ts.map +1 -0
  317. package/dist/analysis/attack-surface.js +206 -0
  318. package/dist/analysis/attack-surface.js.map +1 -0
  319. package/dist/analysis/constraint-extraction.d.ts +25 -0
  320. package/dist/analysis/constraint-extraction.d.ts.map +1 -0
  321. package/dist/analysis/constraint-extraction.js +398 -0
  322. package/dist/analysis/constraint-extraction.js.map +1 -0
  323. package/dist/analysis/context-assembler.d.ts +16 -0
  324. package/dist/analysis/context-assembler.d.ts.map +1 -0
  325. package/dist/analysis/context-assembler.js +88 -0
  326. package/dist/analysis/context-assembler.js.map +1 -0
  327. package/dist/analysis/dependency-graph.d.ts +31 -0
  328. package/dist/analysis/dependency-graph.d.ts.map +1 -0
  329. package/dist/analysis/dependency-graph.js +223 -0
  330. package/dist/analysis/dependency-graph.js.map +1 -0
  331. package/dist/analysis/erc-detection.d.ts +16 -0
  332. package/dist/analysis/erc-detection.d.ts.map +1 -0
  333. package/dist/analysis/erc-detection.js +81 -0
  334. package/dist/analysis/erc-detection.js.map +1 -0
  335. package/dist/analysis/external-calls.d.ts +8 -0
  336. package/dist/analysis/external-calls.d.ts.map +1 -0
  337. package/dist/analysis/external-calls.js +124 -0
  338. package/dist/analysis/external-calls.js.map +1 -0
  339. package/dist/analysis/nsloc.d.ts +46 -0
  340. package/dist/analysis/nsloc.d.ts.map +1 -0
  341. package/dist/analysis/nsloc.js +106 -0
  342. package/dist/analysis/nsloc.js.map +1 -0
  343. package/dist/analysis/pattern-detection.d.ts +20 -0
  344. package/dist/analysis/pattern-detection.d.ts.map +1 -0
  345. package/dist/analysis/pattern-detection.js +236 -0
  346. package/dist/analysis/pattern-detection.js.map +1 -0
  347. package/dist/analysis/state-variables.d.ts +33 -0
  348. package/dist/analysis/state-variables.d.ts.map +1 -0
  349. package/dist/analysis/state-variables.js +179 -0
  350. package/dist/analysis/state-variables.js.map +1 -0
  351. package/dist/commands/access.d.ts +3 -0
  352. package/dist/commands/access.d.ts.map +1 -0
  353. package/dist/commands/access.js +99 -0
  354. package/dist/commands/access.js.map +1 -0
  355. package/dist/commands/ai-status.d.ts +3 -0
  356. package/dist/commands/ai-status.d.ts.map +1 -0
  357. package/dist/commands/ai-status.js +172 -0
  358. package/dist/commands/ai-status.js.map +1 -0
  359. package/dist/commands/analyze.d.ts +3 -0
  360. package/dist/commands/analyze.d.ts.map +1 -0
  361. package/dist/commands/analyze.js +101 -0
  362. package/dist/commands/analyze.js.map +1 -0
  363. package/dist/commands/calls.d.ts +3 -0
  364. package/dist/commands/calls.d.ts.map +1 -0
  365. package/dist/commands/calls.js +92 -0
  366. package/dist/commands/calls.js.map +1 -0
  367. package/dist/commands/claude.d.ts +3 -0
  368. package/dist/commands/claude.d.ts.map +1 -0
  369. package/dist/commands/claude.js +42 -0
  370. package/dist/commands/claude.js.map +1 -0
  371. package/dist/commands/constraints.d.ts +3 -0
  372. package/dist/commands/constraints.d.ts.map +1 -0
  373. package/dist/commands/constraints.js +32 -0
  374. package/dist/commands/constraints.js.map +1 -0
  375. package/dist/commands/context.d.ts +3 -0
  376. package/dist/commands/context.d.ts.map +1 -0
  377. package/dist/commands/context.js +57 -0
  378. package/dist/commands/context.js.map +1 -0
  379. package/dist/commands/dashboard.d.ts +3 -0
  380. package/dist/commands/dashboard.d.ts.map +1 -0
  381. package/dist/commands/dashboard.js +95 -0
  382. package/dist/commands/dashboard.js.map +1 -0
  383. package/dist/commands/deps.d.ts +3 -0
  384. package/dist/commands/deps.d.ts.map +1 -0
  385. package/dist/commands/deps.js +67 -0
  386. package/dist/commands/deps.js.map +1 -0
  387. package/dist/commands/doctor.d.ts +17 -0
  388. package/dist/commands/doctor.d.ts.map +1 -0
  389. package/dist/commands/doctor.js +154 -0
  390. package/dist/commands/doctor.js.map +1 -0
  391. package/dist/commands/init.d.ts +3 -0
  392. package/dist/commands/init.d.ts.map +1 -0
  393. package/dist/commands/init.js +330 -0
  394. package/dist/commands/init.js.map +1 -0
  395. package/dist/commands/patterns.d.ts +3 -0
  396. package/dist/commands/patterns.d.ts.map +1 -0
  397. package/dist/commands/patterns.js +40 -0
  398. package/dist/commands/patterns.js.map +1 -0
  399. package/dist/commands/state.d.ts +3 -0
  400. package/dist/commands/state.d.ts.map +1 -0
  401. package/dist/commands/state.js +92 -0
  402. package/dist/commands/state.js.map +1 -0
  403. package/dist/commands/stats.d.ts +3 -0
  404. package/dist/commands/stats.d.ts.map +1 -0
  405. package/dist/commands/stats.js +347 -0
  406. package/dist/commands/stats.js.map +1 -0
  407. package/dist/commands/surface.d.ts +3 -0
  408. package/dist/commands/surface.d.ts.map +1 -0
  409. package/dist/commands/surface.js +45 -0
  410. package/dist/commands/surface.js.map +1 -0
  411. package/dist/commands/update-skills.d.ts +3 -0
  412. package/dist/commands/update-skills.d.ts.map +1 -0
  413. package/dist/commands/update-skills.js +40 -0
  414. package/dist/commands/update-skills.js.map +1 -0
  415. package/dist/commands/update.d.ts +3 -0
  416. package/dist/commands/update.d.ts.map +1 -0
  417. package/dist/commands/update.js +157 -0
  418. package/dist/commands/update.js.map +1 -0
  419. package/dist/core/config.d.ts +24 -0
  420. package/dist/core/config.d.ts.map +1 -0
  421. package/dist/core/config.js +70 -0
  422. package/dist/core/config.js.map +1 -0
  423. package/dist/core/errors.d.ts +17 -0
  424. package/dist/core/errors.d.ts.map +1 -0
  425. package/dist/core/errors.js +113 -0
  426. package/dist/core/errors.js.map +1 -0
  427. package/dist/core/external-tools.d.ts +39 -0
  428. package/dist/core/external-tools.d.ts.map +1 -0
  429. package/dist/core/external-tools.js +151 -0
  430. package/dist/core/external-tools.js.map +1 -0
  431. package/dist/core/logger.d.ts +16 -0
  432. package/dist/core/logger.d.ts.map +1 -0
  433. package/dist/core/logger.js +22 -0
  434. package/dist/core/logger.js.map +1 -0
  435. package/dist/core/output.d.ts +13 -0
  436. package/dist/core/output.d.ts.map +1 -0
  437. package/dist/core/output.js +45 -0
  438. package/dist/core/output.js.map +1 -0
  439. package/dist/core/paths.d.ts +21 -0
  440. package/dist/core/paths.d.ts.map +1 -0
  441. package/dist/core/paths.js +32 -0
  442. package/dist/core/paths.js.map +1 -0
  443. package/dist/core/progress.d.ts +34 -0
  444. package/dist/core/progress.d.ts.map +1 -0
  445. package/dist/core/progress.js +119 -0
  446. package/dist/core/progress.js.map +1 -0
  447. package/dist/core/schema.d.ts +3197 -0
  448. package/dist/core/schema.d.ts.map +1 -0
  449. package/dist/core/schema.js +420 -0
  450. package/dist/core/schema.js.map +1 -0
  451. package/dist/core/skills.d.ts +28 -0
  452. package/dist/core/skills.d.ts.map +1 -0
  453. package/dist/core/skills.js +82 -0
  454. package/dist/core/skills.js.map +1 -0
  455. package/dist/index.d.ts +3 -0
  456. package/dist/index.d.ts.map +1 -0
  457. package/dist/index.js +43 -0
  458. package/dist/index.js.map +1 -0
  459. package/dist/parsers/lcov.d.ts +27 -0
  460. package/dist/parsers/lcov.d.ts.map +1 -0
  461. package/dist/parsers/lcov.js +68 -0
  462. package/dist/parsers/lcov.js.map +1 -0
  463. package/dist/parsers/slither.d.ts +63 -0
  464. package/dist/parsers/slither.d.ts.map +1 -0
  465. package/dist/parsers/slither.js +160 -0
  466. package/dist/parsers/slither.js.map +1 -0
  467. package/dist/parsers/solc.d.ts +19 -0
  468. package/dist/parsers/solc.d.ts.map +1 -0
  469. package/dist/parsers/solc.js +43 -0
  470. package/dist/parsers/solc.js.map +1 -0
  471. package/dist/parsers/solidity-parser.d.ts +77 -0
  472. package/dist/parsers/solidity-parser.d.ts.map +1 -0
  473. package/dist/parsers/solidity-parser.js +357 -0
  474. package/dist/parsers/solidity-parser.js.map +1 -0
  475. package/dist/skills/generate-overleaf.md +326 -0
  476. package/dist/skills/generate-poc.md +186 -0
  477. package/dist/skills/ingest-aa-report.md +172 -0
  478. package/dist/skills/init-audit.md +271 -0
  479. package/dist/skills/sync-issues.md +266 -0
  480. package/dist/skills/validate-issue.md +149 -0
  481. package/dist/skills/write-finding.md +142 -0
  482. package/dist/types/index.d.ts +30 -0
  483. package/dist/types/index.d.ts.map +1 -0
  484. package/dist/types/index.js +2 -0
  485. package/dist/types/index.js.map +1 -0
  486. package/package.json +81 -0
@@ -0,0 +1,3197 @@
1
+ import { z } from 'zod';
2
+ export declare const EvidenceSchema: z.ZodObject<{
3
+ file: z.ZodString;
4
+ line_start: z.ZodNumber;
5
+ line_end: z.ZodNumber;
6
+ snippet: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ file: string;
9
+ line_start: number;
10
+ line_end: number;
11
+ snippet?: string | undefined;
12
+ }, {
13
+ file: string;
14
+ line_start: number;
15
+ line_end: number;
16
+ snippet?: string | undefined;
17
+ }>;
18
+ export declare const ConfidenceSchema: z.ZodEnum<["high", "medium", "low"]>;
19
+ export declare const SeveritySchema: z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>;
20
+ export declare const DerivedFromSchema: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
21
+ export declare const ConfigSchema: z.ZodObject<{
22
+ version: z.ZodDefault<z.ZodString>;
23
+ project: z.ZodObject<{
24
+ name: z.ZodString;
25
+ project_dir: z.ZodString;
26
+ commit: z.ZodString;
27
+ chain: z.ZodDefault<z.ZodString>;
28
+ solidity_version: z.ZodString;
29
+ docs_url: z.ZodOptional<z.ZodString>;
30
+ scope: z.ZodArray<z.ZodString, "many">;
31
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ name: string;
34
+ project_dir: string;
35
+ commit: string;
36
+ chain: string;
37
+ solidity_version: string;
38
+ scope: string[];
39
+ exclude: string[];
40
+ docs_url?: string | undefined;
41
+ }, {
42
+ name: string;
43
+ project_dir: string;
44
+ commit: string;
45
+ solidity_version: string;
46
+ scope: string[];
47
+ chain?: string | undefined;
48
+ docs_url?: string | undefined;
49
+ exclude?: string[] | undefined;
50
+ }>;
51
+ settings: z.ZodObject<{
52
+ output_dir: z.ZodDefault<z.ZodString>;
53
+ ai_model: z.ZodDefault<z.ZodString>;
54
+ finding_template: z.ZodDefault<z.ZodString>;
55
+ ai: z.ZodOptional<z.ZodObject<{
56
+ auditagent_scan_id: z.ZodOptional<z.ZodString>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ auditagent_scan_id?: string | undefined;
59
+ }, {
60
+ auditagent_scan_id?: string | undefined;
61
+ }>>;
62
+ github: z.ZodOptional<z.ZodObject<{
63
+ repo: z.ZodString;
64
+ default_labels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
65
+ severity_label_prefix: z.ZodDefault<z.ZodString>;
66
+ publish_status: z.ZodDefault<z.ZodArray<z.ZodEnum<["verified", "pending_validation"]>, "many">>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ repo: string;
69
+ default_labels: string[];
70
+ severity_label_prefix: string;
71
+ publish_status: ("verified" | "pending_validation")[];
72
+ }, {
73
+ repo: string;
74
+ default_labels?: string[] | undefined;
75
+ severity_label_prefix?: string | undefined;
76
+ publish_status?: ("verified" | "pending_validation")[] | undefined;
77
+ }>>;
78
+ report: z.ZodOptional<z.ZodObject<{
79
+ repository_url: z.ZodOptional<z.ZodString>;
80
+ initial_commit: z.ZodOptional<z.ZodString>;
81
+ final_commit: z.ZodOptional<z.ZodString>;
82
+ initial_report_date: z.ZodOptional<z.ZodString>;
83
+ final_report_date: z.ZodOptional<z.ZodString>;
84
+ audit_type: z.ZodDefault<z.ZodString>;
85
+ doc_assessment: z.ZodOptional<z.ZodEnum<["High", "Medium", "Low"]>>;
86
+ test_assessment: z.ZodOptional<z.ZodEnum<["High", "Medium", "Low"]>>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ audit_type: string;
89
+ repository_url?: string | undefined;
90
+ initial_commit?: string | undefined;
91
+ final_commit?: string | undefined;
92
+ initial_report_date?: string | undefined;
93
+ final_report_date?: string | undefined;
94
+ doc_assessment?: "High" | "Medium" | "Low" | undefined;
95
+ test_assessment?: "High" | "Medium" | "Low" | undefined;
96
+ }, {
97
+ repository_url?: string | undefined;
98
+ initial_commit?: string | undefined;
99
+ final_commit?: string | undefined;
100
+ initial_report_date?: string | undefined;
101
+ final_report_date?: string | undefined;
102
+ audit_type?: string | undefined;
103
+ doc_assessment?: "High" | "Medium" | "Low" | undefined;
104
+ test_assessment?: "High" | "Medium" | "Low" | undefined;
105
+ }>>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ output_dir: string;
108
+ ai_model: string;
109
+ finding_template: string;
110
+ ai?: {
111
+ auditagent_scan_id?: string | undefined;
112
+ } | undefined;
113
+ github?: {
114
+ repo: string;
115
+ default_labels: string[];
116
+ severity_label_prefix: string;
117
+ publish_status: ("verified" | "pending_validation")[];
118
+ } | undefined;
119
+ report?: {
120
+ audit_type: string;
121
+ repository_url?: string | undefined;
122
+ initial_commit?: string | undefined;
123
+ final_commit?: string | undefined;
124
+ initial_report_date?: string | undefined;
125
+ final_report_date?: string | undefined;
126
+ doc_assessment?: "High" | "Medium" | "Low" | undefined;
127
+ test_assessment?: "High" | "Medium" | "Low" | undefined;
128
+ } | undefined;
129
+ }, {
130
+ output_dir?: string | undefined;
131
+ ai_model?: string | undefined;
132
+ finding_template?: string | undefined;
133
+ ai?: {
134
+ auditagent_scan_id?: string | undefined;
135
+ } | undefined;
136
+ github?: {
137
+ repo: string;
138
+ default_labels?: string[] | undefined;
139
+ severity_label_prefix?: string | undefined;
140
+ publish_status?: ("verified" | "pending_validation")[] | undefined;
141
+ } | undefined;
142
+ report?: {
143
+ repository_url?: string | undefined;
144
+ initial_commit?: string | undefined;
145
+ final_commit?: string | undefined;
146
+ initial_report_date?: string | undefined;
147
+ final_report_date?: string | undefined;
148
+ audit_type?: string | undefined;
149
+ doc_assessment?: "High" | "Medium" | "Low" | undefined;
150
+ test_assessment?: "High" | "Medium" | "Low" | undefined;
151
+ } | undefined;
152
+ }>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ version: string;
155
+ project: {
156
+ name: string;
157
+ project_dir: string;
158
+ commit: string;
159
+ chain: string;
160
+ solidity_version: string;
161
+ scope: string[];
162
+ exclude: string[];
163
+ docs_url?: string | undefined;
164
+ };
165
+ settings: {
166
+ output_dir: string;
167
+ ai_model: string;
168
+ finding_template: string;
169
+ ai?: {
170
+ auditagent_scan_id?: string | undefined;
171
+ } | undefined;
172
+ github?: {
173
+ repo: string;
174
+ default_labels: string[];
175
+ severity_label_prefix: string;
176
+ publish_status: ("verified" | "pending_validation")[];
177
+ } | undefined;
178
+ report?: {
179
+ audit_type: string;
180
+ repository_url?: string | undefined;
181
+ initial_commit?: string | undefined;
182
+ final_commit?: string | undefined;
183
+ initial_report_date?: string | undefined;
184
+ final_report_date?: string | undefined;
185
+ doc_assessment?: "High" | "Medium" | "Low" | undefined;
186
+ test_assessment?: "High" | "Medium" | "Low" | undefined;
187
+ } | undefined;
188
+ };
189
+ }, {
190
+ project: {
191
+ name: string;
192
+ project_dir: string;
193
+ commit: string;
194
+ solidity_version: string;
195
+ scope: string[];
196
+ chain?: string | undefined;
197
+ docs_url?: string | undefined;
198
+ exclude?: string[] | undefined;
199
+ };
200
+ settings: {
201
+ output_dir?: string | undefined;
202
+ ai_model?: string | undefined;
203
+ finding_template?: string | undefined;
204
+ ai?: {
205
+ auditagent_scan_id?: string | undefined;
206
+ } | undefined;
207
+ github?: {
208
+ repo: string;
209
+ default_labels?: string[] | undefined;
210
+ severity_label_prefix?: string | undefined;
211
+ publish_status?: ("verified" | "pending_validation")[] | undefined;
212
+ } | undefined;
213
+ report?: {
214
+ repository_url?: string | undefined;
215
+ initial_commit?: string | undefined;
216
+ final_commit?: string | undefined;
217
+ initial_report_date?: string | undefined;
218
+ final_report_date?: string | undefined;
219
+ audit_type?: string | undefined;
220
+ doc_assessment?: "High" | "Medium" | "Low" | undefined;
221
+ test_assessment?: "High" | "Medium" | "Low" | undefined;
222
+ } | undefined;
223
+ };
224
+ version?: string | undefined;
225
+ }>;
226
+ export declare const CoveragePerContractSchema: z.ZodObject<{
227
+ contract: z.ZodString;
228
+ file: z.ZodString;
229
+ line_pct: z.ZodNumber;
230
+ branch_pct: z.ZodNumber;
231
+ uncovered_lines: z.ZodArray<z.ZodNumber, "many">;
232
+ }, "strip", z.ZodTypeAny, {
233
+ file: string;
234
+ contract: string;
235
+ line_pct: number;
236
+ branch_pct: number;
237
+ uncovered_lines: number[];
238
+ }, {
239
+ file: string;
240
+ contract: string;
241
+ line_pct: number;
242
+ branch_pct: number;
243
+ uncovered_lines: number[];
244
+ }>;
245
+ export declare const TestCoverageSchema: z.ZodObject<{
246
+ status: z.ZodEnum<["available", "failed", "skipped"]>;
247
+ failure_reason: z.ZodNullable<z.ZodString>;
248
+ overall_line_pct: z.ZodNullable<z.ZodNumber>;
249
+ overall_branch_pct: z.ZodNullable<z.ZodNumber>;
250
+ per_contract: z.ZodArray<z.ZodObject<{
251
+ contract: z.ZodString;
252
+ file: z.ZodString;
253
+ line_pct: z.ZodNumber;
254
+ branch_pct: z.ZodNumber;
255
+ uncovered_lines: z.ZodArray<z.ZodNumber, "many">;
256
+ }, "strip", z.ZodTypeAny, {
257
+ file: string;
258
+ contract: string;
259
+ line_pct: number;
260
+ branch_pct: number;
261
+ uncovered_lines: number[];
262
+ }, {
263
+ file: string;
264
+ contract: string;
265
+ line_pct: number;
266
+ branch_pct: number;
267
+ uncovered_lines: number[];
268
+ }>, "many">;
269
+ }, "strip", z.ZodTypeAny, {
270
+ status: "available" | "failed" | "skipped";
271
+ failure_reason: string | null;
272
+ overall_line_pct: number | null;
273
+ overall_branch_pct: number | null;
274
+ per_contract: {
275
+ file: string;
276
+ contract: string;
277
+ line_pct: number;
278
+ branch_pct: number;
279
+ uncovered_lines: number[];
280
+ }[];
281
+ }, {
282
+ status: "available" | "failed" | "skipped";
283
+ failure_reason: string | null;
284
+ overall_line_pct: number | null;
285
+ overall_branch_pct: number | null;
286
+ per_contract: {
287
+ file: string;
288
+ contract: string;
289
+ line_pct: number;
290
+ branch_pct: number;
291
+ uncovered_lines: number[];
292
+ }[];
293
+ }>;
294
+ export declare const PerContractStatsSchema: z.ZodObject<{
295
+ file: z.ZodString;
296
+ contract: z.ZodString;
297
+ type: z.ZodEnum<["contract", "interface", "library", "abstract"]>;
298
+ nsloc: z.ZodNumber;
299
+ functions: z.ZodNumber;
300
+ external_functions: z.ZodNumber;
301
+ public_functions: z.ZodNumber;
302
+ internal_functions: z.ZodNumber;
303
+ private_functions: z.ZodDefault<z.ZodNumber>;
304
+ modifiers: z.ZodNumber;
305
+ events: z.ZodNumber;
306
+ errors: z.ZodNumber;
307
+ assembly_lines: z.ZodNumber;
308
+ inherits: z.ZodArray<z.ZodString, "many">;
309
+ nsloc_with_deps: z.ZodOptional<z.ZodNumber>;
310
+ total_functions: z.ZodOptional<z.ZodNumber>;
311
+ total_external_functions: z.ZodOptional<z.ZodNumber>;
312
+ total_public_functions: z.ZodOptional<z.ZodNumber>;
313
+ total_modifiers: z.ZodOptional<z.ZodNumber>;
314
+ total_events: z.ZodOptional<z.ZodNumber>;
315
+ total_errors: z.ZodOptional<z.ZodNumber>;
316
+ }, "strip", z.ZodTypeAny, {
317
+ file: string;
318
+ type: "contract" | "interface" | "library" | "abstract";
319
+ contract: string;
320
+ nsloc: number;
321
+ functions: number;
322
+ external_functions: number;
323
+ public_functions: number;
324
+ internal_functions: number;
325
+ private_functions: number;
326
+ modifiers: number;
327
+ events: number;
328
+ errors: number;
329
+ assembly_lines: number;
330
+ inherits: string[];
331
+ nsloc_with_deps?: number | undefined;
332
+ total_functions?: number | undefined;
333
+ total_external_functions?: number | undefined;
334
+ total_public_functions?: number | undefined;
335
+ total_modifiers?: number | undefined;
336
+ total_events?: number | undefined;
337
+ total_errors?: number | undefined;
338
+ }, {
339
+ file: string;
340
+ type: "contract" | "interface" | "library" | "abstract";
341
+ contract: string;
342
+ nsloc: number;
343
+ functions: number;
344
+ external_functions: number;
345
+ public_functions: number;
346
+ internal_functions: number;
347
+ modifiers: number;
348
+ events: number;
349
+ errors: number;
350
+ assembly_lines: number;
351
+ inherits: string[];
352
+ private_functions?: number | undefined;
353
+ nsloc_with_deps?: number | undefined;
354
+ total_functions?: number | undefined;
355
+ total_external_functions?: number | undefined;
356
+ total_public_functions?: number | undefined;
357
+ total_modifiers?: number | undefined;
358
+ total_events?: number | undefined;
359
+ total_errors?: number | undefined;
360
+ }>;
361
+ export declare const DependencyEntrySchema: z.ZodObject<{
362
+ package: z.ZodString;
363
+ version: z.ZodNullable<z.ZodString>;
364
+ imports: z.ZodNumber;
365
+ }, "strip", z.ZodTypeAny, {
366
+ version: string | null;
367
+ package: string;
368
+ imports: number;
369
+ }, {
370
+ version: string | null;
371
+ package: string;
372
+ imports: number;
373
+ }>;
374
+ export declare const StatsSchema: z.ZodObject<{
375
+ generated_at: z.ZodString;
376
+ totals: z.ZodObject<{
377
+ files: z.ZodNumber;
378
+ contracts: z.ZodNumber;
379
+ interfaces: z.ZodNumber;
380
+ libraries: z.ZodNumber;
381
+ abstract_contracts: z.ZodNumber;
382
+ total_lines: z.ZodNumber;
383
+ nsloc: z.ZodNumber;
384
+ comment_lines: z.ZodNumber;
385
+ blank_lines: z.ZodNumber;
386
+ assembly_lines: z.ZodNumber;
387
+ nsloc_with_deps: z.ZodOptional<z.ZodNumber>;
388
+ }, "strip", z.ZodTypeAny, {
389
+ nsloc: number;
390
+ assembly_lines: number;
391
+ files: number;
392
+ contracts: number;
393
+ interfaces: number;
394
+ libraries: number;
395
+ abstract_contracts: number;
396
+ total_lines: number;
397
+ comment_lines: number;
398
+ blank_lines: number;
399
+ nsloc_with_deps?: number | undefined;
400
+ }, {
401
+ nsloc: number;
402
+ assembly_lines: number;
403
+ files: number;
404
+ contracts: number;
405
+ interfaces: number;
406
+ libraries: number;
407
+ abstract_contracts: number;
408
+ total_lines: number;
409
+ comment_lines: number;
410
+ blank_lines: number;
411
+ nsloc_with_deps?: number | undefined;
412
+ }>;
413
+ solidity_version: z.ZodString;
414
+ erc_eip_usage: z.ZodArray<z.ZodString, "many">;
415
+ dependencies: z.ZodArray<z.ZodObject<{
416
+ package: z.ZodString;
417
+ version: z.ZodNullable<z.ZodString>;
418
+ imports: z.ZodNumber;
419
+ }, "strip", z.ZodTypeAny, {
420
+ version: string | null;
421
+ package: string;
422
+ imports: number;
423
+ }, {
424
+ version: string | null;
425
+ package: string;
426
+ imports: number;
427
+ }>, "many">;
428
+ test_coverage: z.ZodNullable<z.ZodObject<{
429
+ status: z.ZodEnum<["available", "failed", "skipped"]>;
430
+ failure_reason: z.ZodNullable<z.ZodString>;
431
+ overall_line_pct: z.ZodNullable<z.ZodNumber>;
432
+ overall_branch_pct: z.ZodNullable<z.ZodNumber>;
433
+ per_contract: z.ZodArray<z.ZodObject<{
434
+ contract: z.ZodString;
435
+ file: z.ZodString;
436
+ line_pct: z.ZodNumber;
437
+ branch_pct: z.ZodNumber;
438
+ uncovered_lines: z.ZodArray<z.ZodNumber, "many">;
439
+ }, "strip", z.ZodTypeAny, {
440
+ file: string;
441
+ contract: string;
442
+ line_pct: number;
443
+ branch_pct: number;
444
+ uncovered_lines: number[];
445
+ }, {
446
+ file: string;
447
+ contract: string;
448
+ line_pct: number;
449
+ branch_pct: number;
450
+ uncovered_lines: number[];
451
+ }>, "many">;
452
+ }, "strip", z.ZodTypeAny, {
453
+ status: "available" | "failed" | "skipped";
454
+ failure_reason: string | null;
455
+ overall_line_pct: number | null;
456
+ overall_branch_pct: number | null;
457
+ per_contract: {
458
+ file: string;
459
+ contract: string;
460
+ line_pct: number;
461
+ branch_pct: number;
462
+ uncovered_lines: number[];
463
+ }[];
464
+ }, {
465
+ status: "available" | "failed" | "skipped";
466
+ failure_reason: string | null;
467
+ overall_line_pct: number | null;
468
+ overall_branch_pct: number | null;
469
+ per_contract: {
470
+ file: string;
471
+ contract: string;
472
+ line_pct: number;
473
+ branch_pct: number;
474
+ uncovered_lines: number[];
475
+ }[];
476
+ }>>;
477
+ per_contract: z.ZodArray<z.ZodObject<{
478
+ file: z.ZodString;
479
+ contract: z.ZodString;
480
+ type: z.ZodEnum<["contract", "interface", "library", "abstract"]>;
481
+ nsloc: z.ZodNumber;
482
+ functions: z.ZodNumber;
483
+ external_functions: z.ZodNumber;
484
+ public_functions: z.ZodNumber;
485
+ internal_functions: z.ZodNumber;
486
+ private_functions: z.ZodDefault<z.ZodNumber>;
487
+ modifiers: z.ZodNumber;
488
+ events: z.ZodNumber;
489
+ errors: z.ZodNumber;
490
+ assembly_lines: z.ZodNumber;
491
+ inherits: z.ZodArray<z.ZodString, "many">;
492
+ nsloc_with_deps: z.ZodOptional<z.ZodNumber>;
493
+ total_functions: z.ZodOptional<z.ZodNumber>;
494
+ total_external_functions: z.ZodOptional<z.ZodNumber>;
495
+ total_public_functions: z.ZodOptional<z.ZodNumber>;
496
+ total_modifiers: z.ZodOptional<z.ZodNumber>;
497
+ total_events: z.ZodOptional<z.ZodNumber>;
498
+ total_errors: z.ZodOptional<z.ZodNumber>;
499
+ }, "strip", z.ZodTypeAny, {
500
+ file: string;
501
+ type: "contract" | "interface" | "library" | "abstract";
502
+ contract: string;
503
+ nsloc: number;
504
+ functions: number;
505
+ external_functions: number;
506
+ public_functions: number;
507
+ internal_functions: number;
508
+ private_functions: number;
509
+ modifiers: number;
510
+ events: number;
511
+ errors: number;
512
+ assembly_lines: number;
513
+ inherits: string[];
514
+ nsloc_with_deps?: number | undefined;
515
+ total_functions?: number | undefined;
516
+ total_external_functions?: number | undefined;
517
+ total_public_functions?: number | undefined;
518
+ total_modifiers?: number | undefined;
519
+ total_events?: number | undefined;
520
+ total_errors?: number | undefined;
521
+ }, {
522
+ file: string;
523
+ type: "contract" | "interface" | "library" | "abstract";
524
+ contract: string;
525
+ nsloc: number;
526
+ functions: number;
527
+ external_functions: number;
528
+ public_functions: number;
529
+ internal_functions: number;
530
+ modifiers: number;
531
+ events: number;
532
+ errors: number;
533
+ assembly_lines: number;
534
+ inherits: string[];
535
+ private_functions?: number | undefined;
536
+ nsloc_with_deps?: number | undefined;
537
+ total_functions?: number | undefined;
538
+ total_external_functions?: number | undefined;
539
+ total_public_functions?: number | undefined;
540
+ total_modifiers?: number | undefined;
541
+ total_events?: number | undefined;
542
+ total_errors?: number | undefined;
543
+ }>, "many">;
544
+ }, "strip", z.ZodTypeAny, {
545
+ solidity_version: string;
546
+ per_contract: {
547
+ file: string;
548
+ type: "contract" | "interface" | "library" | "abstract";
549
+ contract: string;
550
+ nsloc: number;
551
+ functions: number;
552
+ external_functions: number;
553
+ public_functions: number;
554
+ internal_functions: number;
555
+ private_functions: number;
556
+ modifiers: number;
557
+ events: number;
558
+ errors: number;
559
+ assembly_lines: number;
560
+ inherits: string[];
561
+ nsloc_with_deps?: number | undefined;
562
+ total_functions?: number | undefined;
563
+ total_external_functions?: number | undefined;
564
+ total_public_functions?: number | undefined;
565
+ total_modifiers?: number | undefined;
566
+ total_events?: number | undefined;
567
+ total_errors?: number | undefined;
568
+ }[];
569
+ generated_at: string;
570
+ totals: {
571
+ nsloc: number;
572
+ assembly_lines: number;
573
+ files: number;
574
+ contracts: number;
575
+ interfaces: number;
576
+ libraries: number;
577
+ abstract_contracts: number;
578
+ total_lines: number;
579
+ comment_lines: number;
580
+ blank_lines: number;
581
+ nsloc_with_deps?: number | undefined;
582
+ };
583
+ erc_eip_usage: string[];
584
+ dependencies: {
585
+ version: string | null;
586
+ package: string;
587
+ imports: number;
588
+ }[];
589
+ test_coverage: {
590
+ status: "available" | "failed" | "skipped";
591
+ failure_reason: string | null;
592
+ overall_line_pct: number | null;
593
+ overall_branch_pct: number | null;
594
+ per_contract: {
595
+ file: string;
596
+ contract: string;
597
+ line_pct: number;
598
+ branch_pct: number;
599
+ uncovered_lines: number[];
600
+ }[];
601
+ } | null;
602
+ }, {
603
+ solidity_version: string;
604
+ per_contract: {
605
+ file: string;
606
+ type: "contract" | "interface" | "library" | "abstract";
607
+ contract: string;
608
+ nsloc: number;
609
+ functions: number;
610
+ external_functions: number;
611
+ public_functions: number;
612
+ internal_functions: number;
613
+ modifiers: number;
614
+ events: number;
615
+ errors: number;
616
+ assembly_lines: number;
617
+ inherits: string[];
618
+ private_functions?: number | undefined;
619
+ nsloc_with_deps?: number | undefined;
620
+ total_functions?: number | undefined;
621
+ total_external_functions?: number | undefined;
622
+ total_public_functions?: number | undefined;
623
+ total_modifiers?: number | undefined;
624
+ total_events?: number | undefined;
625
+ total_errors?: number | undefined;
626
+ }[];
627
+ generated_at: string;
628
+ totals: {
629
+ nsloc: number;
630
+ assembly_lines: number;
631
+ files: number;
632
+ contracts: number;
633
+ interfaces: number;
634
+ libraries: number;
635
+ abstract_contracts: number;
636
+ total_lines: number;
637
+ comment_lines: number;
638
+ blank_lines: number;
639
+ nsloc_with_deps?: number | undefined;
640
+ };
641
+ erc_eip_usage: string[];
642
+ dependencies: {
643
+ version: string | null;
644
+ package: string;
645
+ imports: number;
646
+ }[];
647
+ test_coverage: {
648
+ status: "available" | "failed" | "skipped";
649
+ failure_reason: string | null;
650
+ overall_line_pct: number | null;
651
+ overall_branch_pct: number | null;
652
+ per_contract: {
653
+ file: string;
654
+ contract: string;
655
+ line_pct: number;
656
+ branch_pct: number;
657
+ uncovered_lines: number[];
658
+ }[];
659
+ } | null;
660
+ }>;
661
+ export declare const GraphNodeSchema: z.ZodObject<{
662
+ inherits: z.ZodArray<z.ZodString, "many">;
663
+ imports: z.ZodArray<z.ZodString, "many">;
664
+ calls: z.ZodArray<z.ZodString, "many">;
665
+ }, "strip", z.ZodTypeAny, {
666
+ inherits: string[];
667
+ imports: string[];
668
+ calls: string[];
669
+ }, {
670
+ inherits: string[];
671
+ imports: string[];
672
+ calls: string[];
673
+ }>;
674
+ export declare const ClusterSchema: z.ZodObject<{
675
+ id: z.ZodString;
676
+ contracts: z.ZodArray<z.ZodString, "many">;
677
+ total_nsloc: z.ZodNumber;
678
+ }, "strip", z.ZodTypeAny, {
679
+ contracts: string[];
680
+ id: string;
681
+ total_nsloc: number;
682
+ }, {
683
+ contracts: string[];
684
+ id: string;
685
+ total_nsloc: number;
686
+ }>;
687
+ export declare const DepsSchema: z.ZodObject<{
688
+ graph: z.ZodRecord<z.ZodString, z.ZodObject<{
689
+ inherits: z.ZodArray<z.ZodString, "many">;
690
+ imports: z.ZodArray<z.ZodString, "many">;
691
+ calls: z.ZodArray<z.ZodString, "many">;
692
+ }, "strip", z.ZodTypeAny, {
693
+ inherits: string[];
694
+ imports: string[];
695
+ calls: string[];
696
+ }, {
697
+ inherits: string[];
698
+ imports: string[];
699
+ calls: string[];
700
+ }>>;
701
+ clusters: z.ZodArray<z.ZodObject<{
702
+ id: z.ZodString;
703
+ contracts: z.ZodArray<z.ZodString, "many">;
704
+ total_nsloc: z.ZodNumber;
705
+ }, "strip", z.ZodTypeAny, {
706
+ contracts: string[];
707
+ id: string;
708
+ total_nsloc: number;
709
+ }, {
710
+ contracts: string[];
711
+ id: string;
712
+ total_nsloc: number;
713
+ }>, "many">;
714
+ inheritance_trees: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
715
+ topological_order: z.ZodArray<z.ZodString, "many">;
716
+ }, "strip", z.ZodTypeAny, {
717
+ graph: Record<string, {
718
+ inherits: string[];
719
+ imports: string[];
720
+ calls: string[];
721
+ }>;
722
+ clusters: {
723
+ contracts: string[];
724
+ id: string;
725
+ total_nsloc: number;
726
+ }[];
727
+ inheritance_trees: string[][];
728
+ topological_order: string[];
729
+ }, {
730
+ graph: Record<string, {
731
+ inherits: string[];
732
+ imports: string[];
733
+ calls: string[];
734
+ }>;
735
+ clusters: {
736
+ contracts: string[];
737
+ id: string;
738
+ total_nsloc: number;
739
+ }[];
740
+ inheritance_trees: string[][];
741
+ topological_order: string[];
742
+ }>;
743
+ export declare const AccessFunctionSchema: z.ZodObject<{
744
+ contract: z.ZodString;
745
+ function: z.ZodString;
746
+ visibility: z.ZodEnum<["external", "public", "internal", "private"]>;
747
+ state_mutability: z.ZodNullable<z.ZodEnum<["pure", "view", "nonpayable", "payable"]>>;
748
+ modifiers: z.ZodArray<z.ZodString, "many">;
749
+ evidence: z.ZodObject<{
750
+ file: z.ZodString;
751
+ line_start: z.ZodNumber;
752
+ line_end: z.ZodNumber;
753
+ snippet: z.ZodOptional<z.ZodString>;
754
+ }, "strip", z.ZodTypeAny, {
755
+ file: string;
756
+ line_start: number;
757
+ line_end: number;
758
+ snippet?: string | undefined;
759
+ }, {
760
+ file: string;
761
+ line_start: number;
762
+ line_end: number;
763
+ snippet?: string | undefined;
764
+ }>;
765
+ inherited_from: z.ZodOptional<z.ZodString>;
766
+ inheritance_depth: z.ZodOptional<z.ZodNumber>;
767
+ }, "strip", z.ZodTypeAny, {
768
+ function: string;
769
+ contract: string;
770
+ modifiers: string[];
771
+ visibility: "external" | "public" | "internal" | "private";
772
+ state_mutability: "pure" | "view" | "nonpayable" | "payable" | null;
773
+ evidence: {
774
+ file: string;
775
+ line_start: number;
776
+ line_end: number;
777
+ snippet?: string | undefined;
778
+ };
779
+ inherited_from?: string | undefined;
780
+ inheritance_depth?: number | undefined;
781
+ }, {
782
+ function: string;
783
+ contract: string;
784
+ modifiers: string[];
785
+ visibility: "external" | "public" | "internal" | "private";
786
+ state_mutability: "pure" | "view" | "nonpayable" | "payable" | null;
787
+ evidence: {
788
+ file: string;
789
+ line_start: number;
790
+ line_end: number;
791
+ snippet?: string | undefined;
792
+ };
793
+ inherited_from?: string | undefined;
794
+ inheritance_depth?: number | undefined;
795
+ }>;
796
+ export declare const RoleFunctionRefSchema: z.ZodObject<{
797
+ contract: z.ZodString;
798
+ function: z.ZodString;
799
+ }, "strip", z.ZodTypeAny, {
800
+ function: string;
801
+ contract: string;
802
+ }, {
803
+ function: string;
804
+ contract: string;
805
+ }>;
806
+ export declare const RoleKindSchema: z.ZodEnum<["access_control", "state_check", "guard", "unknown"]>;
807
+ export declare const RoleSchema: z.ZodObject<{
808
+ role: z.ZodString;
809
+ description: z.ZodString;
810
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
811
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
812
+ reasoning: z.ZodString;
813
+ modifier: z.ZodNullable<z.ZodString>;
814
+ functions: z.ZodArray<z.ZodObject<{
815
+ contract: z.ZodString;
816
+ function: z.ZodString;
817
+ }, "strip", z.ZodTypeAny, {
818
+ function: string;
819
+ contract: string;
820
+ }, {
821
+ function: string;
822
+ contract: string;
823
+ }>, "many">;
824
+ warnings: z.ZodArray<z.ZodString, "many">;
825
+ kind: z.ZodDefault<z.ZodEnum<["access_control", "state_check", "guard", "unknown"]>>;
826
+ is_likely_access_control: z.ZodDefault<z.ZodBoolean>;
827
+ }, "strip", z.ZodTypeAny, {
828
+ functions: {
829
+ function: string;
830
+ contract: string;
831
+ }[];
832
+ role: string;
833
+ description: string;
834
+ confidence: "high" | "medium" | "low";
835
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
836
+ reasoning: string;
837
+ modifier: string | null;
838
+ warnings: string[];
839
+ kind: "unknown" | "access_control" | "state_check" | "guard";
840
+ is_likely_access_control: boolean;
841
+ }, {
842
+ functions: {
843
+ function: string;
844
+ contract: string;
845
+ }[];
846
+ role: string;
847
+ description: string;
848
+ confidence: "high" | "medium" | "low";
849
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
850
+ reasoning: string;
851
+ modifier: string | null;
852
+ warnings: string[];
853
+ kind?: "unknown" | "access_control" | "state_check" | "guard" | undefined;
854
+ is_likely_access_control?: boolean | undefined;
855
+ }>;
856
+ export declare const AccessControlSchema: z.ZodObject<{
857
+ functions: z.ZodArray<z.ZodObject<{
858
+ contract: z.ZodString;
859
+ function: z.ZodString;
860
+ visibility: z.ZodEnum<["external", "public", "internal", "private"]>;
861
+ state_mutability: z.ZodNullable<z.ZodEnum<["pure", "view", "nonpayable", "payable"]>>;
862
+ modifiers: z.ZodArray<z.ZodString, "many">;
863
+ evidence: z.ZodObject<{
864
+ file: z.ZodString;
865
+ line_start: z.ZodNumber;
866
+ line_end: z.ZodNumber;
867
+ snippet: z.ZodOptional<z.ZodString>;
868
+ }, "strip", z.ZodTypeAny, {
869
+ file: string;
870
+ line_start: number;
871
+ line_end: number;
872
+ snippet?: string | undefined;
873
+ }, {
874
+ file: string;
875
+ line_start: number;
876
+ line_end: number;
877
+ snippet?: string | undefined;
878
+ }>;
879
+ inherited_from: z.ZodOptional<z.ZodString>;
880
+ inheritance_depth: z.ZodOptional<z.ZodNumber>;
881
+ }, "strip", z.ZodTypeAny, {
882
+ function: string;
883
+ contract: string;
884
+ modifiers: string[];
885
+ visibility: "external" | "public" | "internal" | "private";
886
+ state_mutability: "pure" | "view" | "nonpayable" | "payable" | null;
887
+ evidence: {
888
+ file: string;
889
+ line_start: number;
890
+ line_end: number;
891
+ snippet?: string | undefined;
892
+ };
893
+ inherited_from?: string | undefined;
894
+ inheritance_depth?: number | undefined;
895
+ }, {
896
+ function: string;
897
+ contract: string;
898
+ modifiers: string[];
899
+ visibility: "external" | "public" | "internal" | "private";
900
+ state_mutability: "pure" | "view" | "nonpayable" | "payable" | null;
901
+ evidence: {
902
+ file: string;
903
+ line_start: number;
904
+ line_end: number;
905
+ snippet?: string | undefined;
906
+ };
907
+ inherited_from?: string | undefined;
908
+ inheritance_depth?: number | undefined;
909
+ }>, "many">;
910
+ roles: z.ZodArray<z.ZodObject<{
911
+ role: z.ZodString;
912
+ description: z.ZodString;
913
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
914
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
915
+ reasoning: z.ZodString;
916
+ modifier: z.ZodNullable<z.ZodString>;
917
+ functions: z.ZodArray<z.ZodObject<{
918
+ contract: z.ZodString;
919
+ function: z.ZodString;
920
+ }, "strip", z.ZodTypeAny, {
921
+ function: string;
922
+ contract: string;
923
+ }, {
924
+ function: string;
925
+ contract: string;
926
+ }>, "many">;
927
+ warnings: z.ZodArray<z.ZodString, "many">;
928
+ kind: z.ZodDefault<z.ZodEnum<["access_control", "state_check", "guard", "unknown"]>>;
929
+ is_likely_access_control: z.ZodDefault<z.ZodBoolean>;
930
+ }, "strip", z.ZodTypeAny, {
931
+ functions: {
932
+ function: string;
933
+ contract: string;
934
+ }[];
935
+ role: string;
936
+ description: string;
937
+ confidence: "high" | "medium" | "low";
938
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
939
+ reasoning: string;
940
+ modifier: string | null;
941
+ warnings: string[];
942
+ kind: "unknown" | "access_control" | "state_check" | "guard";
943
+ is_likely_access_control: boolean;
944
+ }, {
945
+ functions: {
946
+ function: string;
947
+ contract: string;
948
+ }[];
949
+ role: string;
950
+ description: string;
951
+ confidence: "high" | "medium" | "low";
952
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
953
+ reasoning: string;
954
+ modifier: string | null;
955
+ warnings: string[];
956
+ kind?: "unknown" | "access_control" | "state_check" | "guard" | undefined;
957
+ is_likely_access_control?: boolean | undefined;
958
+ }>, "many">;
959
+ }, "strip", z.ZodTypeAny, {
960
+ functions: {
961
+ function: string;
962
+ contract: string;
963
+ modifiers: string[];
964
+ visibility: "external" | "public" | "internal" | "private";
965
+ state_mutability: "pure" | "view" | "nonpayable" | "payable" | null;
966
+ evidence: {
967
+ file: string;
968
+ line_start: number;
969
+ line_end: number;
970
+ snippet?: string | undefined;
971
+ };
972
+ inherited_from?: string | undefined;
973
+ inheritance_depth?: number | undefined;
974
+ }[];
975
+ roles: {
976
+ functions: {
977
+ function: string;
978
+ contract: string;
979
+ }[];
980
+ role: string;
981
+ description: string;
982
+ confidence: "high" | "medium" | "low";
983
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
984
+ reasoning: string;
985
+ modifier: string | null;
986
+ warnings: string[];
987
+ kind: "unknown" | "access_control" | "state_check" | "guard";
988
+ is_likely_access_control: boolean;
989
+ }[];
990
+ }, {
991
+ functions: {
992
+ function: string;
993
+ contract: string;
994
+ modifiers: string[];
995
+ visibility: "external" | "public" | "internal" | "private";
996
+ state_mutability: "pure" | "view" | "nonpayable" | "payable" | null;
997
+ evidence: {
998
+ file: string;
999
+ line_start: number;
1000
+ line_end: number;
1001
+ snippet?: string | undefined;
1002
+ };
1003
+ inherited_from?: string | undefined;
1004
+ inheritance_depth?: number | undefined;
1005
+ }[];
1006
+ roles: {
1007
+ functions: {
1008
+ function: string;
1009
+ contract: string;
1010
+ }[];
1011
+ role: string;
1012
+ description: string;
1013
+ confidence: "high" | "medium" | "low";
1014
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1015
+ reasoning: string;
1016
+ modifier: string | null;
1017
+ warnings: string[];
1018
+ kind?: "unknown" | "access_control" | "state_check" | "guard" | undefined;
1019
+ is_likely_access_control?: boolean | undefined;
1020
+ }[];
1021
+ }>;
1022
+ export declare const ReadWriteInfoSchema: z.ZodObject<{
1023
+ functions: z.ZodArray<z.ZodString, "many">;
1024
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1025
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1026
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1027
+ }, "strip", z.ZodTypeAny, {
1028
+ functions: string[];
1029
+ confidence: "high" | "medium" | "low";
1030
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1031
+ warnings?: string[] | undefined;
1032
+ }, {
1033
+ functions: string[];
1034
+ confidence: "high" | "medium" | "low";
1035
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1036
+ warnings?: string[] | undefined;
1037
+ }>;
1038
+ export declare const StateVariableSchema: z.ZodObject<{
1039
+ contract: z.ZodString;
1040
+ name: z.ZodString;
1041
+ type: z.ZodString;
1042
+ visibility: z.ZodEnum<["public", "internal", "private"]>;
1043
+ mutability: z.ZodEnum<["mutable", "constant", "immutable"]>;
1044
+ value: z.ZodOptional<z.ZodString>;
1045
+ evidence: z.ZodObject<{
1046
+ file: z.ZodString;
1047
+ line_start: z.ZodNumber;
1048
+ line_end: z.ZodNumber;
1049
+ snippet: z.ZodOptional<z.ZodString>;
1050
+ }, "strip", z.ZodTypeAny, {
1051
+ file: string;
1052
+ line_start: number;
1053
+ line_end: number;
1054
+ snippet?: string | undefined;
1055
+ }, {
1056
+ file: string;
1057
+ line_start: number;
1058
+ line_end: number;
1059
+ snippet?: string | undefined;
1060
+ }>;
1061
+ written_by: z.ZodObject<{
1062
+ functions: z.ZodArray<z.ZodString, "many">;
1063
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1064
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1065
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ functions: string[];
1068
+ confidence: "high" | "medium" | "low";
1069
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1070
+ warnings?: string[] | undefined;
1071
+ }, {
1072
+ functions: string[];
1073
+ confidence: "high" | "medium" | "low";
1074
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1075
+ warnings?: string[] | undefined;
1076
+ }>;
1077
+ read_by: z.ZodObject<{
1078
+ functions: z.ZodArray<z.ZodString, "many">;
1079
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1080
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1081
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1082
+ }, "strip", z.ZodTypeAny, {
1083
+ functions: string[];
1084
+ confidence: "high" | "medium" | "low";
1085
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1086
+ warnings?: string[] | undefined;
1087
+ }, {
1088
+ functions: string[];
1089
+ confidence: "high" | "medium" | "low";
1090
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1091
+ warnings?: string[] | undefined;
1092
+ }>;
1093
+ has_setter: z.ZodBoolean;
1094
+ is_bounded: z.ZodBoolean;
1095
+ bound_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1096
+ is_unused: z.ZodOptional<z.ZodBoolean>;
1097
+ storage_slot: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ type: string;
1100
+ name: string;
1101
+ contract: string;
1102
+ visibility: "public" | "internal" | "private";
1103
+ evidence: {
1104
+ file: string;
1105
+ line_start: number;
1106
+ line_end: number;
1107
+ snippet?: string | undefined;
1108
+ };
1109
+ mutability: "mutable" | "constant" | "immutable";
1110
+ written_by: {
1111
+ functions: string[];
1112
+ confidence: "high" | "medium" | "low";
1113
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1114
+ warnings?: string[] | undefined;
1115
+ };
1116
+ read_by: {
1117
+ functions: string[];
1118
+ confidence: "high" | "medium" | "low";
1119
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1120
+ warnings?: string[] | undefined;
1121
+ };
1122
+ has_setter: boolean;
1123
+ is_bounded: boolean;
1124
+ value?: string | undefined;
1125
+ bound_description?: string | null | undefined;
1126
+ is_unused?: boolean | undefined;
1127
+ storage_slot?: number | null | undefined;
1128
+ }, {
1129
+ type: string;
1130
+ name: string;
1131
+ contract: string;
1132
+ visibility: "public" | "internal" | "private";
1133
+ evidence: {
1134
+ file: string;
1135
+ line_start: number;
1136
+ line_end: number;
1137
+ snippet?: string | undefined;
1138
+ };
1139
+ mutability: "mutable" | "constant" | "immutable";
1140
+ written_by: {
1141
+ functions: string[];
1142
+ confidence: "high" | "medium" | "low";
1143
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1144
+ warnings?: string[] | undefined;
1145
+ };
1146
+ read_by: {
1147
+ functions: string[];
1148
+ confidence: "high" | "medium" | "low";
1149
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1150
+ warnings?: string[] | undefined;
1151
+ };
1152
+ has_setter: boolean;
1153
+ is_bounded: boolean;
1154
+ value?: string | undefined;
1155
+ bound_description?: string | null | undefined;
1156
+ is_unused?: boolean | undefined;
1157
+ storage_slot?: number | null | undefined;
1158
+ }>;
1159
+ export declare const StorageCollisionVariableSchema: z.ZodObject<{
1160
+ contract: z.ZodString;
1161
+ name: z.ZodString;
1162
+ type: z.ZodString;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ type: string;
1165
+ name: string;
1166
+ contract: string;
1167
+ }, {
1168
+ type: string;
1169
+ name: string;
1170
+ contract: string;
1171
+ }>;
1172
+ export declare const StorageCollisionSchema: z.ZodObject<{
1173
+ slot: z.ZodNumber;
1174
+ offset: z.ZodDefault<z.ZodNumber>;
1175
+ variables: z.ZodArray<z.ZodObject<{
1176
+ contract: z.ZodString;
1177
+ name: z.ZodString;
1178
+ type: z.ZodString;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ type: string;
1181
+ name: string;
1182
+ contract: string;
1183
+ }, {
1184
+ type: string;
1185
+ name: string;
1186
+ contract: string;
1187
+ }>, "many">;
1188
+ severity: z.ZodDefault<z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>>;
1189
+ description: z.ZodString;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ description: string;
1192
+ slot: number;
1193
+ offset: number;
1194
+ variables: {
1195
+ type: string;
1196
+ name: string;
1197
+ contract: string;
1198
+ }[];
1199
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
1200
+ }, {
1201
+ description: string;
1202
+ slot: number;
1203
+ variables: {
1204
+ type: string;
1205
+ name: string;
1206
+ contract: string;
1207
+ }[];
1208
+ offset?: number | undefined;
1209
+ severity?: "Critical" | "High" | "Medium" | "Low" | "Info" | undefined;
1210
+ }>;
1211
+ export declare const StateVarsSchema: z.ZodObject<{
1212
+ variables: z.ZodArray<z.ZodObject<{
1213
+ contract: z.ZodString;
1214
+ name: z.ZodString;
1215
+ type: z.ZodString;
1216
+ visibility: z.ZodEnum<["public", "internal", "private"]>;
1217
+ mutability: z.ZodEnum<["mutable", "constant", "immutable"]>;
1218
+ value: z.ZodOptional<z.ZodString>;
1219
+ evidence: z.ZodObject<{
1220
+ file: z.ZodString;
1221
+ line_start: z.ZodNumber;
1222
+ line_end: z.ZodNumber;
1223
+ snippet: z.ZodOptional<z.ZodString>;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ file: string;
1226
+ line_start: number;
1227
+ line_end: number;
1228
+ snippet?: string | undefined;
1229
+ }, {
1230
+ file: string;
1231
+ line_start: number;
1232
+ line_end: number;
1233
+ snippet?: string | undefined;
1234
+ }>;
1235
+ written_by: z.ZodObject<{
1236
+ functions: z.ZodArray<z.ZodString, "many">;
1237
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1238
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1239
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ functions: string[];
1242
+ confidence: "high" | "medium" | "low";
1243
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1244
+ warnings?: string[] | undefined;
1245
+ }, {
1246
+ functions: string[];
1247
+ confidence: "high" | "medium" | "low";
1248
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1249
+ warnings?: string[] | undefined;
1250
+ }>;
1251
+ read_by: z.ZodObject<{
1252
+ functions: z.ZodArray<z.ZodString, "many">;
1253
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1254
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1255
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1256
+ }, "strip", z.ZodTypeAny, {
1257
+ functions: string[];
1258
+ confidence: "high" | "medium" | "low";
1259
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1260
+ warnings?: string[] | undefined;
1261
+ }, {
1262
+ functions: string[];
1263
+ confidence: "high" | "medium" | "low";
1264
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1265
+ warnings?: string[] | undefined;
1266
+ }>;
1267
+ has_setter: z.ZodBoolean;
1268
+ is_bounded: z.ZodBoolean;
1269
+ bound_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1270
+ is_unused: z.ZodOptional<z.ZodBoolean>;
1271
+ storage_slot: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1272
+ }, "strip", z.ZodTypeAny, {
1273
+ type: string;
1274
+ name: string;
1275
+ contract: string;
1276
+ visibility: "public" | "internal" | "private";
1277
+ evidence: {
1278
+ file: string;
1279
+ line_start: number;
1280
+ line_end: number;
1281
+ snippet?: string | undefined;
1282
+ };
1283
+ mutability: "mutable" | "constant" | "immutable";
1284
+ written_by: {
1285
+ functions: string[];
1286
+ confidence: "high" | "medium" | "low";
1287
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1288
+ warnings?: string[] | undefined;
1289
+ };
1290
+ read_by: {
1291
+ functions: string[];
1292
+ confidence: "high" | "medium" | "low";
1293
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1294
+ warnings?: string[] | undefined;
1295
+ };
1296
+ has_setter: boolean;
1297
+ is_bounded: boolean;
1298
+ value?: string | undefined;
1299
+ bound_description?: string | null | undefined;
1300
+ is_unused?: boolean | undefined;
1301
+ storage_slot?: number | null | undefined;
1302
+ }, {
1303
+ type: string;
1304
+ name: string;
1305
+ contract: string;
1306
+ visibility: "public" | "internal" | "private";
1307
+ evidence: {
1308
+ file: string;
1309
+ line_start: number;
1310
+ line_end: number;
1311
+ snippet?: string | undefined;
1312
+ };
1313
+ mutability: "mutable" | "constant" | "immutable";
1314
+ written_by: {
1315
+ functions: string[];
1316
+ confidence: "high" | "medium" | "low";
1317
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1318
+ warnings?: string[] | undefined;
1319
+ };
1320
+ read_by: {
1321
+ functions: string[];
1322
+ confidence: "high" | "medium" | "low";
1323
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1324
+ warnings?: string[] | undefined;
1325
+ };
1326
+ has_setter: boolean;
1327
+ is_bounded: boolean;
1328
+ value?: string | undefined;
1329
+ bound_description?: string | null | undefined;
1330
+ is_unused?: boolean | undefined;
1331
+ storage_slot?: number | null | undefined;
1332
+ }>, "many">;
1333
+ storage_layout_source: z.ZodNullable<z.ZodEnum<["compiler-artifact"]>>;
1334
+ storage_collisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1335
+ slot: z.ZodNumber;
1336
+ offset: z.ZodDefault<z.ZodNumber>;
1337
+ variables: z.ZodArray<z.ZodObject<{
1338
+ contract: z.ZodString;
1339
+ name: z.ZodString;
1340
+ type: z.ZodString;
1341
+ }, "strip", z.ZodTypeAny, {
1342
+ type: string;
1343
+ name: string;
1344
+ contract: string;
1345
+ }, {
1346
+ type: string;
1347
+ name: string;
1348
+ contract: string;
1349
+ }>, "many">;
1350
+ severity: z.ZodDefault<z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>>;
1351
+ description: z.ZodString;
1352
+ }, "strip", z.ZodTypeAny, {
1353
+ description: string;
1354
+ slot: number;
1355
+ offset: number;
1356
+ variables: {
1357
+ type: string;
1358
+ name: string;
1359
+ contract: string;
1360
+ }[];
1361
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
1362
+ }, {
1363
+ description: string;
1364
+ slot: number;
1365
+ variables: {
1366
+ type: string;
1367
+ name: string;
1368
+ contract: string;
1369
+ }[];
1370
+ offset?: number | undefined;
1371
+ severity?: "Critical" | "High" | "Medium" | "Low" | "Info" | undefined;
1372
+ }>, "many">>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ variables: {
1375
+ type: string;
1376
+ name: string;
1377
+ contract: string;
1378
+ visibility: "public" | "internal" | "private";
1379
+ evidence: {
1380
+ file: string;
1381
+ line_start: number;
1382
+ line_end: number;
1383
+ snippet?: string | undefined;
1384
+ };
1385
+ mutability: "mutable" | "constant" | "immutable";
1386
+ written_by: {
1387
+ functions: string[];
1388
+ confidence: "high" | "medium" | "low";
1389
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1390
+ warnings?: string[] | undefined;
1391
+ };
1392
+ read_by: {
1393
+ functions: string[];
1394
+ confidence: "high" | "medium" | "low";
1395
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1396
+ warnings?: string[] | undefined;
1397
+ };
1398
+ has_setter: boolean;
1399
+ is_bounded: boolean;
1400
+ value?: string | undefined;
1401
+ bound_description?: string | null | undefined;
1402
+ is_unused?: boolean | undefined;
1403
+ storage_slot?: number | null | undefined;
1404
+ }[];
1405
+ storage_layout_source: "compiler-artifact" | null;
1406
+ storage_collisions: {
1407
+ description: string;
1408
+ slot: number;
1409
+ offset: number;
1410
+ variables: {
1411
+ type: string;
1412
+ name: string;
1413
+ contract: string;
1414
+ }[];
1415
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
1416
+ }[];
1417
+ }, {
1418
+ variables: {
1419
+ type: string;
1420
+ name: string;
1421
+ contract: string;
1422
+ visibility: "public" | "internal" | "private";
1423
+ evidence: {
1424
+ file: string;
1425
+ line_start: number;
1426
+ line_end: number;
1427
+ snippet?: string | undefined;
1428
+ };
1429
+ mutability: "mutable" | "constant" | "immutable";
1430
+ written_by: {
1431
+ functions: string[];
1432
+ confidence: "high" | "medium" | "low";
1433
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1434
+ warnings?: string[] | undefined;
1435
+ };
1436
+ read_by: {
1437
+ functions: string[];
1438
+ confidence: "high" | "medium" | "low";
1439
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1440
+ warnings?: string[] | undefined;
1441
+ };
1442
+ has_setter: boolean;
1443
+ is_bounded: boolean;
1444
+ value?: string | undefined;
1445
+ bound_description?: string | null | undefined;
1446
+ is_unused?: boolean | undefined;
1447
+ storage_slot?: number | null | undefined;
1448
+ }[];
1449
+ storage_layout_source: "compiler-artifact" | null;
1450
+ storage_collisions?: {
1451
+ description: string;
1452
+ slot: number;
1453
+ variables: {
1454
+ type: string;
1455
+ name: string;
1456
+ contract: string;
1457
+ }[];
1458
+ offset?: number | undefined;
1459
+ severity?: "Critical" | "High" | "Medium" | "Low" | "Info" | undefined;
1460
+ }[] | undefined;
1461
+ }>;
1462
+ export declare const ConfidenceValueSchema: z.ZodObject<{
1463
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
1464
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1465
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1466
+ reasoning: z.ZodOptional<z.ZodString>;
1467
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1468
+ guard_type: z.ZodOptional<z.ZodString>;
1469
+ }, "strip", z.ZodTypeAny, {
1470
+ value: string | boolean;
1471
+ confidence: "high" | "medium" | "low";
1472
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1473
+ reasoning?: string | undefined;
1474
+ warnings?: string[] | undefined;
1475
+ guard_type?: string | undefined;
1476
+ }, {
1477
+ value: string | boolean;
1478
+ confidence: "high" | "medium" | "low";
1479
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1480
+ reasoning?: string | undefined;
1481
+ warnings?: string[] | undefined;
1482
+ guard_type?: string | undefined;
1483
+ }>;
1484
+ export declare const ExternalCallSchema: z.ZodObject<{
1485
+ contract: z.ZodString;
1486
+ function: z.ZodString;
1487
+ evidence: z.ZodObject<{
1488
+ file: z.ZodString;
1489
+ line_start: z.ZodNumber;
1490
+ line_end: z.ZodNumber;
1491
+ snippet: z.ZodOptional<z.ZodString>;
1492
+ }, "strip", z.ZodTypeAny, {
1493
+ file: string;
1494
+ line_start: number;
1495
+ line_end: number;
1496
+ snippet?: string | undefined;
1497
+ }, {
1498
+ file: string;
1499
+ line_start: number;
1500
+ line_end: number;
1501
+ snippet?: string | undefined;
1502
+ }>;
1503
+ target: z.ZodString;
1504
+ method: z.ZodString;
1505
+ return_checked: z.ZodObject<{
1506
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
1507
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1508
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1509
+ reasoning: z.ZodOptional<z.ZodString>;
1510
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1511
+ guard_type: z.ZodOptional<z.ZodString>;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ value: string | boolean;
1514
+ confidence: "high" | "medium" | "low";
1515
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1516
+ reasoning?: string | undefined;
1517
+ warnings?: string[] | undefined;
1518
+ guard_type?: string | undefined;
1519
+ }, {
1520
+ value: string | boolean;
1521
+ confidence: "high" | "medium" | "low";
1522
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1523
+ reasoning?: string | undefined;
1524
+ warnings?: string[] | undefined;
1525
+ guard_type?: string | undefined;
1526
+ }>;
1527
+ inside_reentrancy_guard: z.ZodObject<{
1528
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
1529
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1530
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1531
+ reasoning: z.ZodOptional<z.ZodString>;
1532
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1533
+ guard_type: z.ZodOptional<z.ZodString>;
1534
+ }, "strip", z.ZodTypeAny, {
1535
+ value: string | boolean;
1536
+ confidence: "high" | "medium" | "low";
1537
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1538
+ reasoning?: string | undefined;
1539
+ warnings?: string[] | undefined;
1540
+ guard_type?: string | undefined;
1541
+ }, {
1542
+ value: string | boolean;
1543
+ confidence: "high" | "medium" | "low";
1544
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1545
+ reasoning?: string | undefined;
1546
+ warnings?: string[] | undefined;
1547
+ guard_type?: string | undefined;
1548
+ }>;
1549
+ call_type: z.ZodString;
1550
+ trust_level: z.ZodObject<{
1551
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
1552
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1553
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1554
+ reasoning: z.ZodOptional<z.ZodString>;
1555
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1556
+ guard_type: z.ZodOptional<z.ZodString>;
1557
+ }, "strip", z.ZodTypeAny, {
1558
+ value: string | boolean;
1559
+ confidence: "high" | "medium" | "low";
1560
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1561
+ reasoning?: string | undefined;
1562
+ warnings?: string[] | undefined;
1563
+ guard_type?: string | undefined;
1564
+ }, {
1565
+ value: string | boolean;
1566
+ confidence: "high" | "medium" | "low";
1567
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1568
+ reasoning?: string | undefined;
1569
+ warnings?: string[] | undefined;
1570
+ guard_type?: string | undefined;
1571
+ }>;
1572
+ }, "strip", z.ZodTypeAny, {
1573
+ function: string;
1574
+ contract: string;
1575
+ evidence: {
1576
+ file: string;
1577
+ line_start: number;
1578
+ line_end: number;
1579
+ snippet?: string | undefined;
1580
+ };
1581
+ target: string;
1582
+ method: string;
1583
+ return_checked: {
1584
+ value: string | boolean;
1585
+ confidence: "high" | "medium" | "low";
1586
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1587
+ reasoning?: string | undefined;
1588
+ warnings?: string[] | undefined;
1589
+ guard_type?: string | undefined;
1590
+ };
1591
+ inside_reentrancy_guard: {
1592
+ value: string | boolean;
1593
+ confidence: "high" | "medium" | "low";
1594
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1595
+ reasoning?: string | undefined;
1596
+ warnings?: string[] | undefined;
1597
+ guard_type?: string | undefined;
1598
+ };
1599
+ call_type: string;
1600
+ trust_level: {
1601
+ value: string | boolean;
1602
+ confidence: "high" | "medium" | "low";
1603
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1604
+ reasoning?: string | undefined;
1605
+ warnings?: string[] | undefined;
1606
+ guard_type?: string | undefined;
1607
+ };
1608
+ }, {
1609
+ function: string;
1610
+ contract: string;
1611
+ evidence: {
1612
+ file: string;
1613
+ line_start: number;
1614
+ line_end: number;
1615
+ snippet?: string | undefined;
1616
+ };
1617
+ target: string;
1618
+ method: string;
1619
+ return_checked: {
1620
+ value: string | boolean;
1621
+ confidence: "high" | "medium" | "low";
1622
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1623
+ reasoning?: string | undefined;
1624
+ warnings?: string[] | undefined;
1625
+ guard_type?: string | undefined;
1626
+ };
1627
+ inside_reentrancy_guard: {
1628
+ value: string | boolean;
1629
+ confidence: "high" | "medium" | "low";
1630
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1631
+ reasoning?: string | undefined;
1632
+ warnings?: string[] | undefined;
1633
+ guard_type?: string | undefined;
1634
+ };
1635
+ call_type: string;
1636
+ trust_level: {
1637
+ value: string | boolean;
1638
+ confidence: "high" | "medium" | "low";
1639
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1640
+ reasoning?: string | undefined;
1641
+ warnings?: string[] | undefined;
1642
+ guard_type?: string | undefined;
1643
+ };
1644
+ }>;
1645
+ export declare const ExternalCallsSchema: z.ZodObject<{
1646
+ calls: z.ZodArray<z.ZodObject<{
1647
+ contract: z.ZodString;
1648
+ function: z.ZodString;
1649
+ evidence: z.ZodObject<{
1650
+ file: z.ZodString;
1651
+ line_start: z.ZodNumber;
1652
+ line_end: z.ZodNumber;
1653
+ snippet: z.ZodOptional<z.ZodString>;
1654
+ }, "strip", z.ZodTypeAny, {
1655
+ file: string;
1656
+ line_start: number;
1657
+ line_end: number;
1658
+ snippet?: string | undefined;
1659
+ }, {
1660
+ file: string;
1661
+ line_start: number;
1662
+ line_end: number;
1663
+ snippet?: string | undefined;
1664
+ }>;
1665
+ target: z.ZodString;
1666
+ method: z.ZodString;
1667
+ return_checked: z.ZodObject<{
1668
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
1669
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1670
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1671
+ reasoning: z.ZodOptional<z.ZodString>;
1672
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1673
+ guard_type: z.ZodOptional<z.ZodString>;
1674
+ }, "strip", z.ZodTypeAny, {
1675
+ value: string | boolean;
1676
+ confidence: "high" | "medium" | "low";
1677
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1678
+ reasoning?: string | undefined;
1679
+ warnings?: string[] | undefined;
1680
+ guard_type?: string | undefined;
1681
+ }, {
1682
+ value: string | boolean;
1683
+ confidence: "high" | "medium" | "low";
1684
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1685
+ reasoning?: string | undefined;
1686
+ warnings?: string[] | undefined;
1687
+ guard_type?: string | undefined;
1688
+ }>;
1689
+ inside_reentrancy_guard: z.ZodObject<{
1690
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
1691
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1692
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1693
+ reasoning: z.ZodOptional<z.ZodString>;
1694
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1695
+ guard_type: z.ZodOptional<z.ZodString>;
1696
+ }, "strip", z.ZodTypeAny, {
1697
+ value: string | boolean;
1698
+ confidence: "high" | "medium" | "low";
1699
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1700
+ reasoning?: string | undefined;
1701
+ warnings?: string[] | undefined;
1702
+ guard_type?: string | undefined;
1703
+ }, {
1704
+ value: string | boolean;
1705
+ confidence: "high" | "medium" | "low";
1706
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1707
+ reasoning?: string | undefined;
1708
+ warnings?: string[] | undefined;
1709
+ guard_type?: string | undefined;
1710
+ }>;
1711
+ call_type: z.ZodString;
1712
+ trust_level: z.ZodObject<{
1713
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
1714
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1715
+ derived_from: z.ZodEnum<["solc-ast", "slither", "forge", "regex", "heuristic", "compiler-layout", "manual"]>;
1716
+ reasoning: z.ZodOptional<z.ZodString>;
1717
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1718
+ guard_type: z.ZodOptional<z.ZodString>;
1719
+ }, "strip", z.ZodTypeAny, {
1720
+ value: string | boolean;
1721
+ confidence: "high" | "medium" | "low";
1722
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1723
+ reasoning?: string | undefined;
1724
+ warnings?: string[] | undefined;
1725
+ guard_type?: string | undefined;
1726
+ }, {
1727
+ value: string | boolean;
1728
+ confidence: "high" | "medium" | "low";
1729
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1730
+ reasoning?: string | undefined;
1731
+ warnings?: string[] | undefined;
1732
+ guard_type?: string | undefined;
1733
+ }>;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ function: string;
1736
+ contract: string;
1737
+ evidence: {
1738
+ file: string;
1739
+ line_start: number;
1740
+ line_end: number;
1741
+ snippet?: string | undefined;
1742
+ };
1743
+ target: string;
1744
+ method: string;
1745
+ return_checked: {
1746
+ value: string | boolean;
1747
+ confidence: "high" | "medium" | "low";
1748
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1749
+ reasoning?: string | undefined;
1750
+ warnings?: string[] | undefined;
1751
+ guard_type?: string | undefined;
1752
+ };
1753
+ inside_reentrancy_guard: {
1754
+ value: string | boolean;
1755
+ confidence: "high" | "medium" | "low";
1756
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1757
+ reasoning?: string | undefined;
1758
+ warnings?: string[] | undefined;
1759
+ guard_type?: string | undefined;
1760
+ };
1761
+ call_type: string;
1762
+ trust_level: {
1763
+ value: string | boolean;
1764
+ confidence: "high" | "medium" | "low";
1765
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1766
+ reasoning?: string | undefined;
1767
+ warnings?: string[] | undefined;
1768
+ guard_type?: string | undefined;
1769
+ };
1770
+ }, {
1771
+ function: string;
1772
+ contract: string;
1773
+ evidence: {
1774
+ file: string;
1775
+ line_start: number;
1776
+ line_end: number;
1777
+ snippet?: string | undefined;
1778
+ };
1779
+ target: string;
1780
+ method: string;
1781
+ return_checked: {
1782
+ value: string | boolean;
1783
+ confidence: "high" | "medium" | "low";
1784
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1785
+ reasoning?: string | undefined;
1786
+ warnings?: string[] | undefined;
1787
+ guard_type?: string | undefined;
1788
+ };
1789
+ inside_reentrancy_guard: {
1790
+ value: string | boolean;
1791
+ confidence: "high" | "medium" | "low";
1792
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1793
+ reasoning?: string | undefined;
1794
+ warnings?: string[] | undefined;
1795
+ guard_type?: string | undefined;
1796
+ };
1797
+ call_type: string;
1798
+ trust_level: {
1799
+ value: string | boolean;
1800
+ confidence: "high" | "medium" | "low";
1801
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1802
+ reasoning?: string | undefined;
1803
+ warnings?: string[] | undefined;
1804
+ guard_type?: string | undefined;
1805
+ };
1806
+ }>, "many">;
1807
+ }, "strip", z.ZodTypeAny, {
1808
+ calls: {
1809
+ function: string;
1810
+ contract: string;
1811
+ evidence: {
1812
+ file: string;
1813
+ line_start: number;
1814
+ line_end: number;
1815
+ snippet?: string | undefined;
1816
+ };
1817
+ target: string;
1818
+ method: string;
1819
+ return_checked: {
1820
+ value: string | boolean;
1821
+ confidence: "high" | "medium" | "low";
1822
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1823
+ reasoning?: string | undefined;
1824
+ warnings?: string[] | undefined;
1825
+ guard_type?: string | undefined;
1826
+ };
1827
+ inside_reentrancy_guard: {
1828
+ value: string | boolean;
1829
+ confidence: "high" | "medium" | "low";
1830
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1831
+ reasoning?: string | undefined;
1832
+ warnings?: string[] | undefined;
1833
+ guard_type?: string | undefined;
1834
+ };
1835
+ call_type: string;
1836
+ trust_level: {
1837
+ value: string | boolean;
1838
+ confidence: "high" | "medium" | "low";
1839
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1840
+ reasoning?: string | undefined;
1841
+ warnings?: string[] | undefined;
1842
+ guard_type?: string | undefined;
1843
+ };
1844
+ }[];
1845
+ }, {
1846
+ calls: {
1847
+ function: string;
1848
+ contract: string;
1849
+ evidence: {
1850
+ file: string;
1851
+ line_start: number;
1852
+ line_end: number;
1853
+ snippet?: string | undefined;
1854
+ };
1855
+ target: string;
1856
+ method: string;
1857
+ return_checked: {
1858
+ value: string | boolean;
1859
+ confidence: "high" | "medium" | "low";
1860
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1861
+ reasoning?: string | undefined;
1862
+ warnings?: string[] | undefined;
1863
+ guard_type?: string | undefined;
1864
+ };
1865
+ inside_reentrancy_guard: {
1866
+ value: string | boolean;
1867
+ confidence: "high" | "medium" | "low";
1868
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1869
+ reasoning?: string | undefined;
1870
+ warnings?: string[] | undefined;
1871
+ guard_type?: string | undefined;
1872
+ };
1873
+ call_type: string;
1874
+ trust_level: {
1875
+ value: string | boolean;
1876
+ confidence: "high" | "medium" | "low";
1877
+ derived_from: "solc-ast" | "slither" | "forge" | "regex" | "heuristic" | "compiler-layout" | "manual";
1878
+ reasoning?: string | undefined;
1879
+ warnings?: string[] | undefined;
1880
+ guard_type?: string | undefined;
1881
+ };
1882
+ }[];
1883
+ }>;
1884
+ export declare const FindingLocationSchema: z.ZodObject<{
1885
+ file: z.ZodString;
1886
+ snippet: z.ZodOptional<z.ZodString>;
1887
+ }, "strip", z.ZodTypeAny, {
1888
+ file: string;
1889
+ snippet?: string | undefined;
1890
+ }, {
1891
+ file: string;
1892
+ snippet?: string | undefined;
1893
+ }>;
1894
+ export declare const GithubCommentSchema: z.ZodObject<{
1895
+ id: z.ZodOptional<z.ZodNumber>;
1896
+ author: z.ZodString;
1897
+ body: z.ZodString;
1898
+ created_at: z.ZodString;
1899
+ url: z.ZodOptional<z.ZodString>;
1900
+ }, "strip", z.ZodTypeAny, {
1901
+ author: string;
1902
+ body: string;
1903
+ created_at: string;
1904
+ id?: number | undefined;
1905
+ url?: string | undefined;
1906
+ }, {
1907
+ author: string;
1908
+ body: string;
1909
+ created_at: string;
1910
+ id?: number | undefined;
1911
+ url?: string | undefined;
1912
+ }>;
1913
+ export declare const GithubLinkSchema: z.ZodObject<{
1914
+ issue_number: z.ZodNumber;
1915
+ issue_url: z.ZodString;
1916
+ state: z.ZodDefault<z.ZodEnum<["open", "closed"]>>;
1917
+ last_synced_at: z.ZodString;
1918
+ sync_status: z.ZodDefault<z.ZodEnum<["in_sync", "local_ahead", "remote_ahead", "conflict"]>>;
1919
+ comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
1920
+ id: z.ZodOptional<z.ZodNumber>;
1921
+ author: z.ZodString;
1922
+ body: z.ZodString;
1923
+ created_at: z.ZodString;
1924
+ url: z.ZodOptional<z.ZodString>;
1925
+ }, "strip", z.ZodTypeAny, {
1926
+ author: string;
1927
+ body: string;
1928
+ created_at: string;
1929
+ id?: number | undefined;
1930
+ url?: string | undefined;
1931
+ }, {
1932
+ author: string;
1933
+ body: string;
1934
+ created_at: string;
1935
+ id?: number | undefined;
1936
+ url?: string | undefined;
1937
+ }>, "many">>;
1938
+ }, "strip", z.ZodTypeAny, {
1939
+ issue_number: number;
1940
+ issue_url: string;
1941
+ state: "open" | "closed";
1942
+ last_synced_at: string;
1943
+ sync_status: "in_sync" | "local_ahead" | "remote_ahead" | "conflict";
1944
+ comments: {
1945
+ author: string;
1946
+ body: string;
1947
+ created_at: string;
1948
+ id?: number | undefined;
1949
+ url?: string | undefined;
1950
+ }[];
1951
+ }, {
1952
+ issue_number: number;
1953
+ issue_url: string;
1954
+ last_synced_at: string;
1955
+ state?: "open" | "closed" | undefined;
1956
+ sync_status?: "in_sync" | "local_ahead" | "remote_ahead" | "conflict" | undefined;
1957
+ comments?: {
1958
+ author: string;
1959
+ body: string;
1960
+ created_at: string;
1961
+ id?: number | undefined;
1962
+ url?: string | undefined;
1963
+ }[] | undefined;
1964
+ }>;
1965
+ export declare const ResolutionSchema: z.ZodEnum<["Fixed", "Mitigated", "Acknowledged", "Not Fixed", "Unresolved"]>;
1966
+ export declare const FindingSchema: z.ZodObject<{
1967
+ id: z.ZodString;
1968
+ title: z.ZodString;
1969
+ severity: z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>;
1970
+ category: z.ZodString;
1971
+ description: z.ZodString;
1972
+ root_cause: z.ZodObject<{
1973
+ locations: z.ZodArray<z.ZodObject<{
1974
+ file: z.ZodString;
1975
+ snippet: z.ZodOptional<z.ZodString>;
1976
+ }, "strip", z.ZodTypeAny, {
1977
+ file: string;
1978
+ snippet?: string | undefined;
1979
+ }, {
1980
+ file: string;
1981
+ snippet?: string | undefined;
1982
+ }>, "many">;
1983
+ }, "strip", z.ZodTypeAny, {
1984
+ locations: {
1985
+ file: string;
1986
+ snippet?: string | undefined;
1987
+ }[];
1988
+ }, {
1989
+ locations: {
1990
+ file: string;
1991
+ snippet?: string | undefined;
1992
+ }[];
1993
+ }>;
1994
+ poc: z.ZodObject<{
1995
+ status: z.ZodEnum<["passing", "failing", "not_started"]>;
1996
+ file: z.ZodNullable<z.ZodString>;
1997
+ validation_memo: z.ZodNullable<z.ZodString>;
1998
+ }, "strip", z.ZodTypeAny, {
1999
+ file: string | null;
2000
+ status: "passing" | "failing" | "not_started";
2001
+ validation_memo: string | null;
2002
+ }, {
2003
+ file: string | null;
2004
+ status: "passing" | "failing" | "not_started";
2005
+ validation_memo: string | null;
2006
+ }>;
2007
+ recommendation: z.ZodString;
2008
+ references: z.ZodObject<{
2009
+ external_links: z.ZodArray<z.ZodString, "many">;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ external_links: string[];
2012
+ }, {
2013
+ external_links: string[];
2014
+ }>;
2015
+ created_at: z.ZodString;
2016
+ github: z.ZodOptional<z.ZodObject<{
2017
+ issue_number: z.ZodNumber;
2018
+ issue_url: z.ZodString;
2019
+ state: z.ZodDefault<z.ZodEnum<["open", "closed"]>>;
2020
+ last_synced_at: z.ZodString;
2021
+ sync_status: z.ZodDefault<z.ZodEnum<["in_sync", "local_ahead", "remote_ahead", "conflict"]>>;
2022
+ comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2023
+ id: z.ZodOptional<z.ZodNumber>;
2024
+ author: z.ZodString;
2025
+ body: z.ZodString;
2026
+ created_at: z.ZodString;
2027
+ url: z.ZodOptional<z.ZodString>;
2028
+ }, "strip", z.ZodTypeAny, {
2029
+ author: string;
2030
+ body: string;
2031
+ created_at: string;
2032
+ id?: number | undefined;
2033
+ url?: string | undefined;
2034
+ }, {
2035
+ author: string;
2036
+ body: string;
2037
+ created_at: string;
2038
+ id?: number | undefined;
2039
+ url?: string | undefined;
2040
+ }>, "many">>;
2041
+ }, "strip", z.ZodTypeAny, {
2042
+ issue_number: number;
2043
+ issue_url: string;
2044
+ state: "open" | "closed";
2045
+ last_synced_at: string;
2046
+ sync_status: "in_sync" | "local_ahead" | "remote_ahead" | "conflict";
2047
+ comments: {
2048
+ author: string;
2049
+ body: string;
2050
+ created_at: string;
2051
+ id?: number | undefined;
2052
+ url?: string | undefined;
2053
+ }[];
2054
+ }, {
2055
+ issue_number: number;
2056
+ issue_url: string;
2057
+ last_synced_at: string;
2058
+ state?: "open" | "closed" | undefined;
2059
+ sync_status?: "in_sync" | "local_ahead" | "remote_ahead" | "conflict" | undefined;
2060
+ comments?: {
2061
+ author: string;
2062
+ body: string;
2063
+ created_at: string;
2064
+ id?: number | undefined;
2065
+ url?: string | undefined;
2066
+ }[] | undefined;
2067
+ }>>;
2068
+ update_from_client: z.ZodOptional<z.ZodString>;
2069
+ resolution: z.ZodOptional<z.ZodEnum<["Fixed", "Mitigated", "Acknowledged", "Not Fixed", "Unresolved"]>>;
2070
+ }, "strip", z.ZodTypeAny, {
2071
+ id: string;
2072
+ description: string;
2073
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2074
+ created_at: string;
2075
+ title: string;
2076
+ category: string;
2077
+ root_cause: {
2078
+ locations: {
2079
+ file: string;
2080
+ snippet?: string | undefined;
2081
+ }[];
2082
+ };
2083
+ poc: {
2084
+ file: string | null;
2085
+ status: "passing" | "failing" | "not_started";
2086
+ validation_memo: string | null;
2087
+ };
2088
+ recommendation: string;
2089
+ references: {
2090
+ external_links: string[];
2091
+ };
2092
+ github?: {
2093
+ issue_number: number;
2094
+ issue_url: string;
2095
+ state: "open" | "closed";
2096
+ last_synced_at: string;
2097
+ sync_status: "in_sync" | "local_ahead" | "remote_ahead" | "conflict";
2098
+ comments: {
2099
+ author: string;
2100
+ body: string;
2101
+ created_at: string;
2102
+ id?: number | undefined;
2103
+ url?: string | undefined;
2104
+ }[];
2105
+ } | undefined;
2106
+ update_from_client?: string | undefined;
2107
+ resolution?: "Fixed" | "Mitigated" | "Acknowledged" | "Not Fixed" | "Unresolved" | undefined;
2108
+ }, {
2109
+ id: string;
2110
+ description: string;
2111
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2112
+ created_at: string;
2113
+ title: string;
2114
+ category: string;
2115
+ root_cause: {
2116
+ locations: {
2117
+ file: string;
2118
+ snippet?: string | undefined;
2119
+ }[];
2120
+ };
2121
+ poc: {
2122
+ file: string | null;
2123
+ status: "passing" | "failing" | "not_started";
2124
+ validation_memo: string | null;
2125
+ };
2126
+ recommendation: string;
2127
+ references: {
2128
+ external_links: string[];
2129
+ };
2130
+ github?: {
2131
+ issue_number: number;
2132
+ issue_url: string;
2133
+ last_synced_at: string;
2134
+ state?: "open" | "closed" | undefined;
2135
+ sync_status?: "in_sync" | "local_ahead" | "remote_ahead" | "conflict" | undefined;
2136
+ comments?: {
2137
+ author: string;
2138
+ body: string;
2139
+ created_at: string;
2140
+ id?: number | undefined;
2141
+ url?: string | undefined;
2142
+ }[] | undefined;
2143
+ } | undefined;
2144
+ update_from_client?: string | undefined;
2145
+ resolution?: "Fixed" | "Mitigated" | "Acknowledged" | "Not Fixed" | "Unresolved" | undefined;
2146
+ }>;
2147
+ export declare const FindingsSchema: z.ZodObject<{
2148
+ findings: z.ZodArray<z.ZodObject<{
2149
+ id: z.ZodString;
2150
+ title: z.ZodString;
2151
+ severity: z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>;
2152
+ category: z.ZodString;
2153
+ description: z.ZodString;
2154
+ root_cause: z.ZodObject<{
2155
+ locations: z.ZodArray<z.ZodObject<{
2156
+ file: z.ZodString;
2157
+ snippet: z.ZodOptional<z.ZodString>;
2158
+ }, "strip", z.ZodTypeAny, {
2159
+ file: string;
2160
+ snippet?: string | undefined;
2161
+ }, {
2162
+ file: string;
2163
+ snippet?: string | undefined;
2164
+ }>, "many">;
2165
+ }, "strip", z.ZodTypeAny, {
2166
+ locations: {
2167
+ file: string;
2168
+ snippet?: string | undefined;
2169
+ }[];
2170
+ }, {
2171
+ locations: {
2172
+ file: string;
2173
+ snippet?: string | undefined;
2174
+ }[];
2175
+ }>;
2176
+ poc: z.ZodObject<{
2177
+ status: z.ZodEnum<["passing", "failing", "not_started"]>;
2178
+ file: z.ZodNullable<z.ZodString>;
2179
+ validation_memo: z.ZodNullable<z.ZodString>;
2180
+ }, "strip", z.ZodTypeAny, {
2181
+ file: string | null;
2182
+ status: "passing" | "failing" | "not_started";
2183
+ validation_memo: string | null;
2184
+ }, {
2185
+ file: string | null;
2186
+ status: "passing" | "failing" | "not_started";
2187
+ validation_memo: string | null;
2188
+ }>;
2189
+ recommendation: z.ZodString;
2190
+ references: z.ZodObject<{
2191
+ external_links: z.ZodArray<z.ZodString, "many">;
2192
+ }, "strip", z.ZodTypeAny, {
2193
+ external_links: string[];
2194
+ }, {
2195
+ external_links: string[];
2196
+ }>;
2197
+ created_at: z.ZodString;
2198
+ github: z.ZodOptional<z.ZodObject<{
2199
+ issue_number: z.ZodNumber;
2200
+ issue_url: z.ZodString;
2201
+ state: z.ZodDefault<z.ZodEnum<["open", "closed"]>>;
2202
+ last_synced_at: z.ZodString;
2203
+ sync_status: z.ZodDefault<z.ZodEnum<["in_sync", "local_ahead", "remote_ahead", "conflict"]>>;
2204
+ comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2205
+ id: z.ZodOptional<z.ZodNumber>;
2206
+ author: z.ZodString;
2207
+ body: z.ZodString;
2208
+ created_at: z.ZodString;
2209
+ url: z.ZodOptional<z.ZodString>;
2210
+ }, "strip", z.ZodTypeAny, {
2211
+ author: string;
2212
+ body: string;
2213
+ created_at: string;
2214
+ id?: number | undefined;
2215
+ url?: string | undefined;
2216
+ }, {
2217
+ author: string;
2218
+ body: string;
2219
+ created_at: string;
2220
+ id?: number | undefined;
2221
+ url?: string | undefined;
2222
+ }>, "many">>;
2223
+ }, "strip", z.ZodTypeAny, {
2224
+ issue_number: number;
2225
+ issue_url: string;
2226
+ state: "open" | "closed";
2227
+ last_synced_at: string;
2228
+ sync_status: "in_sync" | "local_ahead" | "remote_ahead" | "conflict";
2229
+ comments: {
2230
+ author: string;
2231
+ body: string;
2232
+ created_at: string;
2233
+ id?: number | undefined;
2234
+ url?: string | undefined;
2235
+ }[];
2236
+ }, {
2237
+ issue_number: number;
2238
+ issue_url: string;
2239
+ last_synced_at: string;
2240
+ state?: "open" | "closed" | undefined;
2241
+ sync_status?: "in_sync" | "local_ahead" | "remote_ahead" | "conflict" | undefined;
2242
+ comments?: {
2243
+ author: string;
2244
+ body: string;
2245
+ created_at: string;
2246
+ id?: number | undefined;
2247
+ url?: string | undefined;
2248
+ }[] | undefined;
2249
+ }>>;
2250
+ update_from_client: z.ZodOptional<z.ZodString>;
2251
+ resolution: z.ZodOptional<z.ZodEnum<["Fixed", "Mitigated", "Acknowledged", "Not Fixed", "Unresolved"]>>;
2252
+ }, "strip", z.ZodTypeAny, {
2253
+ id: string;
2254
+ description: string;
2255
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2256
+ created_at: string;
2257
+ title: string;
2258
+ category: string;
2259
+ root_cause: {
2260
+ locations: {
2261
+ file: string;
2262
+ snippet?: string | undefined;
2263
+ }[];
2264
+ };
2265
+ poc: {
2266
+ file: string | null;
2267
+ status: "passing" | "failing" | "not_started";
2268
+ validation_memo: string | null;
2269
+ };
2270
+ recommendation: string;
2271
+ references: {
2272
+ external_links: string[];
2273
+ };
2274
+ github?: {
2275
+ issue_number: number;
2276
+ issue_url: string;
2277
+ state: "open" | "closed";
2278
+ last_synced_at: string;
2279
+ sync_status: "in_sync" | "local_ahead" | "remote_ahead" | "conflict";
2280
+ comments: {
2281
+ author: string;
2282
+ body: string;
2283
+ created_at: string;
2284
+ id?: number | undefined;
2285
+ url?: string | undefined;
2286
+ }[];
2287
+ } | undefined;
2288
+ update_from_client?: string | undefined;
2289
+ resolution?: "Fixed" | "Mitigated" | "Acknowledged" | "Not Fixed" | "Unresolved" | undefined;
2290
+ }, {
2291
+ id: string;
2292
+ description: string;
2293
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2294
+ created_at: string;
2295
+ title: string;
2296
+ category: string;
2297
+ root_cause: {
2298
+ locations: {
2299
+ file: string;
2300
+ snippet?: string | undefined;
2301
+ }[];
2302
+ };
2303
+ poc: {
2304
+ file: string | null;
2305
+ status: "passing" | "failing" | "not_started";
2306
+ validation_memo: string | null;
2307
+ };
2308
+ recommendation: string;
2309
+ references: {
2310
+ external_links: string[];
2311
+ };
2312
+ github?: {
2313
+ issue_number: number;
2314
+ issue_url: string;
2315
+ last_synced_at: string;
2316
+ state?: "open" | "closed" | undefined;
2317
+ sync_status?: "in_sync" | "local_ahead" | "remote_ahead" | "conflict" | undefined;
2318
+ comments?: {
2319
+ author: string;
2320
+ body: string;
2321
+ created_at: string;
2322
+ id?: number | undefined;
2323
+ url?: string | undefined;
2324
+ }[] | undefined;
2325
+ } | undefined;
2326
+ update_from_client?: string | undefined;
2327
+ resolution?: "Fixed" | "Mitigated" | "Acknowledged" | "Not Fixed" | "Unresolved" | undefined;
2328
+ }>, "many">;
2329
+ }, "strip", z.ZodTypeAny, {
2330
+ findings: {
2331
+ id: string;
2332
+ description: string;
2333
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2334
+ created_at: string;
2335
+ title: string;
2336
+ category: string;
2337
+ root_cause: {
2338
+ locations: {
2339
+ file: string;
2340
+ snippet?: string | undefined;
2341
+ }[];
2342
+ };
2343
+ poc: {
2344
+ file: string | null;
2345
+ status: "passing" | "failing" | "not_started";
2346
+ validation_memo: string | null;
2347
+ };
2348
+ recommendation: string;
2349
+ references: {
2350
+ external_links: string[];
2351
+ };
2352
+ github?: {
2353
+ issue_number: number;
2354
+ issue_url: string;
2355
+ state: "open" | "closed";
2356
+ last_synced_at: string;
2357
+ sync_status: "in_sync" | "local_ahead" | "remote_ahead" | "conflict";
2358
+ comments: {
2359
+ author: string;
2360
+ body: string;
2361
+ created_at: string;
2362
+ id?: number | undefined;
2363
+ url?: string | undefined;
2364
+ }[];
2365
+ } | undefined;
2366
+ update_from_client?: string | undefined;
2367
+ resolution?: "Fixed" | "Mitigated" | "Acknowledged" | "Not Fixed" | "Unresolved" | undefined;
2368
+ }[];
2369
+ }, {
2370
+ findings: {
2371
+ id: string;
2372
+ description: string;
2373
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2374
+ created_at: string;
2375
+ title: string;
2376
+ category: string;
2377
+ root_cause: {
2378
+ locations: {
2379
+ file: string;
2380
+ snippet?: string | undefined;
2381
+ }[];
2382
+ };
2383
+ poc: {
2384
+ file: string | null;
2385
+ status: "passing" | "failing" | "not_started";
2386
+ validation_memo: string | null;
2387
+ };
2388
+ recommendation: string;
2389
+ references: {
2390
+ external_links: string[];
2391
+ };
2392
+ github?: {
2393
+ issue_number: number;
2394
+ issue_url: string;
2395
+ last_synced_at: string;
2396
+ state?: "open" | "closed" | undefined;
2397
+ sync_status?: "in_sync" | "local_ahead" | "remote_ahead" | "conflict" | undefined;
2398
+ comments?: {
2399
+ author: string;
2400
+ body: string;
2401
+ created_at: string;
2402
+ id?: number | undefined;
2403
+ url?: string | undefined;
2404
+ }[] | undefined;
2405
+ } | undefined;
2406
+ update_from_client?: string | undefined;
2407
+ resolution?: "Fixed" | "Mitigated" | "Acknowledged" | "Not Fixed" | "Unresolved" | undefined;
2408
+ }[];
2409
+ }>;
2410
+ export declare const TrackingSourceSchema: z.ZodEnum<["manual", "auditagent", "conformance", "github"]>;
2411
+ export declare const TrackingEntrySchema: z.ZodObject<{
2412
+ id: z.ZodString;
2413
+ title: z.ZodString;
2414
+ severity: z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>;
2415
+ source: z.ZodEnum<["manual", "auditagent", "conformance", "github"]>;
2416
+ status: z.ZodEnum<["verified", "pending_validation", "rejected", "duplicate", "unverified"]>;
2417
+ poc_status: z.ZodEnum<["passing", "failing", "not_started"]>;
2418
+ poc_file: z.ZodNullable<z.ZodString>;
2419
+ duplicates: z.ZodArray<z.ZodString, "many">;
2420
+ duplicate_of: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2421
+ notes: z.ZodString;
2422
+ }, "strip", z.ZodTypeAny, {
2423
+ status: "verified" | "pending_validation" | "rejected" | "duplicate" | "unverified";
2424
+ id: string;
2425
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2426
+ title: string;
2427
+ source: "manual" | "github" | "auditagent" | "conformance";
2428
+ poc_status: "passing" | "failing" | "not_started";
2429
+ poc_file: string | null;
2430
+ duplicates: string[];
2431
+ notes: string;
2432
+ duplicate_of?: string | null | undefined;
2433
+ }, {
2434
+ status: "verified" | "pending_validation" | "rejected" | "duplicate" | "unverified";
2435
+ id: string;
2436
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2437
+ title: string;
2438
+ source: "manual" | "github" | "auditagent" | "conformance";
2439
+ poc_status: "passing" | "failing" | "not_started";
2440
+ poc_file: string | null;
2441
+ duplicates: string[];
2442
+ notes: string;
2443
+ duplicate_of?: string | null | undefined;
2444
+ }>;
2445
+ export declare const TrackingSchema: z.ZodObject<{
2446
+ findings: z.ZodArray<z.ZodObject<{
2447
+ id: z.ZodString;
2448
+ title: z.ZodString;
2449
+ severity: z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>;
2450
+ source: z.ZodEnum<["manual", "auditagent", "conformance", "github"]>;
2451
+ status: z.ZodEnum<["verified", "pending_validation", "rejected", "duplicate", "unverified"]>;
2452
+ poc_status: z.ZodEnum<["passing", "failing", "not_started"]>;
2453
+ poc_file: z.ZodNullable<z.ZodString>;
2454
+ duplicates: z.ZodArray<z.ZodString, "many">;
2455
+ duplicate_of: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2456
+ notes: z.ZodString;
2457
+ }, "strip", z.ZodTypeAny, {
2458
+ status: "verified" | "pending_validation" | "rejected" | "duplicate" | "unverified";
2459
+ id: string;
2460
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2461
+ title: string;
2462
+ source: "manual" | "github" | "auditagent" | "conformance";
2463
+ poc_status: "passing" | "failing" | "not_started";
2464
+ poc_file: string | null;
2465
+ duplicates: string[];
2466
+ notes: string;
2467
+ duplicate_of?: string | null | undefined;
2468
+ }, {
2469
+ status: "verified" | "pending_validation" | "rejected" | "duplicate" | "unverified";
2470
+ id: string;
2471
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2472
+ title: string;
2473
+ source: "manual" | "github" | "auditagent" | "conformance";
2474
+ poc_status: "passing" | "failing" | "not_started";
2475
+ poc_file: string | null;
2476
+ duplicates: string[];
2477
+ notes: string;
2478
+ duplicate_of?: string | null | undefined;
2479
+ }>, "many">;
2480
+ }, "strip", z.ZodTypeAny, {
2481
+ findings: {
2482
+ status: "verified" | "pending_validation" | "rejected" | "duplicate" | "unverified";
2483
+ id: string;
2484
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2485
+ title: string;
2486
+ source: "manual" | "github" | "auditagent" | "conformance";
2487
+ poc_status: "passing" | "failing" | "not_started";
2488
+ poc_file: string | null;
2489
+ duplicates: string[];
2490
+ notes: string;
2491
+ duplicate_of?: string | null | undefined;
2492
+ }[];
2493
+ }, {
2494
+ findings: {
2495
+ status: "verified" | "pending_validation" | "rejected" | "duplicate" | "unverified";
2496
+ id: string;
2497
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2498
+ title: string;
2499
+ source: "manual" | "github" | "auditagent" | "conformance";
2500
+ poc_status: "passing" | "failing" | "not_started";
2501
+ poc_file: string | null;
2502
+ duplicates: string[];
2503
+ notes: string;
2504
+ duplicate_of?: string | null | undefined;
2505
+ }[];
2506
+ }>;
2507
+ export declare const MatchAgreementSchema: z.ZodEnum<["same", "overlapping", "different"]>;
2508
+ export declare const MatchSignalsSchema: z.ZodObject<{
2509
+ contract: z.ZodBoolean;
2510
+ function: z.ZodBoolean;
2511
+ root_cause: z.ZodEnum<["same", "overlapping", "different"]>;
2512
+ attack_vector: z.ZodEnum<["same", "overlapping", "different"]>;
2513
+ }, "strip", z.ZodTypeAny, {
2514
+ function: boolean;
2515
+ contract: boolean;
2516
+ root_cause: "same" | "overlapping" | "different";
2517
+ attack_vector: "same" | "overlapping" | "different";
2518
+ }, {
2519
+ function: boolean;
2520
+ contract: boolean;
2521
+ root_cause: "same" | "overlapping" | "different";
2522
+ attack_vector: "same" | "overlapping" | "different";
2523
+ }>;
2524
+ export declare const ComparisonDuplicateSchema: z.ZodObject<{
2525
+ ai_finding: z.ZodString;
2526
+ matches: z.ZodString;
2527
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
2528
+ match_signals: z.ZodOptional<z.ZodObject<{
2529
+ contract: z.ZodBoolean;
2530
+ function: z.ZodBoolean;
2531
+ root_cause: z.ZodEnum<["same", "overlapping", "different"]>;
2532
+ attack_vector: z.ZodEnum<["same", "overlapping", "different"]>;
2533
+ }, "strip", z.ZodTypeAny, {
2534
+ function: boolean;
2535
+ contract: boolean;
2536
+ root_cause: "same" | "overlapping" | "different";
2537
+ attack_vector: "same" | "overlapping" | "different";
2538
+ }, {
2539
+ function: boolean;
2540
+ contract: boolean;
2541
+ root_cause: "same" | "overlapping" | "different";
2542
+ attack_vector: "same" | "overlapping" | "different";
2543
+ }>>;
2544
+ reasoning: z.ZodOptional<z.ZodString>;
2545
+ }, "strip", z.ZodTypeAny, {
2546
+ confidence: "high" | "medium" | "low";
2547
+ ai_finding: string;
2548
+ matches: string;
2549
+ reasoning?: string | undefined;
2550
+ match_signals?: {
2551
+ function: boolean;
2552
+ contract: boolean;
2553
+ root_cause: "same" | "overlapping" | "different";
2554
+ attack_vector: "same" | "overlapping" | "different";
2555
+ } | undefined;
2556
+ }, {
2557
+ confidence: "high" | "medium" | "low";
2558
+ ai_finding: string;
2559
+ matches: string;
2560
+ reasoning?: string | undefined;
2561
+ match_signals?: {
2562
+ function: boolean;
2563
+ contract: boolean;
2564
+ root_cause: "same" | "overlapping" | "different";
2565
+ attack_vector: "same" | "overlapping" | "different";
2566
+ } | undefined;
2567
+ }>;
2568
+ export declare const ComparisonNovelSchema: z.ZodObject<{
2569
+ id: z.ZodString;
2570
+ source: z.ZodString;
2571
+ original_id: z.ZodString;
2572
+ title: z.ZodString;
2573
+ validity: z.ZodEnum<["likely_valid", "needs_review", "likely_false_positive"]>;
2574
+ reasoning: z.ZodString;
2575
+ priority: z.ZodNumber;
2576
+ }, "strip", z.ZodTypeAny, {
2577
+ id: string;
2578
+ reasoning: string;
2579
+ title: string;
2580
+ source: string;
2581
+ original_id: string;
2582
+ validity: "likely_valid" | "needs_review" | "likely_false_positive";
2583
+ priority: number;
2584
+ }, {
2585
+ id: string;
2586
+ reasoning: string;
2587
+ title: string;
2588
+ source: string;
2589
+ original_id: string;
2590
+ validity: "likely_valid" | "needs_review" | "likely_false_positive";
2591
+ priority: number;
2592
+ }>;
2593
+ export declare const ComparisonRejectedSchema: z.ZodObject<{
2594
+ id: z.ZodString;
2595
+ reason: z.ZodString;
2596
+ }, "strip", z.ZodTypeAny, {
2597
+ id: string;
2598
+ reason: string;
2599
+ }, {
2600
+ id: string;
2601
+ reason: string;
2602
+ }>;
2603
+ export declare const ComparisonSchema: z.ZodObject<{
2604
+ duplicates: z.ZodArray<z.ZodObject<{
2605
+ ai_finding: z.ZodString;
2606
+ matches: z.ZodString;
2607
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
2608
+ match_signals: z.ZodOptional<z.ZodObject<{
2609
+ contract: z.ZodBoolean;
2610
+ function: z.ZodBoolean;
2611
+ root_cause: z.ZodEnum<["same", "overlapping", "different"]>;
2612
+ attack_vector: z.ZodEnum<["same", "overlapping", "different"]>;
2613
+ }, "strip", z.ZodTypeAny, {
2614
+ function: boolean;
2615
+ contract: boolean;
2616
+ root_cause: "same" | "overlapping" | "different";
2617
+ attack_vector: "same" | "overlapping" | "different";
2618
+ }, {
2619
+ function: boolean;
2620
+ contract: boolean;
2621
+ root_cause: "same" | "overlapping" | "different";
2622
+ attack_vector: "same" | "overlapping" | "different";
2623
+ }>>;
2624
+ reasoning: z.ZodOptional<z.ZodString>;
2625
+ }, "strip", z.ZodTypeAny, {
2626
+ confidence: "high" | "medium" | "low";
2627
+ ai_finding: string;
2628
+ matches: string;
2629
+ reasoning?: string | undefined;
2630
+ match_signals?: {
2631
+ function: boolean;
2632
+ contract: boolean;
2633
+ root_cause: "same" | "overlapping" | "different";
2634
+ attack_vector: "same" | "overlapping" | "different";
2635
+ } | undefined;
2636
+ }, {
2637
+ confidence: "high" | "medium" | "low";
2638
+ ai_finding: string;
2639
+ matches: string;
2640
+ reasoning?: string | undefined;
2641
+ match_signals?: {
2642
+ function: boolean;
2643
+ contract: boolean;
2644
+ root_cause: "same" | "overlapping" | "different";
2645
+ attack_vector: "same" | "overlapping" | "different";
2646
+ } | undefined;
2647
+ }>, "many">;
2648
+ novel: z.ZodArray<z.ZodObject<{
2649
+ id: z.ZodString;
2650
+ source: z.ZodString;
2651
+ original_id: z.ZodString;
2652
+ title: z.ZodString;
2653
+ validity: z.ZodEnum<["likely_valid", "needs_review", "likely_false_positive"]>;
2654
+ reasoning: z.ZodString;
2655
+ priority: z.ZodNumber;
2656
+ }, "strip", z.ZodTypeAny, {
2657
+ id: string;
2658
+ reasoning: string;
2659
+ title: string;
2660
+ source: string;
2661
+ original_id: string;
2662
+ validity: "likely_valid" | "needs_review" | "likely_false_positive";
2663
+ priority: number;
2664
+ }, {
2665
+ id: string;
2666
+ reasoning: string;
2667
+ title: string;
2668
+ source: string;
2669
+ original_id: string;
2670
+ validity: "likely_valid" | "needs_review" | "likely_false_positive";
2671
+ priority: number;
2672
+ }>, "many">;
2673
+ rejected: z.ZodArray<z.ZodObject<{
2674
+ id: z.ZodString;
2675
+ reason: z.ZodString;
2676
+ }, "strip", z.ZodTypeAny, {
2677
+ id: string;
2678
+ reason: string;
2679
+ }, {
2680
+ id: string;
2681
+ reason: string;
2682
+ }>, "many">;
2683
+ }, "strip", z.ZodTypeAny, {
2684
+ rejected: {
2685
+ id: string;
2686
+ reason: string;
2687
+ }[];
2688
+ duplicates: {
2689
+ confidence: "high" | "medium" | "low";
2690
+ ai_finding: string;
2691
+ matches: string;
2692
+ reasoning?: string | undefined;
2693
+ match_signals?: {
2694
+ function: boolean;
2695
+ contract: boolean;
2696
+ root_cause: "same" | "overlapping" | "different";
2697
+ attack_vector: "same" | "overlapping" | "different";
2698
+ } | undefined;
2699
+ }[];
2700
+ novel: {
2701
+ id: string;
2702
+ reasoning: string;
2703
+ title: string;
2704
+ source: string;
2705
+ original_id: string;
2706
+ validity: "likely_valid" | "needs_review" | "likely_false_positive";
2707
+ priority: number;
2708
+ }[];
2709
+ }, {
2710
+ rejected: {
2711
+ id: string;
2712
+ reason: string;
2713
+ }[];
2714
+ duplicates: {
2715
+ confidence: "high" | "medium" | "low";
2716
+ ai_finding: string;
2717
+ matches: string;
2718
+ reasoning?: string | undefined;
2719
+ match_signals?: {
2720
+ function: boolean;
2721
+ contract: boolean;
2722
+ root_cause: "same" | "overlapping" | "different";
2723
+ attack_vector: "same" | "overlapping" | "different";
2724
+ } | undefined;
2725
+ }[];
2726
+ novel: {
2727
+ id: string;
2728
+ reasoning: string;
2729
+ title: string;
2730
+ source: string;
2731
+ original_id: string;
2732
+ validity: "likely_valid" | "needs_review" | "likely_false_positive";
2733
+ priority: number;
2734
+ }[];
2735
+ }>;
2736
+ export declare const SpecItemSchema: z.ZodObject<{
2737
+ id: z.ZodString;
2738
+ source: z.ZodEnum<["external_docs", "natspec", "interface", "erc_eip"]>;
2739
+ spec_text: z.ZodString;
2740
+ spec_location: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2741
+ status: z.ZodEnum<["CONFORMS", "DEVIATES", "PARTIAL", "UNVERIFIABLE", "UNDOCUMENTED"]>;
2742
+ finding: z.ZodString;
2743
+ code_location: z.ZodOptional<z.ZodObject<{
2744
+ file: z.ZodString;
2745
+ line_start: z.ZodNumber;
2746
+ line_end: z.ZodNumber;
2747
+ snippet: z.ZodOptional<z.ZodString>;
2748
+ }, "strip", z.ZodTypeAny, {
2749
+ file: string;
2750
+ line_start: number;
2751
+ line_end: number;
2752
+ snippet?: string | undefined;
2753
+ }, {
2754
+ file: string;
2755
+ line_start: number;
2756
+ line_end: number;
2757
+ snippet?: string | undefined;
2758
+ }>>;
2759
+ severity_hint: z.ZodOptional<z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>>;
2760
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
2761
+ }, "strip", z.ZodTypeAny, {
2762
+ status: "CONFORMS" | "DEVIATES" | "PARTIAL" | "UNVERIFIABLE" | "UNDOCUMENTED";
2763
+ id: string;
2764
+ confidence: "high" | "medium" | "low";
2765
+ source: "interface" | "external_docs" | "natspec" | "erc_eip";
2766
+ spec_text: string;
2767
+ spec_location: Record<string, unknown>;
2768
+ finding: string;
2769
+ code_location?: {
2770
+ file: string;
2771
+ line_start: number;
2772
+ line_end: number;
2773
+ snippet?: string | undefined;
2774
+ } | undefined;
2775
+ severity_hint?: "Critical" | "High" | "Medium" | "Low" | "Info" | undefined;
2776
+ }, {
2777
+ status: "CONFORMS" | "DEVIATES" | "PARTIAL" | "UNVERIFIABLE" | "UNDOCUMENTED";
2778
+ id: string;
2779
+ confidence: "high" | "medium" | "low";
2780
+ source: "interface" | "external_docs" | "natspec" | "erc_eip";
2781
+ spec_text: string;
2782
+ spec_location: Record<string, unknown>;
2783
+ finding: string;
2784
+ code_location?: {
2785
+ file: string;
2786
+ line_start: number;
2787
+ line_end: number;
2788
+ snippet?: string | undefined;
2789
+ } | undefined;
2790
+ severity_hint?: "Critical" | "High" | "Medium" | "Low" | "Info" | undefined;
2791
+ }>;
2792
+ export declare const SpecConformanceSchema: z.ZodObject<{
2793
+ checked_at: z.ZodString;
2794
+ sources_checked: z.ZodObject<{
2795
+ external_docs: z.ZodBoolean;
2796
+ natspec: z.ZodBoolean;
2797
+ interfaces: z.ZodBoolean;
2798
+ erc_eip: z.ZodArray<z.ZodString, "many">;
2799
+ }, "strip", z.ZodTypeAny, {
2800
+ interfaces: boolean;
2801
+ external_docs: boolean;
2802
+ natspec: boolean;
2803
+ erc_eip: string[];
2804
+ }, {
2805
+ interfaces: boolean;
2806
+ external_docs: boolean;
2807
+ natspec: boolean;
2808
+ erc_eip: string[];
2809
+ }>;
2810
+ summary: z.ZodObject<{
2811
+ total_checks: z.ZodNumber;
2812
+ conforms: z.ZodNumber;
2813
+ deviates: z.ZodNumber;
2814
+ partial: z.ZodNumber;
2815
+ unverifiable: z.ZodNumber;
2816
+ undocumented: z.ZodNumber;
2817
+ }, "strip", z.ZodTypeAny, {
2818
+ partial: number;
2819
+ total_checks: number;
2820
+ conforms: number;
2821
+ deviates: number;
2822
+ unverifiable: number;
2823
+ undocumented: number;
2824
+ }, {
2825
+ partial: number;
2826
+ total_checks: number;
2827
+ conforms: number;
2828
+ deviates: number;
2829
+ unverifiable: number;
2830
+ undocumented: number;
2831
+ }>;
2832
+ items: z.ZodArray<z.ZodObject<{
2833
+ id: z.ZodString;
2834
+ source: z.ZodEnum<["external_docs", "natspec", "interface", "erc_eip"]>;
2835
+ spec_text: z.ZodString;
2836
+ spec_location: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2837
+ status: z.ZodEnum<["CONFORMS", "DEVIATES", "PARTIAL", "UNVERIFIABLE", "UNDOCUMENTED"]>;
2838
+ finding: z.ZodString;
2839
+ code_location: z.ZodOptional<z.ZodObject<{
2840
+ file: z.ZodString;
2841
+ line_start: z.ZodNumber;
2842
+ line_end: z.ZodNumber;
2843
+ snippet: z.ZodOptional<z.ZodString>;
2844
+ }, "strip", z.ZodTypeAny, {
2845
+ file: string;
2846
+ line_start: number;
2847
+ line_end: number;
2848
+ snippet?: string | undefined;
2849
+ }, {
2850
+ file: string;
2851
+ line_start: number;
2852
+ line_end: number;
2853
+ snippet?: string | undefined;
2854
+ }>>;
2855
+ severity_hint: z.ZodOptional<z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>>;
2856
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
2857
+ }, "strip", z.ZodTypeAny, {
2858
+ status: "CONFORMS" | "DEVIATES" | "PARTIAL" | "UNVERIFIABLE" | "UNDOCUMENTED";
2859
+ id: string;
2860
+ confidence: "high" | "medium" | "low";
2861
+ source: "interface" | "external_docs" | "natspec" | "erc_eip";
2862
+ spec_text: string;
2863
+ spec_location: Record<string, unknown>;
2864
+ finding: string;
2865
+ code_location?: {
2866
+ file: string;
2867
+ line_start: number;
2868
+ line_end: number;
2869
+ snippet?: string | undefined;
2870
+ } | undefined;
2871
+ severity_hint?: "Critical" | "High" | "Medium" | "Low" | "Info" | undefined;
2872
+ }, {
2873
+ status: "CONFORMS" | "DEVIATES" | "PARTIAL" | "UNVERIFIABLE" | "UNDOCUMENTED";
2874
+ id: string;
2875
+ confidence: "high" | "medium" | "low";
2876
+ source: "interface" | "external_docs" | "natspec" | "erc_eip";
2877
+ spec_text: string;
2878
+ spec_location: Record<string, unknown>;
2879
+ finding: string;
2880
+ code_location?: {
2881
+ file: string;
2882
+ line_start: number;
2883
+ line_end: number;
2884
+ snippet?: string | undefined;
2885
+ } | undefined;
2886
+ severity_hint?: "Critical" | "High" | "Medium" | "Low" | "Info" | undefined;
2887
+ }>, "many">;
2888
+ }, "strip", z.ZodTypeAny, {
2889
+ checked_at: string;
2890
+ sources_checked: {
2891
+ interfaces: boolean;
2892
+ external_docs: boolean;
2893
+ natspec: boolean;
2894
+ erc_eip: string[];
2895
+ };
2896
+ summary: {
2897
+ partial: number;
2898
+ total_checks: number;
2899
+ conforms: number;
2900
+ deviates: number;
2901
+ unverifiable: number;
2902
+ undocumented: number;
2903
+ };
2904
+ items: {
2905
+ status: "CONFORMS" | "DEVIATES" | "PARTIAL" | "UNVERIFIABLE" | "UNDOCUMENTED";
2906
+ id: string;
2907
+ confidence: "high" | "medium" | "low";
2908
+ source: "interface" | "external_docs" | "natspec" | "erc_eip";
2909
+ spec_text: string;
2910
+ spec_location: Record<string, unknown>;
2911
+ finding: string;
2912
+ code_location?: {
2913
+ file: string;
2914
+ line_start: number;
2915
+ line_end: number;
2916
+ snippet?: string | undefined;
2917
+ } | undefined;
2918
+ severity_hint?: "Critical" | "High" | "Medium" | "Low" | "Info" | undefined;
2919
+ }[];
2920
+ }, {
2921
+ checked_at: string;
2922
+ sources_checked: {
2923
+ interfaces: boolean;
2924
+ external_docs: boolean;
2925
+ natspec: boolean;
2926
+ erc_eip: string[];
2927
+ };
2928
+ summary: {
2929
+ partial: number;
2930
+ total_checks: number;
2931
+ conforms: number;
2932
+ deviates: number;
2933
+ unverifiable: number;
2934
+ undocumented: number;
2935
+ };
2936
+ items: {
2937
+ status: "CONFORMS" | "DEVIATES" | "PARTIAL" | "UNVERIFIABLE" | "UNDOCUMENTED";
2938
+ id: string;
2939
+ confidence: "high" | "medium" | "low";
2940
+ source: "interface" | "external_docs" | "natspec" | "erc_eip";
2941
+ spec_text: string;
2942
+ spec_location: Record<string, unknown>;
2943
+ finding: string;
2944
+ code_location?: {
2945
+ file: string;
2946
+ line_start: number;
2947
+ line_end: number;
2948
+ snippet?: string | undefined;
2949
+ } | undefined;
2950
+ severity_hint?: "Critical" | "High" | "Medium" | "Low" | "Info" | undefined;
2951
+ }[];
2952
+ }>;
2953
+ export declare const AiResultFindingSchema: z.ZodObject<{
2954
+ id: z.ZodString;
2955
+ tool: z.ZodString;
2956
+ title: z.ZodString;
2957
+ severity: z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>;
2958
+ description: z.ZodString;
2959
+ affected_code: z.ZodArray<z.ZodObject<{
2960
+ file: z.ZodString;
2961
+ snippet: z.ZodOptional<z.ZodString>;
2962
+ }, "strip", z.ZodTypeAny, {
2963
+ file: string;
2964
+ snippet?: string | undefined;
2965
+ }, {
2966
+ file: string;
2967
+ snippet?: string | undefined;
2968
+ }>, "many">;
2969
+ confidence: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
2970
+ category: z.ZodOptional<z.ZodString>;
2971
+ raw_category: z.ZodOptional<z.ZodString>;
2972
+ ai_consensus: z.ZodOptional<z.ZodNumber>;
2973
+ }, "strip", z.ZodTypeAny, {
2974
+ id: string;
2975
+ description: string;
2976
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2977
+ title: string;
2978
+ tool: string;
2979
+ affected_code: {
2980
+ file: string;
2981
+ snippet?: string | undefined;
2982
+ }[];
2983
+ confidence?: "high" | "medium" | "low" | undefined;
2984
+ category?: string | undefined;
2985
+ raw_category?: string | undefined;
2986
+ ai_consensus?: number | undefined;
2987
+ }, {
2988
+ id: string;
2989
+ description: string;
2990
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
2991
+ title: string;
2992
+ tool: string;
2993
+ affected_code: {
2994
+ file: string;
2995
+ snippet?: string | undefined;
2996
+ }[];
2997
+ confidence?: "high" | "medium" | "low" | undefined;
2998
+ category?: string | undefined;
2999
+ raw_category?: string | undefined;
3000
+ ai_consensus?: number | undefined;
3001
+ }>;
3002
+ export declare const AiResultFileSchema: z.ZodObject<{
3003
+ tool: z.ZodString;
3004
+ ran_at: z.ZodString;
3005
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
3006
+ total_findings: z.ZodNumber;
3007
+ findings: z.ZodArray<z.ZodObject<{
3008
+ id: z.ZodString;
3009
+ tool: z.ZodString;
3010
+ title: z.ZodString;
3011
+ severity: z.ZodEnum<["Critical", "High", "Medium", "Low", "Info"]>;
3012
+ description: z.ZodString;
3013
+ affected_code: z.ZodArray<z.ZodObject<{
3014
+ file: z.ZodString;
3015
+ snippet: z.ZodOptional<z.ZodString>;
3016
+ }, "strip", z.ZodTypeAny, {
3017
+ file: string;
3018
+ snippet?: string | undefined;
3019
+ }, {
3020
+ file: string;
3021
+ snippet?: string | undefined;
3022
+ }>, "many">;
3023
+ confidence: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
3024
+ category: z.ZodOptional<z.ZodString>;
3025
+ raw_category: z.ZodOptional<z.ZodString>;
3026
+ ai_consensus: z.ZodOptional<z.ZodNumber>;
3027
+ }, "strip", z.ZodTypeAny, {
3028
+ id: string;
3029
+ description: string;
3030
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
3031
+ title: string;
3032
+ tool: string;
3033
+ affected_code: {
3034
+ file: string;
3035
+ snippet?: string | undefined;
3036
+ }[];
3037
+ confidence?: "high" | "medium" | "low" | undefined;
3038
+ category?: string | undefined;
3039
+ raw_category?: string | undefined;
3040
+ ai_consensus?: number | undefined;
3041
+ }, {
3042
+ id: string;
3043
+ description: string;
3044
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
3045
+ title: string;
3046
+ tool: string;
3047
+ affected_code: {
3048
+ file: string;
3049
+ snippet?: string | undefined;
3050
+ }[];
3051
+ confidence?: "high" | "medium" | "low" | undefined;
3052
+ category?: string | undefined;
3053
+ raw_category?: string | undefined;
3054
+ ai_consensus?: number | undefined;
3055
+ }>, "many">;
3056
+ }, "strip", z.ZodTypeAny, {
3057
+ findings: {
3058
+ id: string;
3059
+ description: string;
3060
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
3061
+ title: string;
3062
+ tool: string;
3063
+ affected_code: {
3064
+ file: string;
3065
+ snippet?: string | undefined;
3066
+ }[];
3067
+ confidence?: "high" | "medium" | "low" | undefined;
3068
+ category?: string | undefined;
3069
+ raw_category?: string | undefined;
3070
+ ai_consensus?: number | undefined;
3071
+ }[];
3072
+ tool: string;
3073
+ ran_at: string;
3074
+ total_findings: number;
3075
+ duration_seconds?: number | undefined;
3076
+ }, {
3077
+ findings: {
3078
+ id: string;
3079
+ description: string;
3080
+ severity: "Critical" | "High" | "Medium" | "Low" | "Info";
3081
+ title: string;
3082
+ tool: string;
3083
+ affected_code: {
3084
+ file: string;
3085
+ snippet?: string | undefined;
3086
+ }[];
3087
+ confidence?: "high" | "medium" | "low" | undefined;
3088
+ category?: string | undefined;
3089
+ raw_category?: string | undefined;
3090
+ ai_consensus?: number | undefined;
3091
+ }[];
3092
+ tool: string;
3093
+ ran_at: string;
3094
+ total_findings: number;
3095
+ duration_seconds?: number | undefined;
3096
+ }>;
3097
+ export declare const AiToolStatusSchema: z.ZodObject<{
3098
+ status: z.ZodEnum<["completed", "running", "failed", "not_started", "pending_scan"]>;
3099
+ ran_at: z.ZodOptional<z.ZodString>;
3100
+ started_at: z.ZodOptional<z.ZodString>;
3101
+ pid: z.ZodOptional<z.ZodNumber>;
3102
+ findings_count: z.ZodOptional<z.ZodNumber>;
3103
+ error: z.ZodOptional<z.ZodString>;
3104
+ scan_id: z.ZodOptional<z.ZodString>;
3105
+ }, "strip", z.ZodTypeAny, {
3106
+ status: "failed" | "not_started" | "completed" | "running" | "pending_scan";
3107
+ ran_at?: string | undefined;
3108
+ started_at?: string | undefined;
3109
+ pid?: number | undefined;
3110
+ findings_count?: number | undefined;
3111
+ error?: string | undefined;
3112
+ scan_id?: string | undefined;
3113
+ }, {
3114
+ status: "failed" | "not_started" | "completed" | "running" | "pending_scan";
3115
+ ran_at?: string | undefined;
3116
+ started_at?: string | undefined;
3117
+ pid?: number | undefined;
3118
+ findings_count?: number | undefined;
3119
+ error?: string | undefined;
3120
+ scan_id?: string | undefined;
3121
+ }>;
3122
+ export declare const AiStatusSchema: z.ZodObject<{
3123
+ tools: z.ZodRecord<z.ZodString, z.ZodObject<{
3124
+ status: z.ZodEnum<["completed", "running", "failed", "not_started", "pending_scan"]>;
3125
+ ran_at: z.ZodOptional<z.ZodString>;
3126
+ started_at: z.ZodOptional<z.ZodString>;
3127
+ pid: z.ZodOptional<z.ZodNumber>;
3128
+ findings_count: z.ZodOptional<z.ZodNumber>;
3129
+ error: z.ZodOptional<z.ZodString>;
3130
+ scan_id: z.ZodOptional<z.ZodString>;
3131
+ }, "strip", z.ZodTypeAny, {
3132
+ status: "failed" | "not_started" | "completed" | "running" | "pending_scan";
3133
+ ran_at?: string | undefined;
3134
+ started_at?: string | undefined;
3135
+ pid?: number | undefined;
3136
+ findings_count?: number | undefined;
3137
+ error?: string | undefined;
3138
+ scan_id?: string | undefined;
3139
+ }, {
3140
+ status: "failed" | "not_started" | "completed" | "running" | "pending_scan";
3141
+ ran_at?: string | undefined;
3142
+ started_at?: string | undefined;
3143
+ pid?: number | undefined;
3144
+ findings_count?: number | undefined;
3145
+ error?: string | undefined;
3146
+ scan_id?: string | undefined;
3147
+ }>>;
3148
+ }, "strip", z.ZodTypeAny, {
3149
+ tools: Record<string, {
3150
+ status: "failed" | "not_started" | "completed" | "running" | "pending_scan";
3151
+ ran_at?: string | undefined;
3152
+ started_at?: string | undefined;
3153
+ pid?: number | undefined;
3154
+ findings_count?: number | undefined;
3155
+ error?: string | undefined;
3156
+ scan_id?: string | undefined;
3157
+ }>;
3158
+ }, {
3159
+ tools: Record<string, {
3160
+ status: "failed" | "not_started" | "completed" | "running" | "pending_scan";
3161
+ ran_at?: string | undefined;
3162
+ started_at?: string | undefined;
3163
+ pid?: number | undefined;
3164
+ findings_count?: number | undefined;
3165
+ error?: string | undefined;
3166
+ scan_id?: string | undefined;
3167
+ }>;
3168
+ }>;
3169
+ export declare const GithubSyncStatusSchema: z.ZodObject<{
3170
+ repo: z.ZodString;
3171
+ last_synced_at: z.ZodString;
3172
+ pushed: z.ZodDefault<z.ZodNumber>;
3173
+ updated: z.ZodDefault<z.ZodNumber>;
3174
+ pulled: z.ZodDefault<z.ZodNumber>;
3175
+ teammate_findings: z.ZodDefault<z.ZodNumber>;
3176
+ duplicates_detected: z.ZodDefault<z.ZodNumber>;
3177
+ errors: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
3178
+ }, "strip", z.ZodTypeAny, {
3179
+ repo: string;
3180
+ errors: string[];
3181
+ last_synced_at: string;
3182
+ pushed: number;
3183
+ updated: number;
3184
+ pulled: number;
3185
+ teammate_findings: number;
3186
+ duplicates_detected: number;
3187
+ }, {
3188
+ repo: string;
3189
+ last_synced_at: string;
3190
+ errors?: string[] | undefined;
3191
+ pushed?: number | undefined;
3192
+ updated?: number | undefined;
3193
+ pulled?: number | undefined;
3194
+ teammate_findings?: number | undefined;
3195
+ duplicates_detected?: number | undefined;
3196
+ }>;
3197
+ //# sourceMappingURL=schema.d.ts.map