@modelcontextprotocol/sdk 1.8.0 → 1.10.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 (188) hide show
  1. package/README.md +339 -38
  2. package/dist/cjs/client/auth.d.ts +2 -1
  3. package/dist/cjs/client/auth.d.ts.map +1 -1
  4. package/dist/cjs/client/auth.js +3 -1
  5. package/dist/cjs/client/auth.js.map +1 -1
  6. package/dist/cjs/client/index.d.ts +49 -1
  7. package/dist/cjs/client/index.d.ts.map +1 -1
  8. package/dist/cjs/client/index.js +9 -4
  9. package/dist/cjs/client/index.js.map +1 -1
  10. package/dist/cjs/client/streamableHttp.d.ts +124 -0
  11. package/dist/cjs/client/streamableHttp.d.ts.map +1 -0
  12. package/dist/cjs/client/streamableHttp.js +353 -0
  13. package/dist/cjs/client/streamableHttp.js.map +1 -0
  14. package/dist/cjs/examples/client/simpleStreamableHttp.d.ts +2 -0
  15. package/dist/cjs/examples/client/simpleStreamableHttp.d.ts.map +1 -0
  16. package/dist/cjs/examples/client/simpleStreamableHttp.js +448 -0
  17. package/dist/cjs/examples/client/simpleStreamableHttp.js.map +1 -0
  18. package/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts +2 -0
  19. package/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +1 -0
  20. package/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js +168 -0
  21. package/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js.map +1 -0
  22. package/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts +2 -0
  23. package/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts.map +1 -0
  24. package/dist/cjs/examples/server/jsonResponseStreamableHttp.js +139 -0
  25. package/dist/cjs/examples/server/jsonResponseStreamableHttp.js.map +1 -0
  26. package/dist/cjs/examples/server/simpleSseServer.d.ts +2 -0
  27. package/dist/cjs/examples/server/simpleSseServer.d.ts.map +1 -0
  28. package/dist/cjs/examples/server/simpleSseServer.js +148 -0
  29. package/dist/cjs/examples/server/simpleSseServer.js.map +1 -0
  30. package/dist/cjs/examples/server/simpleStreamableHttp.d.ts +2 -0
  31. package/dist/cjs/examples/server/simpleStreamableHttp.d.ts.map +1 -0
  32. package/dist/cjs/examples/server/simpleStreamableHttp.js +250 -0
  33. package/dist/cjs/examples/server/simpleStreamableHttp.js.map +1 -0
  34. package/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +2 -0
  35. package/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +1 -0
  36. package/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js +229 -0
  37. package/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js.map +1 -0
  38. package/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts +2 -0
  39. package/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +1 -0
  40. package/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js +112 -0
  41. package/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js.map +1 -0
  42. package/dist/cjs/examples/shared/inMemoryEventStore.d.ts +31 -0
  43. package/dist/cjs/examples/shared/inMemoryEventStore.d.ts.map +1 -0
  44. package/dist/cjs/examples/shared/inMemoryEventStore.js +69 -0
  45. package/dist/cjs/examples/shared/inMemoryEventStore.js.map +1 -0
  46. package/dist/cjs/inMemory.d.ts +13 -3
  47. package/dist/cjs/inMemory.d.ts.map +1 -1
  48. package/dist/cjs/inMemory.js +9 -7
  49. package/dist/cjs/inMemory.js.map +1 -1
  50. package/dist/cjs/server/auth/handlers/token.d.ts.map +1 -1
  51. package/dist/cjs/server/auth/handlers/token.js +10 -5
  52. package/dist/cjs/server/auth/handlers/token.js.map +1 -1
  53. package/dist/cjs/server/auth/provider.d.ts +9 -1
  54. package/dist/cjs/server/auth/provider.d.ts.map +1 -1
  55. package/dist/cjs/server/auth/providers/proxyProvider.d.ts +43 -0
  56. package/dist/cjs/server/auth/providers/proxyProvider.d.ts.map +1 -0
  57. package/dist/cjs/server/auth/providers/proxyProvider.js +145 -0
  58. package/dist/cjs/server/auth/providers/proxyProvider.js.map +1 -0
  59. package/dist/cjs/server/auth/router.d.ts +6 -0
  60. package/dist/cjs/server/auth/router.d.ts.map +1 -1
  61. package/dist/cjs/server/auth/router.js +5 -4
  62. package/dist/cjs/server/auth/router.js.map +1 -1
  63. package/dist/cjs/server/auth/types.d.ts +5 -0
  64. package/dist/cjs/server/auth/types.d.ts.map +1 -1
  65. package/dist/cjs/server/index.d.ts +12 -0
  66. package/dist/cjs/server/index.d.ts.map +1 -1
  67. package/dist/cjs/server/mcp.d.ts +100 -19
  68. package/dist/cjs/server/mcp.d.ts.map +1 -1
  69. package/dist/cjs/server/mcp.js +154 -12
  70. package/dist/cjs/server/mcp.js.map +1 -1
  71. package/dist/cjs/server/sse.d.ts +10 -3
  72. package/dist/cjs/server/sse.d.ts.map +1 -1
  73. package/dist/cjs/server/sse.js +14 -5
  74. package/dist/cjs/server/sse.js.map +1 -1
  75. package/dist/cjs/server/streamableHttp.d.ts +146 -0
  76. package/dist/cjs/server/streamableHttp.d.ts.map +1 -0
  77. package/dist/cjs/server/streamableHttp.js +538 -0
  78. package/dist/cjs/server/streamableHttp.js.map +1 -0
  79. package/dist/cjs/shared/protocol.d.ts +31 -5
  80. package/dist/cjs/shared/protocol.d.ts.map +1 -1
  81. package/dist/cjs/shared/protocol.js +29 -19
  82. package/dist/cjs/shared/protocol.js.map +1 -1
  83. package/dist/cjs/shared/stdio.js +1 -1
  84. package/dist/cjs/shared/stdio.js.map +1 -1
  85. package/dist/cjs/shared/transport.d.ts +32 -3
  86. package/dist/cjs/shared/transport.d.ts.map +1 -1
  87. package/dist/cjs/shared/uriTemplate.d.ts +1 -0
  88. package/dist/cjs/shared/uriTemplate.d.ts.map +1 -1
  89. package/dist/cjs/shared/uriTemplate.js +3 -0
  90. package/dist/cjs/shared/uriTemplate.js.map +1 -1
  91. package/dist/cjs/types.d.ts +1990 -35
  92. package/dist/cjs/types.d.ts.map +1 -1
  93. package/dist/cjs/types.js +38 -4
  94. package/dist/cjs/types.js.map +1 -1
  95. package/dist/esm/client/auth.d.ts +2 -1
  96. package/dist/esm/client/auth.d.ts.map +1 -1
  97. package/dist/esm/client/auth.js +3 -1
  98. package/dist/esm/client/auth.js.map +1 -1
  99. package/dist/esm/client/index.d.ts +49 -1
  100. package/dist/esm/client/index.d.ts.map +1 -1
  101. package/dist/esm/client/index.js +9 -4
  102. package/dist/esm/client/index.js.map +1 -1
  103. package/dist/esm/client/streamableHttp.d.ts +124 -0
  104. package/dist/esm/client/streamableHttp.d.ts.map +1 -0
  105. package/dist/esm/client/streamableHttp.js +348 -0
  106. package/dist/esm/client/streamableHttp.js.map +1 -0
  107. package/dist/esm/examples/client/simpleStreamableHttp.d.ts +2 -0
  108. package/dist/esm/examples/client/simpleStreamableHttp.d.ts.map +1 -0
  109. package/dist/esm/examples/client/simpleStreamableHttp.js +446 -0
  110. package/dist/esm/examples/client/simpleStreamableHttp.js.map +1 -0
  111. package/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts +2 -0
  112. package/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +1 -0
  113. package/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js +166 -0
  114. package/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js.map +1 -0
  115. package/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts +2 -0
  116. package/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts.map +1 -0
  117. package/dist/esm/examples/server/jsonResponseStreamableHttp.js +134 -0
  118. package/dist/esm/examples/server/jsonResponseStreamableHttp.js.map +1 -0
  119. package/dist/esm/examples/server/simpleSseServer.d.ts +2 -0
  120. package/dist/esm/examples/server/simpleSseServer.d.ts.map +1 -0
  121. package/dist/esm/examples/server/simpleSseServer.js +143 -0
  122. package/dist/esm/examples/server/simpleSseServer.js.map +1 -0
  123. package/dist/esm/examples/server/simpleStreamableHttp.d.ts +2 -0
  124. package/dist/esm/examples/server/simpleStreamableHttp.d.ts.map +1 -0
  125. package/dist/esm/examples/server/simpleStreamableHttp.js +245 -0
  126. package/dist/esm/examples/server/simpleStreamableHttp.js.map +1 -0
  127. package/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +2 -0
  128. package/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +1 -0
  129. package/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js +224 -0
  130. package/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js.map +1 -0
  131. package/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts +2 -0
  132. package/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +1 -0
  133. package/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js +107 -0
  134. package/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js.map +1 -0
  135. package/dist/esm/examples/shared/inMemoryEventStore.d.ts +31 -0
  136. package/dist/esm/examples/shared/inMemoryEventStore.d.ts.map +1 -0
  137. package/dist/esm/examples/shared/inMemoryEventStore.js +65 -0
  138. package/dist/esm/examples/shared/inMemoryEventStore.js.map +1 -0
  139. package/dist/esm/inMemory.d.ts +13 -3
  140. package/dist/esm/inMemory.d.ts.map +1 -1
  141. package/dist/esm/inMemory.js +9 -7
  142. package/dist/esm/inMemory.js.map +1 -1
  143. package/dist/esm/server/auth/handlers/token.d.ts.map +1 -1
  144. package/dist/esm/server/auth/handlers/token.js +10 -5
  145. package/dist/esm/server/auth/handlers/token.js.map +1 -1
  146. package/dist/esm/server/auth/provider.d.ts +9 -1
  147. package/dist/esm/server/auth/provider.d.ts.map +1 -1
  148. package/dist/esm/server/auth/providers/proxyProvider.d.ts +43 -0
  149. package/dist/esm/server/auth/providers/proxyProvider.d.ts.map +1 -0
  150. package/dist/esm/server/auth/providers/proxyProvider.js +141 -0
  151. package/dist/esm/server/auth/providers/proxyProvider.js.map +1 -0
  152. package/dist/esm/server/auth/router.d.ts +6 -0
  153. package/dist/esm/server/auth/router.d.ts.map +1 -1
  154. package/dist/esm/server/auth/router.js +5 -4
  155. package/dist/esm/server/auth/router.js.map +1 -1
  156. package/dist/esm/server/auth/types.d.ts +5 -0
  157. package/dist/esm/server/auth/types.d.ts.map +1 -1
  158. package/dist/esm/server/index.d.ts +12 -0
  159. package/dist/esm/server/index.d.ts.map +1 -1
  160. package/dist/esm/server/mcp.d.ts +100 -19
  161. package/dist/esm/server/mcp.d.ts.map +1 -1
  162. package/dist/esm/server/mcp.js +154 -12
  163. package/dist/esm/server/mcp.js.map +1 -1
  164. package/dist/esm/server/sse.d.ts +10 -3
  165. package/dist/esm/server/sse.d.ts.map +1 -1
  166. package/dist/esm/server/sse.js +14 -5
  167. package/dist/esm/server/sse.js.map +1 -1
  168. package/dist/esm/server/streamableHttp.d.ts +146 -0
  169. package/dist/esm/server/streamableHttp.d.ts.map +1 -0
  170. package/dist/esm/server/streamableHttp.js +531 -0
  171. package/dist/esm/server/streamableHttp.js.map +1 -0
  172. package/dist/esm/shared/protocol.d.ts +31 -5
  173. package/dist/esm/shared/protocol.d.ts.map +1 -1
  174. package/dist/esm/shared/protocol.js +30 -20
  175. package/dist/esm/shared/protocol.js.map +1 -1
  176. package/dist/esm/shared/stdio.js +1 -1
  177. package/dist/esm/shared/stdio.js.map +1 -1
  178. package/dist/esm/shared/transport.d.ts +32 -3
  179. package/dist/esm/shared/transport.d.ts.map +1 -1
  180. package/dist/esm/shared/uriTemplate.d.ts +1 -0
  181. package/dist/esm/shared/uriTemplate.d.ts.map +1 -1
  182. package/dist/esm/shared/uriTemplate.js +3 -0
  183. package/dist/esm/shared/uriTemplate.js.map +1 -1
  184. package/dist/esm/types.d.ts +1990 -35
  185. package/dist/esm/types.d.ts.map +1 -1
  186. package/dist/esm/types.js +30 -2
  187. package/dist/esm/types.js.map +1 -1
  188. package/package.json +2 -2
@@ -265,6 +265,7 @@ export declare const JSONRPCRequestSchema: z.ZodObject<z.objectUtil.extendShape<
265
265
  }, z.ZodTypeAny, "passthrough">>>;
266
266
  }, z.ZodTypeAny, "passthrough"> | undefined;
267
267
  }>;
268
+ export declare const isJSONRPCRequest: (value: unknown) => value is JSONRPCRequest;
268
269
  /**
269
270
  * A notification which does not expect a response.
270
271
  */
@@ -307,6 +308,7 @@ export declare const JSONRPCNotificationSchema: z.ZodObject<z.objectUtil.extendS
307
308
  _meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
308
309
  }, z.ZodTypeAny, "passthrough"> | undefined;
309
310
  }>;
311
+ export declare const isJSONRPCNotification: (value: unknown) => value is JSONRPCNotification;
310
312
  /**
311
313
  * A successful (non-error) response to a request.
312
314
  */
@@ -346,6 +348,7 @@ export declare const JSONRPCResponseSchema: z.ZodObject<{
346
348
  [k: string]: unknown;
347
349
  };
348
350
  }>;
351
+ export declare const isJSONRPCResponse: (value: unknown) => value is JSONRPCResponse;
349
352
  /**
350
353
  * Error codes defined by the JSON-RPC specification.
351
354
  */
@@ -403,6 +406,7 @@ export declare const JSONRPCErrorSchema: z.ZodObject<{
403
406
  data?: unknown;
404
407
  };
405
408
  }>;
409
+ export declare const isJSONRPCError: (value: unknown) => value is JSONRPCError;
406
410
  export declare const JSONRPCMessageSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
407
411
  jsonrpc: z.ZodLiteral<"2.0">;
408
412
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -1304,6 +1308,7 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
1304
1308
  };
1305
1309
  method: "initialize";
1306
1310
  }>;
1311
+ export declare const isInitializeRequest: (value: unknown) => value is InitializeRequest;
1307
1312
  /**
1308
1313
  * Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.
1309
1314
  */
@@ -1316,6 +1321,10 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
1316
1321
  * Present if the server supports sending log messages to the client.
1317
1322
  */
1318
1323
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1324
+ /**
1325
+ * Present if the server supports sending completions to the client.
1326
+ */
1327
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1319
1328
  /**
1320
1329
  * Present if the server offers any prompt templates.
1321
1330
  */
@@ -1394,6 +1403,10 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
1394
1403
  * Present if the server supports sending log messages to the client.
1395
1404
  */
1396
1405
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1406
+ /**
1407
+ * Present if the server supports sending completions to the client.
1408
+ */
1409
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1397
1410
  /**
1398
1411
  * Present if the server offers any prompt templates.
1399
1412
  */
@@ -1472,6 +1485,10 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
1472
1485
  * Present if the server supports sending log messages to the client.
1473
1486
  */
1474
1487
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1488
+ /**
1489
+ * Present if the server supports sending completions to the client.
1490
+ */
1491
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1475
1492
  /**
1476
1493
  * Present if the server offers any prompt templates.
1477
1494
  */
@@ -1564,6 +1581,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
1564
1581
  * Present if the server supports sending log messages to the client.
1565
1582
  */
1566
1583
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1584
+ /**
1585
+ * Present if the server supports sending completions to the client.
1586
+ */
1587
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1567
1588
  /**
1568
1589
  * Present if the server offers any prompt templates.
1569
1590
  */
@@ -1642,6 +1663,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
1642
1663
  * Present if the server supports sending log messages to the client.
1643
1664
  */
1644
1665
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1666
+ /**
1667
+ * Present if the server supports sending completions to the client.
1668
+ */
1669
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1645
1670
  /**
1646
1671
  * Present if the server offers any prompt templates.
1647
1672
  */
@@ -1720,6 +1745,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
1720
1745
  * Present if the server supports sending log messages to the client.
1721
1746
  */
1722
1747
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1748
+ /**
1749
+ * Present if the server supports sending completions to the client.
1750
+ */
1751
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1723
1752
  /**
1724
1753
  * Present if the server offers any prompt templates.
1725
1754
  */
@@ -1825,6 +1854,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
1825
1854
  * Present if the server supports sending log messages to the client.
1826
1855
  */
1827
1856
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1857
+ /**
1858
+ * Present if the server supports sending completions to the client.
1859
+ */
1860
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1828
1861
  /**
1829
1862
  * Present if the server offers any prompt templates.
1830
1863
  */
@@ -1903,6 +1936,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
1903
1936
  * Present if the server supports sending log messages to the client.
1904
1937
  */
1905
1938
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1939
+ /**
1940
+ * Present if the server supports sending completions to the client.
1941
+ */
1942
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1906
1943
  /**
1907
1944
  * Present if the server offers any prompt templates.
1908
1945
  */
@@ -1981,6 +2018,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
1981
2018
  * Present if the server supports sending log messages to the client.
1982
2019
  */
1983
2020
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2021
+ /**
2022
+ * Present if the server supports sending completions to the client.
2023
+ */
2024
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1984
2025
  /**
1985
2026
  * Present if the server offers any prompt templates.
1986
2027
  */
@@ -2086,6 +2127,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
2086
2127
  * Present if the server supports sending log messages to the client.
2087
2128
  */
2088
2129
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2130
+ /**
2131
+ * Present if the server supports sending completions to the client.
2132
+ */
2133
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2089
2134
  /**
2090
2135
  * Present if the server offers any prompt templates.
2091
2136
  */
@@ -2164,6 +2209,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
2164
2209
  * Present if the server supports sending log messages to the client.
2165
2210
  */
2166
2211
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2212
+ /**
2213
+ * Present if the server supports sending completions to the client.
2214
+ */
2215
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2167
2216
  /**
2168
2217
  * Present if the server offers any prompt templates.
2169
2218
  */
@@ -2242,6 +2291,10 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
2242
2291
  * Present if the server supports sending log messages to the client.
2243
2292
  */
2244
2293
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2294
+ /**
2295
+ * Present if the server supports sending completions to the client.
2296
+ */
2297
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2245
2298
  /**
2246
2299
  * Present if the server offers any prompt templates.
2247
2300
  */
@@ -2369,6 +2422,7 @@ export declare const InitializedNotificationSchema: z.ZodObject<z.objectUtil.ext
2369
2422
  _meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2370
2423
  }, z.ZodTypeAny, "passthrough"> | undefined;
2371
2424
  }>;
2425
+ export declare const isInitializedNotification: (value: unknown) => value is InitializedNotification;
2372
2426
  /**
2373
2427
  * A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected.
2374
2428
  */
@@ -5859,6 +5913,40 @@ export declare const ImageContentSchema: z.ZodObject<{
5859
5913
  */
5860
5914
  mimeType: z.ZodString;
5861
5915
  }, z.ZodTypeAny, "passthrough">>;
5916
+ /**
5917
+ * An Audio provided to or from an LLM.
5918
+ */
5919
+ export declare const AudioContentSchema: z.ZodObject<{
5920
+ type: z.ZodLiteral<"audio">;
5921
+ /**
5922
+ * The base64-encoded audio data.
5923
+ */
5924
+ data: z.ZodString;
5925
+ /**
5926
+ * The MIME type of the audio. Different providers may support different audio types.
5927
+ */
5928
+ mimeType: z.ZodString;
5929
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5930
+ type: z.ZodLiteral<"audio">;
5931
+ /**
5932
+ * The base64-encoded audio data.
5933
+ */
5934
+ data: z.ZodString;
5935
+ /**
5936
+ * The MIME type of the audio. Different providers may support different audio types.
5937
+ */
5938
+ mimeType: z.ZodString;
5939
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5940
+ type: z.ZodLiteral<"audio">;
5941
+ /**
5942
+ * The base64-encoded audio data.
5943
+ */
5944
+ data: z.ZodString;
5945
+ /**
5946
+ * The MIME type of the audio. Different providers may support different audio types.
5947
+ */
5948
+ mimeType: z.ZodString;
5949
+ }, z.ZodTypeAny, "passthrough">>;
5862
5950
  /**
5863
5951
  * The contents of a resource, embedded into a prompt or tool call result.
5864
5952
  */
@@ -6177,6 +6265,36 @@ export declare const PromptMessageSchema: z.ZodObject<{
6177
6265
  * The MIME type of the image. Different providers may support different image types.
6178
6266
  */
6179
6267
  mimeType: z.ZodString;
6268
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
6269
+ type: z.ZodLiteral<"audio">;
6270
+ /**
6271
+ * The base64-encoded audio data.
6272
+ */
6273
+ data: z.ZodString;
6274
+ /**
6275
+ * The MIME type of the audio. Different providers may support different audio types.
6276
+ */
6277
+ mimeType: z.ZodString;
6278
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6279
+ type: z.ZodLiteral<"audio">;
6280
+ /**
6281
+ * The base64-encoded audio data.
6282
+ */
6283
+ data: z.ZodString;
6284
+ /**
6285
+ * The MIME type of the audio. Different providers may support different audio types.
6286
+ */
6287
+ mimeType: z.ZodString;
6288
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6289
+ type: z.ZodLiteral<"audio">;
6290
+ /**
6291
+ * The base64-encoded audio data.
6292
+ */
6293
+ data: z.ZodString;
6294
+ /**
6295
+ * The MIME type of the audio. Different providers may support different audio types.
6296
+ */
6297
+ mimeType: z.ZodString;
6180
6298
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
6181
6299
  type: z.ZodLiteral<"resource">;
6182
6300
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -6489,6 +6607,36 @@ export declare const PromptMessageSchema: z.ZodObject<{
6489
6607
  * The MIME type of the image. Different providers may support different image types.
6490
6608
  */
6491
6609
  mimeType: z.ZodString;
6610
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
6611
+ type: z.ZodLiteral<"audio">;
6612
+ /**
6613
+ * The base64-encoded audio data.
6614
+ */
6615
+ data: z.ZodString;
6616
+ /**
6617
+ * The MIME type of the audio. Different providers may support different audio types.
6618
+ */
6619
+ mimeType: z.ZodString;
6620
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6621
+ type: z.ZodLiteral<"audio">;
6622
+ /**
6623
+ * The base64-encoded audio data.
6624
+ */
6625
+ data: z.ZodString;
6626
+ /**
6627
+ * The MIME type of the audio. Different providers may support different audio types.
6628
+ */
6629
+ mimeType: z.ZodString;
6630
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6631
+ type: z.ZodLiteral<"audio">;
6632
+ /**
6633
+ * The base64-encoded audio data.
6634
+ */
6635
+ data: z.ZodString;
6636
+ /**
6637
+ * The MIME type of the audio. Different providers may support different audio types.
6638
+ */
6639
+ mimeType: z.ZodString;
6492
6640
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
6493
6641
  type: z.ZodLiteral<"resource">;
6494
6642
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -6801,6 +6949,36 @@ export declare const PromptMessageSchema: z.ZodObject<{
6801
6949
  * The MIME type of the image. Different providers may support different image types.
6802
6950
  */
6803
6951
  mimeType: z.ZodString;
6952
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
6953
+ type: z.ZodLiteral<"audio">;
6954
+ /**
6955
+ * The base64-encoded audio data.
6956
+ */
6957
+ data: z.ZodString;
6958
+ /**
6959
+ * The MIME type of the audio. Different providers may support different audio types.
6960
+ */
6961
+ mimeType: z.ZodString;
6962
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6963
+ type: z.ZodLiteral<"audio">;
6964
+ /**
6965
+ * The base64-encoded audio data.
6966
+ */
6967
+ data: z.ZodString;
6968
+ /**
6969
+ * The MIME type of the audio. Different providers may support different audio types.
6970
+ */
6971
+ mimeType: z.ZodString;
6972
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6973
+ type: z.ZodLiteral<"audio">;
6974
+ /**
6975
+ * The base64-encoded audio data.
6976
+ */
6977
+ data: z.ZodString;
6978
+ /**
6979
+ * The MIME type of the audio. Different providers may support different audio types.
6980
+ */
6981
+ mimeType: z.ZodString;
6804
6982
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
6805
6983
  type: z.ZodLiteral<"resource">;
6806
6984
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -7127,6 +7305,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
7127
7305
  * The MIME type of the image. Different providers may support different image types.
7128
7306
  */
7129
7307
  mimeType: z.ZodString;
7308
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
7309
+ type: z.ZodLiteral<"audio">;
7310
+ /**
7311
+ * The base64-encoded audio data.
7312
+ */
7313
+ data: z.ZodString;
7314
+ /**
7315
+ * The MIME type of the audio. Different providers may support different audio types.
7316
+ */
7317
+ mimeType: z.ZodString;
7318
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7319
+ type: z.ZodLiteral<"audio">;
7320
+ /**
7321
+ * The base64-encoded audio data.
7322
+ */
7323
+ data: z.ZodString;
7324
+ /**
7325
+ * The MIME type of the audio. Different providers may support different audio types.
7326
+ */
7327
+ mimeType: z.ZodString;
7328
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7329
+ type: z.ZodLiteral<"audio">;
7330
+ /**
7331
+ * The base64-encoded audio data.
7332
+ */
7333
+ data: z.ZodString;
7334
+ /**
7335
+ * The MIME type of the audio. Different providers may support different audio types.
7336
+ */
7337
+ mimeType: z.ZodString;
7130
7338
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
7131
7339
  type: z.ZodLiteral<"resource">;
7132
7340
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -7439,6 +7647,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
7439
7647
  * The MIME type of the image. Different providers may support different image types.
7440
7648
  */
7441
7649
  mimeType: z.ZodString;
7650
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
7651
+ type: z.ZodLiteral<"audio">;
7652
+ /**
7653
+ * The base64-encoded audio data.
7654
+ */
7655
+ data: z.ZodString;
7656
+ /**
7657
+ * The MIME type of the audio. Different providers may support different audio types.
7658
+ */
7659
+ mimeType: z.ZodString;
7660
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7661
+ type: z.ZodLiteral<"audio">;
7662
+ /**
7663
+ * The base64-encoded audio data.
7664
+ */
7665
+ data: z.ZodString;
7666
+ /**
7667
+ * The MIME type of the audio. Different providers may support different audio types.
7668
+ */
7669
+ mimeType: z.ZodString;
7670
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7671
+ type: z.ZodLiteral<"audio">;
7672
+ /**
7673
+ * The base64-encoded audio data.
7674
+ */
7675
+ data: z.ZodString;
7676
+ /**
7677
+ * The MIME type of the audio. Different providers may support different audio types.
7678
+ */
7679
+ mimeType: z.ZodString;
7442
7680
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
7443
7681
  type: z.ZodLiteral<"resource">;
7444
7682
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -7751,6 +7989,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
7751
7989
  * The MIME type of the image. Different providers may support different image types.
7752
7990
  */
7753
7991
  mimeType: z.ZodString;
7992
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
7993
+ type: z.ZodLiteral<"audio">;
7994
+ /**
7995
+ * The base64-encoded audio data.
7996
+ */
7997
+ data: z.ZodString;
7998
+ /**
7999
+ * The MIME type of the audio. Different providers may support different audio types.
8000
+ */
8001
+ mimeType: z.ZodString;
8002
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8003
+ type: z.ZodLiteral<"audio">;
8004
+ /**
8005
+ * The base64-encoded audio data.
8006
+ */
8007
+ data: z.ZodString;
8008
+ /**
8009
+ * The MIME type of the audio. Different providers may support different audio types.
8010
+ */
8011
+ mimeType: z.ZodString;
8012
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8013
+ type: z.ZodLiteral<"audio">;
8014
+ /**
8015
+ * The base64-encoded audio data.
8016
+ */
8017
+ data: z.ZodString;
8018
+ /**
8019
+ * The MIME type of the audio. Different providers may support different audio types.
8020
+ */
8021
+ mimeType: z.ZodString;
7754
8022
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
7755
8023
  type: z.ZodLiteral<"resource">;
7756
8024
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -8074,6 +8342,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
8074
8342
  * The MIME type of the image. Different providers may support different image types.
8075
8343
  */
8076
8344
  mimeType: z.ZodString;
8345
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
8346
+ type: z.ZodLiteral<"audio">;
8347
+ /**
8348
+ * The base64-encoded audio data.
8349
+ */
8350
+ data: z.ZodString;
8351
+ /**
8352
+ * The MIME type of the audio. Different providers may support different audio types.
8353
+ */
8354
+ mimeType: z.ZodString;
8355
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8356
+ type: z.ZodLiteral<"audio">;
8357
+ /**
8358
+ * The base64-encoded audio data.
8359
+ */
8360
+ data: z.ZodString;
8361
+ /**
8362
+ * The MIME type of the audio. Different providers may support different audio types.
8363
+ */
8364
+ mimeType: z.ZodString;
8365
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8366
+ type: z.ZodLiteral<"audio">;
8367
+ /**
8368
+ * The base64-encoded audio data.
8369
+ */
8370
+ data: z.ZodString;
8371
+ /**
8372
+ * The MIME type of the audio. Different providers may support different audio types.
8373
+ */
8374
+ mimeType: z.ZodString;
8077
8375
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
8078
8376
  type: z.ZodLiteral<"resource">;
8079
8377
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -8386,6 +8684,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
8386
8684
  * The MIME type of the image. Different providers may support different image types.
8387
8685
  */
8388
8686
  mimeType: z.ZodString;
8687
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
8688
+ type: z.ZodLiteral<"audio">;
8689
+ /**
8690
+ * The base64-encoded audio data.
8691
+ */
8692
+ data: z.ZodString;
8693
+ /**
8694
+ * The MIME type of the audio. Different providers may support different audio types.
8695
+ */
8696
+ mimeType: z.ZodString;
8697
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8698
+ type: z.ZodLiteral<"audio">;
8699
+ /**
8700
+ * The base64-encoded audio data.
8701
+ */
8702
+ data: z.ZodString;
8703
+ /**
8704
+ * The MIME type of the audio. Different providers may support different audio types.
8705
+ */
8706
+ mimeType: z.ZodString;
8707
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8708
+ type: z.ZodLiteral<"audio">;
8709
+ /**
8710
+ * The base64-encoded audio data.
8711
+ */
8712
+ data: z.ZodString;
8713
+ /**
8714
+ * The MIME type of the audio. Different providers may support different audio types.
8715
+ */
8716
+ mimeType: z.ZodString;
8389
8717
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
8390
8718
  type: z.ZodLiteral<"resource">;
8391
8719
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -8698,6 +9026,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
8698
9026
  * The MIME type of the image. Different providers may support different image types.
8699
9027
  */
8700
9028
  mimeType: z.ZodString;
9029
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
9030
+ type: z.ZodLiteral<"audio">;
9031
+ /**
9032
+ * The base64-encoded audio data.
9033
+ */
9034
+ data: z.ZodString;
9035
+ /**
9036
+ * The MIME type of the audio. Different providers may support different audio types.
9037
+ */
9038
+ mimeType: z.ZodString;
9039
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9040
+ type: z.ZodLiteral<"audio">;
9041
+ /**
9042
+ * The base64-encoded audio data.
9043
+ */
9044
+ data: z.ZodString;
9045
+ /**
9046
+ * The MIME type of the audio. Different providers may support different audio types.
9047
+ */
9048
+ mimeType: z.ZodString;
9049
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
9050
+ type: z.ZodLiteral<"audio">;
9051
+ /**
9052
+ * The base64-encoded audio data.
9053
+ */
9054
+ data: z.ZodString;
9055
+ /**
9056
+ * The MIME type of the audio. Different providers may support different audio types.
9057
+ */
9058
+ mimeType: z.ZodString;
8701
9059
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
8702
9060
  type: z.ZodLiteral<"resource">;
8703
9061
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -9022,26 +9380,56 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
9022
9380
  */
9023
9381
  mimeType: z.ZodString;
9024
9382
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
9025
- type: z.ZodLiteral<"resource">;
9026
- resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
9027
- /**
9028
- * The URI of this resource.
9029
- */
9030
- uri: z.ZodString;
9031
- /**
9032
- * The MIME type of this resource, if known.
9033
- */
9034
- mimeType: z.ZodOptional<z.ZodString>;
9035
- }, {
9036
- /**
9037
- * The text of the item. This must only be set if the item can actually be represented as text (not binary data).
9038
- */
9039
- text: z.ZodString;
9040
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
9041
- /**
9042
- * The URI of this resource.
9043
- */
9044
- uri: z.ZodString;
9383
+ type: z.ZodLiteral<"audio">;
9384
+ /**
9385
+ * The base64-encoded audio data.
9386
+ */
9387
+ data: z.ZodString;
9388
+ /**
9389
+ * The MIME type of the audio. Different providers may support different audio types.
9390
+ */
9391
+ mimeType: z.ZodString;
9392
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9393
+ type: z.ZodLiteral<"audio">;
9394
+ /**
9395
+ * The base64-encoded audio data.
9396
+ */
9397
+ data: z.ZodString;
9398
+ /**
9399
+ * The MIME type of the audio. Different providers may support different audio types.
9400
+ */
9401
+ mimeType: z.ZodString;
9402
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
9403
+ type: z.ZodLiteral<"audio">;
9404
+ /**
9405
+ * The base64-encoded audio data.
9406
+ */
9407
+ data: z.ZodString;
9408
+ /**
9409
+ * The MIME type of the audio. Different providers may support different audio types.
9410
+ */
9411
+ mimeType: z.ZodString;
9412
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
9413
+ type: z.ZodLiteral<"resource">;
9414
+ resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
9415
+ /**
9416
+ * The URI of this resource.
9417
+ */
9418
+ uri: z.ZodString;
9419
+ /**
9420
+ * The MIME type of this resource, if known.
9421
+ */
9422
+ mimeType: z.ZodOptional<z.ZodString>;
9423
+ }, {
9424
+ /**
9425
+ * The text of the item. This must only be set if the item can actually be represented as text (not binary data).
9426
+ */
9427
+ text: z.ZodString;
9428
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
9429
+ /**
9430
+ * The URI of this resource.
9431
+ */
9432
+ uri: z.ZodString;
9045
9433
  /**
9046
9434
  * The MIME type of this resource, if known.
9047
9435
  */
@@ -9333,6 +9721,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
9333
9721
  * The MIME type of the image. Different providers may support different image types.
9334
9722
  */
9335
9723
  mimeType: z.ZodString;
9724
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
9725
+ type: z.ZodLiteral<"audio">;
9726
+ /**
9727
+ * The base64-encoded audio data.
9728
+ */
9729
+ data: z.ZodString;
9730
+ /**
9731
+ * The MIME type of the audio. Different providers may support different audio types.
9732
+ */
9733
+ mimeType: z.ZodString;
9734
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9735
+ type: z.ZodLiteral<"audio">;
9736
+ /**
9737
+ * The base64-encoded audio data.
9738
+ */
9739
+ data: z.ZodString;
9740
+ /**
9741
+ * The MIME type of the audio. Different providers may support different audio types.
9742
+ */
9743
+ mimeType: z.ZodString;
9744
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
9745
+ type: z.ZodLiteral<"audio">;
9746
+ /**
9747
+ * The base64-encoded audio data.
9748
+ */
9749
+ data: z.ZodString;
9750
+ /**
9751
+ * The MIME type of the audio. Different providers may support different audio types.
9752
+ */
9753
+ mimeType: z.ZodString;
9336
9754
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
9337
9755
  type: z.ZodLiteral<"resource">;
9338
9756
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -9645,6 +10063,36 @@ export declare const GetPromptResultSchema: z.ZodObject<z.objectUtil.extendShape
9645
10063
  * The MIME type of the image. Different providers may support different image types.
9646
10064
  */
9647
10065
  mimeType: z.ZodString;
10066
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
10067
+ type: z.ZodLiteral<"audio">;
10068
+ /**
10069
+ * The base64-encoded audio data.
10070
+ */
10071
+ data: z.ZodString;
10072
+ /**
10073
+ * The MIME type of the audio. Different providers may support different audio types.
10074
+ */
10075
+ mimeType: z.ZodString;
10076
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10077
+ type: z.ZodLiteral<"audio">;
10078
+ /**
10079
+ * The base64-encoded audio data.
10080
+ */
10081
+ data: z.ZodString;
10082
+ /**
10083
+ * The MIME type of the audio. Different providers may support different audio types.
10084
+ */
10085
+ mimeType: z.ZodString;
10086
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10087
+ type: z.ZodLiteral<"audio">;
10088
+ /**
10089
+ * The base64-encoded audio data.
10090
+ */
10091
+ data: z.ZodString;
10092
+ /**
10093
+ * The MIME type of the audio. Different providers may support different audio types.
10094
+ */
10095
+ mimeType: z.ZodString;
9648
10096
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
9649
10097
  type: z.ZodLiteral<"resource">;
9650
10098
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -10500,6 +10948,36 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
10500
10948
  * The MIME type of the image. Different providers may support different image types.
10501
10949
  */
10502
10950
  mimeType: z.ZodString;
10951
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
10952
+ type: z.ZodLiteral<"audio">;
10953
+ /**
10954
+ * The base64-encoded audio data.
10955
+ */
10956
+ data: z.ZodString;
10957
+ /**
10958
+ * The MIME type of the audio. Different providers may support different audio types.
10959
+ */
10960
+ mimeType: z.ZodString;
10961
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10962
+ type: z.ZodLiteral<"audio">;
10963
+ /**
10964
+ * The base64-encoded audio data.
10965
+ */
10966
+ data: z.ZodString;
10967
+ /**
10968
+ * The MIME type of the audio. Different providers may support different audio types.
10969
+ */
10970
+ mimeType: z.ZodString;
10971
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10972
+ type: z.ZodLiteral<"audio">;
10973
+ /**
10974
+ * The base64-encoded audio data.
10975
+ */
10976
+ data: z.ZodString;
10977
+ /**
10978
+ * The MIME type of the audio. Different providers may support different audio types.
10979
+ */
10980
+ mimeType: z.ZodString;
10503
10981
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
10504
10982
  type: z.ZodLiteral<"resource">;
10505
10983
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -10817,6 +11295,36 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
10817
11295
  * The MIME type of the image. Different providers may support different image types.
10818
11296
  */
10819
11297
  mimeType: z.ZodString;
11298
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
11299
+ type: z.ZodLiteral<"audio">;
11300
+ /**
11301
+ * The base64-encoded audio data.
11302
+ */
11303
+ data: z.ZodString;
11304
+ /**
11305
+ * The MIME type of the audio. Different providers may support different audio types.
11306
+ */
11307
+ mimeType: z.ZodString;
11308
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11309
+ type: z.ZodLiteral<"audio">;
11310
+ /**
11311
+ * The base64-encoded audio data.
11312
+ */
11313
+ data: z.ZodString;
11314
+ /**
11315
+ * The MIME type of the audio. Different providers may support different audio types.
11316
+ */
11317
+ mimeType: z.ZodString;
11318
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11319
+ type: z.ZodLiteral<"audio">;
11320
+ /**
11321
+ * The base64-encoded audio data.
11322
+ */
11323
+ data: z.ZodString;
11324
+ /**
11325
+ * The MIME type of the audio. Different providers may support different audio types.
11326
+ */
11327
+ mimeType: z.ZodString;
10820
11328
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
10821
11329
  type: z.ZodLiteral<"resource">;
10822
11330
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -11134,6 +11642,36 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
11134
11642
  * The MIME type of the image. Different providers may support different image types.
11135
11643
  */
11136
11644
  mimeType: z.ZodString;
11645
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
11646
+ type: z.ZodLiteral<"audio">;
11647
+ /**
11648
+ * The base64-encoded audio data.
11649
+ */
11650
+ data: z.ZodString;
11651
+ /**
11652
+ * The MIME type of the audio. Different providers may support different audio types.
11653
+ */
11654
+ mimeType: z.ZodString;
11655
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11656
+ type: z.ZodLiteral<"audio">;
11657
+ /**
11658
+ * The base64-encoded audio data.
11659
+ */
11660
+ data: z.ZodString;
11661
+ /**
11662
+ * The MIME type of the audio. Different providers may support different audio types.
11663
+ */
11664
+ mimeType: z.ZodString;
11665
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11666
+ type: z.ZodLiteral<"audio">;
11667
+ /**
11668
+ * The base64-encoded audio data.
11669
+ */
11670
+ data: z.ZodString;
11671
+ /**
11672
+ * The MIME type of the audio. Different providers may support different audio types.
11673
+ */
11674
+ mimeType: z.ZodString;
11137
11675
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
11138
11676
  type: z.ZodLiteral<"resource">;
11139
11677
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -11455,6 +11993,36 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
11455
11993
  * The MIME type of the image. Different providers may support different image types.
11456
11994
  */
11457
11995
  mimeType: z.ZodString;
11996
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
11997
+ type: z.ZodLiteral<"audio">;
11998
+ /**
11999
+ * The base64-encoded audio data.
12000
+ */
12001
+ data: z.ZodString;
12002
+ /**
12003
+ * The MIME type of the audio. Different providers may support different audio types.
12004
+ */
12005
+ mimeType: z.ZodString;
12006
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12007
+ type: z.ZodLiteral<"audio">;
12008
+ /**
12009
+ * The base64-encoded audio data.
12010
+ */
12011
+ data: z.ZodString;
12012
+ /**
12013
+ * The MIME type of the audio. Different providers may support different audio types.
12014
+ */
12015
+ mimeType: z.ZodString;
12016
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12017
+ type: z.ZodLiteral<"audio">;
12018
+ /**
12019
+ * The base64-encoded audio data.
12020
+ */
12021
+ data: z.ZodString;
12022
+ /**
12023
+ * The MIME type of the audio. Different providers may support different audio types.
12024
+ */
12025
+ mimeType: z.ZodString;
11458
12026
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
11459
12027
  type: z.ZodLiteral<"resource">;
11460
12028
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -11772,6 +12340,36 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
11772
12340
  * The MIME type of the image. Different providers may support different image types.
11773
12341
  */
11774
12342
  mimeType: z.ZodString;
12343
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
12344
+ type: z.ZodLiteral<"audio">;
12345
+ /**
12346
+ * The base64-encoded audio data.
12347
+ */
12348
+ data: z.ZodString;
12349
+ /**
12350
+ * The MIME type of the audio. Different providers may support different audio types.
12351
+ */
12352
+ mimeType: z.ZodString;
12353
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12354
+ type: z.ZodLiteral<"audio">;
12355
+ /**
12356
+ * The base64-encoded audio data.
12357
+ */
12358
+ data: z.ZodString;
12359
+ /**
12360
+ * The MIME type of the audio. Different providers may support different audio types.
12361
+ */
12362
+ mimeType: z.ZodString;
12363
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12364
+ type: z.ZodLiteral<"audio">;
12365
+ /**
12366
+ * The base64-encoded audio data.
12367
+ */
12368
+ data: z.ZodString;
12369
+ /**
12370
+ * The MIME type of the audio. Different providers may support different audio types.
12371
+ */
12372
+ mimeType: z.ZodString;
11775
12373
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
11776
12374
  type: z.ZodLiteral<"resource">;
11777
12375
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -12089,6 +12687,36 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
12089
12687
  * The MIME type of the image. Different providers may support different image types.
12090
12688
  */
12091
12689
  mimeType: z.ZodString;
12690
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
12691
+ type: z.ZodLiteral<"audio">;
12692
+ /**
12693
+ * The base64-encoded audio data.
12694
+ */
12695
+ data: z.ZodString;
12696
+ /**
12697
+ * The MIME type of the audio. Different providers may support different audio types.
12698
+ */
12699
+ mimeType: z.ZodString;
12700
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12701
+ type: z.ZodLiteral<"audio">;
12702
+ /**
12703
+ * The base64-encoded audio data.
12704
+ */
12705
+ data: z.ZodString;
12706
+ /**
12707
+ * The MIME type of the audio. Different providers may support different audio types.
12708
+ */
12709
+ mimeType: z.ZodString;
12710
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12711
+ type: z.ZodLiteral<"audio">;
12712
+ /**
12713
+ * The base64-encoded audio data.
12714
+ */
12715
+ data: z.ZodString;
12716
+ /**
12717
+ * The MIME type of the audio. Different providers may support different audio types.
12718
+ */
12719
+ mimeType: z.ZodString;
12092
12720
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
12093
12721
  type: z.ZodLiteral<"resource">;
12094
12722
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -12991,6 +13619,36 @@ export declare const SamplingMessageSchema: z.ZodObject<{
12991
13619
  * The MIME type of the image. Different providers may support different image types.
12992
13620
  */
12993
13621
  mimeType: z.ZodString;
13622
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
13623
+ type: z.ZodLiteral<"audio">;
13624
+ /**
13625
+ * The base64-encoded audio data.
13626
+ */
13627
+ data: z.ZodString;
13628
+ /**
13629
+ * The MIME type of the audio. Different providers may support different audio types.
13630
+ */
13631
+ mimeType: z.ZodString;
13632
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13633
+ type: z.ZodLiteral<"audio">;
13634
+ /**
13635
+ * The base64-encoded audio data.
13636
+ */
13637
+ data: z.ZodString;
13638
+ /**
13639
+ * The MIME type of the audio. Different providers may support different audio types.
13640
+ */
13641
+ mimeType: z.ZodString;
13642
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13643
+ type: z.ZodLiteral<"audio">;
13644
+ /**
13645
+ * The base64-encoded audio data.
13646
+ */
13647
+ data: z.ZodString;
13648
+ /**
13649
+ * The MIME type of the audio. Different providers may support different audio types.
13650
+ */
13651
+ mimeType: z.ZodString;
12994
13652
  }, z.ZodTypeAny, "passthrough">>]>;
12995
13653
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12996
13654
  role: z.ZodEnum<["user", "assistant"]>;
@@ -13042,6 +13700,36 @@ export declare const SamplingMessageSchema: z.ZodObject<{
13042
13700
  * The MIME type of the image. Different providers may support different image types.
13043
13701
  */
13044
13702
  mimeType: z.ZodString;
13703
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
13704
+ type: z.ZodLiteral<"audio">;
13705
+ /**
13706
+ * The base64-encoded audio data.
13707
+ */
13708
+ data: z.ZodString;
13709
+ /**
13710
+ * The MIME type of the audio. Different providers may support different audio types.
13711
+ */
13712
+ mimeType: z.ZodString;
13713
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13714
+ type: z.ZodLiteral<"audio">;
13715
+ /**
13716
+ * The base64-encoded audio data.
13717
+ */
13718
+ data: z.ZodString;
13719
+ /**
13720
+ * The MIME type of the audio. Different providers may support different audio types.
13721
+ */
13722
+ mimeType: z.ZodString;
13723
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13724
+ type: z.ZodLiteral<"audio">;
13725
+ /**
13726
+ * The base64-encoded audio data.
13727
+ */
13728
+ data: z.ZodString;
13729
+ /**
13730
+ * The MIME type of the audio. Different providers may support different audio types.
13731
+ */
13732
+ mimeType: z.ZodString;
13045
13733
  }, z.ZodTypeAny, "passthrough">>]>;
13046
13734
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13047
13735
  role: z.ZodEnum<["user", "assistant"]>;
@@ -13093,11 +13781,41 @@ export declare const SamplingMessageSchema: z.ZodObject<{
13093
13781
  * The MIME type of the image. Different providers may support different image types.
13094
13782
  */
13095
13783
  mimeType: z.ZodString;
13096
- }, z.ZodTypeAny, "passthrough">>]>;
13097
- }, z.ZodTypeAny, "passthrough">>;
13098
- /**
13099
- * A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.
13100
- */
13784
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
13785
+ type: z.ZodLiteral<"audio">;
13786
+ /**
13787
+ * The base64-encoded audio data.
13788
+ */
13789
+ data: z.ZodString;
13790
+ /**
13791
+ * The MIME type of the audio. Different providers may support different audio types.
13792
+ */
13793
+ mimeType: z.ZodString;
13794
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13795
+ type: z.ZodLiteral<"audio">;
13796
+ /**
13797
+ * The base64-encoded audio data.
13798
+ */
13799
+ data: z.ZodString;
13800
+ /**
13801
+ * The MIME type of the audio. Different providers may support different audio types.
13802
+ */
13803
+ mimeType: z.ZodString;
13804
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13805
+ type: z.ZodLiteral<"audio">;
13806
+ /**
13807
+ * The base64-encoded audio data.
13808
+ */
13809
+ data: z.ZodString;
13810
+ /**
13811
+ * The MIME type of the audio. Different providers may support different audio types.
13812
+ */
13813
+ mimeType: z.ZodString;
13814
+ }, z.ZodTypeAny, "passthrough">>]>;
13815
+ }, z.ZodTypeAny, "passthrough">>;
13816
+ /**
13817
+ * A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.
13818
+ */
13101
13819
  export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
13102
13820
  method: z.ZodString;
13103
13821
  params: z.ZodOptional<z.ZodObject<{
@@ -13222,6 +13940,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
13222
13940
  * The MIME type of the image. Different providers may support different image types.
13223
13941
  */
13224
13942
  mimeType: z.ZodString;
13943
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
13944
+ type: z.ZodLiteral<"audio">;
13945
+ /**
13946
+ * The base64-encoded audio data.
13947
+ */
13948
+ data: z.ZodString;
13949
+ /**
13950
+ * The MIME type of the audio. Different providers may support different audio types.
13951
+ */
13952
+ mimeType: z.ZodString;
13953
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13954
+ type: z.ZodLiteral<"audio">;
13955
+ /**
13956
+ * The base64-encoded audio data.
13957
+ */
13958
+ data: z.ZodString;
13959
+ /**
13960
+ * The MIME type of the audio. Different providers may support different audio types.
13961
+ */
13962
+ mimeType: z.ZodString;
13963
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13964
+ type: z.ZodLiteral<"audio">;
13965
+ /**
13966
+ * The base64-encoded audio data.
13967
+ */
13968
+ data: z.ZodString;
13969
+ /**
13970
+ * The MIME type of the audio. Different providers may support different audio types.
13971
+ */
13972
+ mimeType: z.ZodString;
13225
13973
  }, z.ZodTypeAny, "passthrough">>]>;
13226
13974
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13227
13975
  role: z.ZodEnum<["user", "assistant"]>;
@@ -13273,6 +14021,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
13273
14021
  * The MIME type of the image. Different providers may support different image types.
13274
14022
  */
13275
14023
  mimeType: z.ZodString;
14024
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
14025
+ type: z.ZodLiteral<"audio">;
14026
+ /**
14027
+ * The base64-encoded audio data.
14028
+ */
14029
+ data: z.ZodString;
14030
+ /**
14031
+ * The MIME type of the audio. Different providers may support different audio types.
14032
+ */
14033
+ mimeType: z.ZodString;
14034
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14035
+ type: z.ZodLiteral<"audio">;
14036
+ /**
14037
+ * The base64-encoded audio data.
14038
+ */
14039
+ data: z.ZodString;
14040
+ /**
14041
+ * The MIME type of the audio. Different providers may support different audio types.
14042
+ */
14043
+ mimeType: z.ZodString;
14044
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14045
+ type: z.ZodLiteral<"audio">;
14046
+ /**
14047
+ * The base64-encoded audio data.
14048
+ */
14049
+ data: z.ZodString;
14050
+ /**
14051
+ * The MIME type of the audio. Different providers may support different audio types.
14052
+ */
14053
+ mimeType: z.ZodString;
13276
14054
  }, z.ZodTypeAny, "passthrough">>]>;
13277
14055
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13278
14056
  role: z.ZodEnum<["user", "assistant"]>;
@@ -13324,6 +14102,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
13324
14102
  * The MIME type of the image. Different providers may support different image types.
13325
14103
  */
13326
14104
  mimeType: z.ZodString;
14105
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
14106
+ type: z.ZodLiteral<"audio">;
14107
+ /**
14108
+ * The base64-encoded audio data.
14109
+ */
14110
+ data: z.ZodString;
14111
+ /**
14112
+ * The MIME type of the audio. Different providers may support different audio types.
14113
+ */
14114
+ mimeType: z.ZodString;
14115
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14116
+ type: z.ZodLiteral<"audio">;
14117
+ /**
14118
+ * The base64-encoded audio data.
14119
+ */
14120
+ data: z.ZodString;
14121
+ /**
14122
+ * The MIME type of the audio. Different providers may support different audio types.
14123
+ */
14124
+ mimeType: z.ZodString;
14125
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14126
+ type: z.ZodLiteral<"audio">;
14127
+ /**
14128
+ * The base64-encoded audio data.
14129
+ */
14130
+ data: z.ZodString;
14131
+ /**
14132
+ * The MIME type of the audio. Different providers may support different audio types.
14133
+ */
14134
+ mimeType: z.ZodString;
13327
14135
  }, z.ZodTypeAny, "passthrough">>]>;
13328
14136
  }, z.ZodTypeAny, "passthrough">>, "many">;
13329
14137
  /**
@@ -13512,6 +14320,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
13512
14320
  * The MIME type of the image. Different providers may support different image types.
13513
14321
  */
13514
14322
  mimeType: z.ZodString;
14323
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
14324
+ type: z.ZodLiteral<"audio">;
14325
+ /**
14326
+ * The base64-encoded audio data.
14327
+ */
14328
+ data: z.ZodString;
14329
+ /**
14330
+ * The MIME type of the audio. Different providers may support different audio types.
14331
+ */
14332
+ mimeType: z.ZodString;
14333
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14334
+ type: z.ZodLiteral<"audio">;
14335
+ /**
14336
+ * The base64-encoded audio data.
14337
+ */
14338
+ data: z.ZodString;
14339
+ /**
14340
+ * The MIME type of the audio. Different providers may support different audio types.
14341
+ */
14342
+ mimeType: z.ZodString;
14343
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14344
+ type: z.ZodLiteral<"audio">;
14345
+ /**
14346
+ * The base64-encoded audio data.
14347
+ */
14348
+ data: z.ZodString;
14349
+ /**
14350
+ * The MIME type of the audio. Different providers may support different audio types.
14351
+ */
14352
+ mimeType: z.ZodString;
13515
14353
  }, z.ZodTypeAny, "passthrough">>]>;
13516
14354
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13517
14355
  role: z.ZodEnum<["user", "assistant"]>;
@@ -13563,6 +14401,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
13563
14401
  * The MIME type of the image. Different providers may support different image types.
13564
14402
  */
13565
14403
  mimeType: z.ZodString;
14404
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
14405
+ type: z.ZodLiteral<"audio">;
14406
+ /**
14407
+ * The base64-encoded audio data.
14408
+ */
14409
+ data: z.ZodString;
14410
+ /**
14411
+ * The MIME type of the audio. Different providers may support different audio types.
14412
+ */
14413
+ mimeType: z.ZodString;
14414
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14415
+ type: z.ZodLiteral<"audio">;
14416
+ /**
14417
+ * The base64-encoded audio data.
14418
+ */
14419
+ data: z.ZodString;
14420
+ /**
14421
+ * The MIME type of the audio. Different providers may support different audio types.
14422
+ */
14423
+ mimeType: z.ZodString;
14424
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14425
+ type: z.ZodLiteral<"audio">;
14426
+ /**
14427
+ * The base64-encoded audio data.
14428
+ */
14429
+ data: z.ZodString;
14430
+ /**
14431
+ * The MIME type of the audio. Different providers may support different audio types.
14432
+ */
14433
+ mimeType: z.ZodString;
13566
14434
  }, z.ZodTypeAny, "passthrough">>]>;
13567
14435
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13568
14436
  role: z.ZodEnum<["user", "assistant"]>;
@@ -13614,6 +14482,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
13614
14482
  * The MIME type of the image. Different providers may support different image types.
13615
14483
  */
13616
14484
  mimeType: z.ZodString;
14485
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
14486
+ type: z.ZodLiteral<"audio">;
14487
+ /**
14488
+ * The base64-encoded audio data.
14489
+ */
14490
+ data: z.ZodString;
14491
+ /**
14492
+ * The MIME type of the audio. Different providers may support different audio types.
14493
+ */
14494
+ mimeType: z.ZodString;
14495
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14496
+ type: z.ZodLiteral<"audio">;
14497
+ /**
14498
+ * The base64-encoded audio data.
14499
+ */
14500
+ data: z.ZodString;
14501
+ /**
14502
+ * The MIME type of the audio. Different providers may support different audio types.
14503
+ */
14504
+ mimeType: z.ZodString;
14505
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14506
+ type: z.ZodLiteral<"audio">;
14507
+ /**
14508
+ * The base64-encoded audio data.
14509
+ */
14510
+ data: z.ZodString;
14511
+ /**
14512
+ * The MIME type of the audio. Different providers may support different audio types.
14513
+ */
14514
+ mimeType: z.ZodString;
13617
14515
  }, z.ZodTypeAny, "passthrough">>]>;
13618
14516
  }, z.ZodTypeAny, "passthrough">>, "many">;
13619
14517
  /**
@@ -13802,6 +14700,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
13802
14700
  * The MIME type of the image. Different providers may support different image types.
13803
14701
  */
13804
14702
  mimeType: z.ZodString;
14703
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
14704
+ type: z.ZodLiteral<"audio">;
14705
+ /**
14706
+ * The base64-encoded audio data.
14707
+ */
14708
+ data: z.ZodString;
14709
+ /**
14710
+ * The MIME type of the audio. Different providers may support different audio types.
14711
+ */
14712
+ mimeType: z.ZodString;
14713
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14714
+ type: z.ZodLiteral<"audio">;
14715
+ /**
14716
+ * The base64-encoded audio data.
14717
+ */
14718
+ data: z.ZodString;
14719
+ /**
14720
+ * The MIME type of the audio. Different providers may support different audio types.
14721
+ */
14722
+ mimeType: z.ZodString;
14723
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14724
+ type: z.ZodLiteral<"audio">;
14725
+ /**
14726
+ * The base64-encoded audio data.
14727
+ */
14728
+ data: z.ZodString;
14729
+ /**
14730
+ * The MIME type of the audio. Different providers may support different audio types.
14731
+ */
14732
+ mimeType: z.ZodString;
13805
14733
  }, z.ZodTypeAny, "passthrough">>]>;
13806
14734
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13807
14735
  role: z.ZodEnum<["user", "assistant"]>;
@@ -13853,6 +14781,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
13853
14781
  * The MIME type of the image. Different providers may support different image types.
13854
14782
  */
13855
14783
  mimeType: z.ZodString;
14784
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
14785
+ type: z.ZodLiteral<"audio">;
14786
+ /**
14787
+ * The base64-encoded audio data.
14788
+ */
14789
+ data: z.ZodString;
14790
+ /**
14791
+ * The MIME type of the audio. Different providers may support different audio types.
14792
+ */
14793
+ mimeType: z.ZodString;
14794
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14795
+ type: z.ZodLiteral<"audio">;
14796
+ /**
14797
+ * The base64-encoded audio data.
14798
+ */
14799
+ data: z.ZodString;
14800
+ /**
14801
+ * The MIME type of the audio. Different providers may support different audio types.
14802
+ */
14803
+ mimeType: z.ZodString;
14804
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14805
+ type: z.ZodLiteral<"audio">;
14806
+ /**
14807
+ * The base64-encoded audio data.
14808
+ */
14809
+ data: z.ZodString;
14810
+ /**
14811
+ * The MIME type of the audio. Different providers may support different audio types.
14812
+ */
14813
+ mimeType: z.ZodString;
13856
14814
  }, z.ZodTypeAny, "passthrough">>]>;
13857
14815
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13858
14816
  role: z.ZodEnum<["user", "assistant"]>;
@@ -13904,6 +14862,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
13904
14862
  * The MIME type of the image. Different providers may support different image types.
13905
14863
  */
13906
14864
  mimeType: z.ZodString;
14865
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
14866
+ type: z.ZodLiteral<"audio">;
14867
+ /**
14868
+ * The base64-encoded audio data.
14869
+ */
14870
+ data: z.ZodString;
14871
+ /**
14872
+ * The MIME type of the audio. Different providers may support different audio types.
14873
+ */
14874
+ mimeType: z.ZodString;
14875
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14876
+ type: z.ZodLiteral<"audio">;
14877
+ /**
14878
+ * The base64-encoded audio data.
14879
+ */
14880
+ data: z.ZodString;
14881
+ /**
14882
+ * The MIME type of the audio. Different providers may support different audio types.
14883
+ */
14884
+ mimeType: z.ZodString;
14885
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
14886
+ type: z.ZodLiteral<"audio">;
14887
+ /**
14888
+ * The base64-encoded audio data.
14889
+ */
14890
+ data: z.ZodString;
14891
+ /**
14892
+ * The MIME type of the audio. Different providers may support different audio types.
14893
+ */
14894
+ mimeType: z.ZodString;
13907
14895
  }, z.ZodTypeAny, "passthrough">>]>;
13908
14896
  }, z.ZodTypeAny, "passthrough">>, "many">;
13909
14897
  /**
@@ -14077,6 +15065,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
14077
15065
  * The MIME type of the image. Different providers may support different image types.
14078
15066
  */
14079
15067
  mimeType: z.ZodString;
15068
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
15069
+ type: z.ZodLiteral<"audio">;
15070
+ /**
15071
+ * The base64-encoded audio data.
15072
+ */
15073
+ data: z.ZodString;
15074
+ /**
15075
+ * The MIME type of the audio. Different providers may support different audio types.
15076
+ */
15077
+ mimeType: z.ZodString;
15078
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
15079
+ type: z.ZodLiteral<"audio">;
15080
+ /**
15081
+ * The base64-encoded audio data.
15082
+ */
15083
+ data: z.ZodString;
15084
+ /**
15085
+ * The MIME type of the audio. Different providers may support different audio types.
15086
+ */
15087
+ mimeType: z.ZodString;
15088
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
15089
+ type: z.ZodLiteral<"audio">;
15090
+ /**
15091
+ * The base64-encoded audio data.
15092
+ */
15093
+ data: z.ZodString;
15094
+ /**
15095
+ * The MIME type of the audio. Different providers may support different audio types.
15096
+ */
15097
+ mimeType: z.ZodString;
14080
15098
  }, z.ZodTypeAny, "passthrough">>]>;
14081
15099
  }, z.ZodTypeAny, "passthrough">[];
14082
15100
  maxTokens: number;
@@ -14180,6 +15198,36 @@ export declare const CreateMessageRequestSchema: z.ZodObject<z.objectUtil.extend
14180
15198
  * The MIME type of the image. Different providers may support different image types.
14181
15199
  */
14182
15200
  mimeType: z.ZodString;
15201
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
15202
+ type: z.ZodLiteral<"audio">;
15203
+ /**
15204
+ * The base64-encoded audio data.
15205
+ */
15206
+ data: z.ZodString;
15207
+ /**
15208
+ * The MIME type of the audio. Different providers may support different audio types.
15209
+ */
15210
+ mimeType: z.ZodString;
15211
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
15212
+ type: z.ZodLiteral<"audio">;
15213
+ /**
15214
+ * The base64-encoded audio data.
15215
+ */
15216
+ data: z.ZodString;
15217
+ /**
15218
+ * The MIME type of the audio. Different providers may support different audio types.
15219
+ */
15220
+ mimeType: z.ZodString;
15221
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
15222
+ type: z.ZodLiteral<"audio">;
15223
+ /**
15224
+ * The base64-encoded audio data.
15225
+ */
15226
+ data: z.ZodString;
15227
+ /**
15228
+ * The MIME type of the audio. Different providers may support different audio types.
15229
+ */
15230
+ mimeType: z.ZodString;
14183
15231
  }, z.ZodTypeAny, "passthrough">>]>;
14184
15232
  }, z.ZodTypeAny, "passthrough">[];
14185
15233
  maxTokens: number;
@@ -14298,6 +15346,36 @@ export declare const CreateMessageResultSchema: z.ZodObject<z.objectUtil.extendS
14298
15346
  * The MIME type of the image. Different providers may support different image types.
14299
15347
  */
14300
15348
  mimeType: z.ZodString;
15349
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
15350
+ type: z.ZodLiteral<"audio">;
15351
+ /**
15352
+ * The base64-encoded audio data.
15353
+ */
15354
+ data: z.ZodString;
15355
+ /**
15356
+ * The MIME type of the audio. Different providers may support different audio types.
15357
+ */
15358
+ mimeType: z.ZodString;
15359
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
15360
+ type: z.ZodLiteral<"audio">;
15361
+ /**
15362
+ * The base64-encoded audio data.
15363
+ */
15364
+ data: z.ZodString;
15365
+ /**
15366
+ * The MIME type of the audio. Different providers may support different audio types.
15367
+ */
15368
+ mimeType: z.ZodString;
15369
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
15370
+ type: z.ZodLiteral<"audio">;
15371
+ /**
15372
+ * The base64-encoded audio data.
15373
+ */
15374
+ data: z.ZodString;
15375
+ /**
15376
+ * The MIME type of the audio. Different providers may support different audio types.
15377
+ */
15378
+ mimeType: z.ZodString;
14301
15379
  }, z.ZodTypeAny, "passthrough">>]>;
14302
15380
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
14303
15381
  /**
@@ -14362,6 +15440,36 @@ export declare const CreateMessageResultSchema: z.ZodObject<z.objectUtil.extendS
14362
15440
  * The MIME type of the image. Different providers may support different image types.
14363
15441
  */
14364
15442
  mimeType: z.ZodString;
15443
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
15444
+ type: z.ZodLiteral<"audio">;
15445
+ /**
15446
+ * The base64-encoded audio data.
15447
+ */
15448
+ data: z.ZodString;
15449
+ /**
15450
+ * The MIME type of the audio. Different providers may support different audio types.
15451
+ */
15452
+ mimeType: z.ZodString;
15453
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
15454
+ type: z.ZodLiteral<"audio">;
15455
+ /**
15456
+ * The base64-encoded audio data.
15457
+ */
15458
+ data: z.ZodString;
15459
+ /**
15460
+ * The MIME type of the audio. Different providers may support different audio types.
15461
+ */
15462
+ mimeType: z.ZodString;
15463
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
15464
+ type: z.ZodLiteral<"audio">;
15465
+ /**
15466
+ * The base64-encoded audio data.
15467
+ */
15468
+ data: z.ZodString;
15469
+ /**
15470
+ * The MIME type of the audio. Different providers may support different audio types.
15471
+ */
15472
+ mimeType: z.ZodString;
14365
15473
  }, z.ZodTypeAny, "passthrough">>]>;
14366
15474
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
14367
15475
  /**
@@ -14426,6 +15534,36 @@ export declare const CreateMessageResultSchema: z.ZodObject<z.objectUtil.extendS
14426
15534
  * The MIME type of the image. Different providers may support different image types.
14427
15535
  */
14428
15536
  mimeType: z.ZodString;
15537
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
15538
+ type: z.ZodLiteral<"audio">;
15539
+ /**
15540
+ * The base64-encoded audio data.
15541
+ */
15542
+ data: z.ZodString;
15543
+ /**
15544
+ * The MIME type of the audio. Different providers may support different audio types.
15545
+ */
15546
+ mimeType: z.ZodString;
15547
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
15548
+ type: z.ZodLiteral<"audio">;
15549
+ /**
15550
+ * The base64-encoded audio data.
15551
+ */
15552
+ data: z.ZodString;
15553
+ /**
15554
+ * The MIME type of the audio. Different providers may support different audio types.
15555
+ */
15556
+ mimeType: z.ZodString;
15557
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
15558
+ type: z.ZodLiteral<"audio">;
15559
+ /**
15560
+ * The base64-encoded audio data.
15561
+ */
15562
+ data: z.ZodString;
15563
+ /**
15564
+ * The MIME type of the audio. Different providers may support different audio types.
15565
+ */
15566
+ mimeType: z.ZodString;
14429
15567
  }, z.ZodTypeAny, "passthrough">>]>;
14430
15568
  }>, z.ZodTypeAny, "passthrough">>;
14431
15569
  /**
@@ -18166,6 +19304,36 @@ export declare const ClientResultSchema: z.ZodUnion<[z.ZodObject<{
18166
19304
  * The MIME type of the image. Different providers may support different image types.
18167
19305
  */
18168
19306
  mimeType: z.ZodString;
19307
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
19308
+ type: z.ZodLiteral<"audio">;
19309
+ /**
19310
+ * The base64-encoded audio data.
19311
+ */
19312
+ data: z.ZodString;
19313
+ /**
19314
+ * The MIME type of the audio. Different providers may support different audio types.
19315
+ */
19316
+ mimeType: z.ZodString;
19317
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19318
+ type: z.ZodLiteral<"audio">;
19319
+ /**
19320
+ * The base64-encoded audio data.
19321
+ */
19322
+ data: z.ZodString;
19323
+ /**
19324
+ * The MIME type of the audio. Different providers may support different audio types.
19325
+ */
19326
+ mimeType: z.ZodString;
19327
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19328
+ type: z.ZodLiteral<"audio">;
19329
+ /**
19330
+ * The base64-encoded audio data.
19331
+ */
19332
+ data: z.ZodString;
19333
+ /**
19334
+ * The MIME type of the audio. Different providers may support different audio types.
19335
+ */
19336
+ mimeType: z.ZodString;
18169
19337
  }, z.ZodTypeAny, "passthrough">>]>;
18170
19338
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
18171
19339
  /**
@@ -18230,6 +19398,36 @@ export declare const ClientResultSchema: z.ZodUnion<[z.ZodObject<{
18230
19398
  * The MIME type of the image. Different providers may support different image types.
18231
19399
  */
18232
19400
  mimeType: z.ZodString;
19401
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
19402
+ type: z.ZodLiteral<"audio">;
19403
+ /**
19404
+ * The base64-encoded audio data.
19405
+ */
19406
+ data: z.ZodString;
19407
+ /**
19408
+ * The MIME type of the audio. Different providers may support different audio types.
19409
+ */
19410
+ mimeType: z.ZodString;
19411
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19412
+ type: z.ZodLiteral<"audio">;
19413
+ /**
19414
+ * The base64-encoded audio data.
19415
+ */
19416
+ data: z.ZodString;
19417
+ /**
19418
+ * The MIME type of the audio. Different providers may support different audio types.
19419
+ */
19420
+ mimeType: z.ZodString;
19421
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19422
+ type: z.ZodLiteral<"audio">;
19423
+ /**
19424
+ * The base64-encoded audio data.
19425
+ */
19426
+ data: z.ZodString;
19427
+ /**
19428
+ * The MIME type of the audio. Different providers may support different audio types.
19429
+ */
19430
+ mimeType: z.ZodString;
18233
19431
  }, z.ZodTypeAny, "passthrough">>]>;
18234
19432
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
18235
19433
  /**
@@ -18263,35 +19461,65 @@ export declare const ClientResultSchema: z.ZodUnion<[z.ZodObject<{
18263
19461
  /**
18264
19462
  * The text content of the message.
18265
19463
  */
18266
- text: z.ZodString;
19464
+ text: z.ZodString;
19465
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
19466
+ type: z.ZodLiteral<"image">;
19467
+ /**
19468
+ * The base64-encoded image data.
19469
+ */
19470
+ data: z.ZodString;
19471
+ /**
19472
+ * The MIME type of the image. Different providers may support different image types.
19473
+ */
19474
+ mimeType: z.ZodString;
19475
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19476
+ type: z.ZodLiteral<"image">;
19477
+ /**
19478
+ * The base64-encoded image data.
19479
+ */
19480
+ data: z.ZodString;
19481
+ /**
19482
+ * The MIME type of the image. Different providers may support different image types.
19483
+ */
19484
+ mimeType: z.ZodString;
19485
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19486
+ type: z.ZodLiteral<"image">;
19487
+ /**
19488
+ * The base64-encoded image data.
19489
+ */
19490
+ data: z.ZodString;
19491
+ /**
19492
+ * The MIME type of the image. Different providers may support different image types.
19493
+ */
19494
+ mimeType: z.ZodString;
18267
19495
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
18268
- type: z.ZodLiteral<"image">;
19496
+ type: z.ZodLiteral<"audio">;
18269
19497
  /**
18270
- * The base64-encoded image data.
19498
+ * The base64-encoded audio data.
18271
19499
  */
18272
19500
  data: z.ZodString;
18273
19501
  /**
18274
- * The MIME type of the image. Different providers may support different image types.
19502
+ * The MIME type of the audio. Different providers may support different audio types.
18275
19503
  */
18276
19504
  mimeType: z.ZodString;
18277
19505
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18278
- type: z.ZodLiteral<"image">;
19506
+ type: z.ZodLiteral<"audio">;
18279
19507
  /**
18280
- * The base64-encoded image data.
19508
+ * The base64-encoded audio data.
18281
19509
  */
18282
19510
  data: z.ZodString;
18283
19511
  /**
18284
- * The MIME type of the image. Different providers may support different image types.
19512
+ * The MIME type of the audio. Different providers may support different audio types.
18285
19513
  */
18286
19514
  mimeType: z.ZodString;
18287
19515
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
18288
- type: z.ZodLiteral<"image">;
19516
+ type: z.ZodLiteral<"audio">;
18289
19517
  /**
18290
- * The base64-encoded image data.
19518
+ * The base64-encoded audio data.
18291
19519
  */
18292
19520
  data: z.ZodString;
18293
19521
  /**
18294
- * The MIME type of the image. Different providers may support different image types.
19522
+ * The MIME type of the audio. Different providers may support different audio types.
18295
19523
  */
18296
19524
  mimeType: z.ZodString;
18297
19525
  }, z.ZodTypeAny, "passthrough">>]>;
@@ -18618,6 +19846,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
18618
19846
  * The MIME type of the image. Different providers may support different image types.
18619
19847
  */
18620
19848
  mimeType: z.ZodString;
19849
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
19850
+ type: z.ZodLiteral<"audio">;
19851
+ /**
19852
+ * The base64-encoded audio data.
19853
+ */
19854
+ data: z.ZodString;
19855
+ /**
19856
+ * The MIME type of the audio. Different providers may support different audio types.
19857
+ */
19858
+ mimeType: z.ZodString;
19859
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19860
+ type: z.ZodLiteral<"audio">;
19861
+ /**
19862
+ * The base64-encoded audio data.
19863
+ */
19864
+ data: z.ZodString;
19865
+ /**
19866
+ * The MIME type of the audio. Different providers may support different audio types.
19867
+ */
19868
+ mimeType: z.ZodString;
19869
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19870
+ type: z.ZodLiteral<"audio">;
19871
+ /**
19872
+ * The base64-encoded audio data.
19873
+ */
19874
+ data: z.ZodString;
19875
+ /**
19876
+ * The MIME type of the audio. Different providers may support different audio types.
19877
+ */
19878
+ mimeType: z.ZodString;
18621
19879
  }, z.ZodTypeAny, "passthrough">>]>;
18622
19880
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18623
19881
  role: z.ZodEnum<["user", "assistant"]>;
@@ -18669,6 +19927,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
18669
19927
  * The MIME type of the image. Different providers may support different image types.
18670
19928
  */
18671
19929
  mimeType: z.ZodString;
19930
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
19931
+ type: z.ZodLiteral<"audio">;
19932
+ /**
19933
+ * The base64-encoded audio data.
19934
+ */
19935
+ data: z.ZodString;
19936
+ /**
19937
+ * The MIME type of the audio. Different providers may support different audio types.
19938
+ */
19939
+ mimeType: z.ZodString;
19940
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19941
+ type: z.ZodLiteral<"audio">;
19942
+ /**
19943
+ * The base64-encoded audio data.
19944
+ */
19945
+ data: z.ZodString;
19946
+ /**
19947
+ * The MIME type of the audio. Different providers may support different audio types.
19948
+ */
19949
+ mimeType: z.ZodString;
19950
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19951
+ type: z.ZodLiteral<"audio">;
19952
+ /**
19953
+ * The base64-encoded audio data.
19954
+ */
19955
+ data: z.ZodString;
19956
+ /**
19957
+ * The MIME type of the audio. Different providers may support different audio types.
19958
+ */
19959
+ mimeType: z.ZodString;
18672
19960
  }, z.ZodTypeAny, "passthrough">>]>;
18673
19961
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
18674
19962
  role: z.ZodEnum<["user", "assistant"]>;
@@ -18720,6 +20008,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
18720
20008
  * The MIME type of the image. Different providers may support different image types.
18721
20009
  */
18722
20010
  mimeType: z.ZodString;
20011
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20012
+ type: z.ZodLiteral<"audio">;
20013
+ /**
20014
+ * The base64-encoded audio data.
20015
+ */
20016
+ data: z.ZodString;
20017
+ /**
20018
+ * The MIME type of the audio. Different providers may support different audio types.
20019
+ */
20020
+ mimeType: z.ZodString;
20021
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20022
+ type: z.ZodLiteral<"audio">;
20023
+ /**
20024
+ * The base64-encoded audio data.
20025
+ */
20026
+ data: z.ZodString;
20027
+ /**
20028
+ * The MIME type of the audio. Different providers may support different audio types.
20029
+ */
20030
+ mimeType: z.ZodString;
20031
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20032
+ type: z.ZodLiteral<"audio">;
20033
+ /**
20034
+ * The base64-encoded audio data.
20035
+ */
20036
+ data: z.ZodString;
20037
+ /**
20038
+ * The MIME type of the audio. Different providers may support different audio types.
20039
+ */
20040
+ mimeType: z.ZodString;
18723
20041
  }, z.ZodTypeAny, "passthrough">>]>;
18724
20042
  }, z.ZodTypeAny, "passthrough">>, "many">;
18725
20043
  /**
@@ -18908,6 +20226,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
18908
20226
  * The MIME type of the image. Different providers may support different image types.
18909
20227
  */
18910
20228
  mimeType: z.ZodString;
20229
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20230
+ type: z.ZodLiteral<"audio">;
20231
+ /**
20232
+ * The base64-encoded audio data.
20233
+ */
20234
+ data: z.ZodString;
20235
+ /**
20236
+ * The MIME type of the audio. Different providers may support different audio types.
20237
+ */
20238
+ mimeType: z.ZodString;
20239
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20240
+ type: z.ZodLiteral<"audio">;
20241
+ /**
20242
+ * The base64-encoded audio data.
20243
+ */
20244
+ data: z.ZodString;
20245
+ /**
20246
+ * The MIME type of the audio. Different providers may support different audio types.
20247
+ */
20248
+ mimeType: z.ZodString;
20249
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20250
+ type: z.ZodLiteral<"audio">;
20251
+ /**
20252
+ * The base64-encoded audio data.
20253
+ */
20254
+ data: z.ZodString;
20255
+ /**
20256
+ * The MIME type of the audio. Different providers may support different audio types.
20257
+ */
20258
+ mimeType: z.ZodString;
18911
20259
  }, z.ZodTypeAny, "passthrough">>]>;
18912
20260
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18913
20261
  role: z.ZodEnum<["user", "assistant"]>;
@@ -18959,6 +20307,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
18959
20307
  * The MIME type of the image. Different providers may support different image types.
18960
20308
  */
18961
20309
  mimeType: z.ZodString;
20310
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20311
+ type: z.ZodLiteral<"audio">;
20312
+ /**
20313
+ * The base64-encoded audio data.
20314
+ */
20315
+ data: z.ZodString;
20316
+ /**
20317
+ * The MIME type of the audio. Different providers may support different audio types.
20318
+ */
20319
+ mimeType: z.ZodString;
20320
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20321
+ type: z.ZodLiteral<"audio">;
20322
+ /**
20323
+ * The base64-encoded audio data.
20324
+ */
20325
+ data: z.ZodString;
20326
+ /**
20327
+ * The MIME type of the audio. Different providers may support different audio types.
20328
+ */
20329
+ mimeType: z.ZodString;
20330
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20331
+ type: z.ZodLiteral<"audio">;
20332
+ /**
20333
+ * The base64-encoded audio data.
20334
+ */
20335
+ data: z.ZodString;
20336
+ /**
20337
+ * The MIME type of the audio. Different providers may support different audio types.
20338
+ */
20339
+ mimeType: z.ZodString;
18962
20340
  }, z.ZodTypeAny, "passthrough">>]>;
18963
20341
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
18964
20342
  role: z.ZodEnum<["user", "assistant"]>;
@@ -19010,6 +20388,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
19010
20388
  * The MIME type of the image. Different providers may support different image types.
19011
20389
  */
19012
20390
  mimeType: z.ZodString;
20391
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20392
+ type: z.ZodLiteral<"audio">;
20393
+ /**
20394
+ * The base64-encoded audio data.
20395
+ */
20396
+ data: z.ZodString;
20397
+ /**
20398
+ * The MIME type of the audio. Different providers may support different audio types.
20399
+ */
20400
+ mimeType: z.ZodString;
20401
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20402
+ type: z.ZodLiteral<"audio">;
20403
+ /**
20404
+ * The base64-encoded audio data.
20405
+ */
20406
+ data: z.ZodString;
20407
+ /**
20408
+ * The MIME type of the audio. Different providers may support different audio types.
20409
+ */
20410
+ mimeType: z.ZodString;
20411
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20412
+ type: z.ZodLiteral<"audio">;
20413
+ /**
20414
+ * The base64-encoded audio data.
20415
+ */
20416
+ data: z.ZodString;
20417
+ /**
20418
+ * The MIME type of the audio. Different providers may support different audio types.
20419
+ */
20420
+ mimeType: z.ZodString;
19013
20421
  }, z.ZodTypeAny, "passthrough">>]>;
19014
20422
  }, z.ZodTypeAny, "passthrough">>, "many">;
19015
20423
  /**
@@ -19198,6 +20606,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
19198
20606
  * The MIME type of the image. Different providers may support different image types.
19199
20607
  */
19200
20608
  mimeType: z.ZodString;
20609
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20610
+ type: z.ZodLiteral<"audio">;
20611
+ /**
20612
+ * The base64-encoded audio data.
20613
+ */
20614
+ data: z.ZodString;
20615
+ /**
20616
+ * The MIME type of the audio. Different providers may support different audio types.
20617
+ */
20618
+ mimeType: z.ZodString;
20619
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20620
+ type: z.ZodLiteral<"audio">;
20621
+ /**
20622
+ * The base64-encoded audio data.
20623
+ */
20624
+ data: z.ZodString;
20625
+ /**
20626
+ * The MIME type of the audio. Different providers may support different audio types.
20627
+ */
20628
+ mimeType: z.ZodString;
20629
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20630
+ type: z.ZodLiteral<"audio">;
20631
+ /**
20632
+ * The base64-encoded audio data.
20633
+ */
20634
+ data: z.ZodString;
20635
+ /**
20636
+ * The MIME type of the audio. Different providers may support different audio types.
20637
+ */
20638
+ mimeType: z.ZodString;
19201
20639
  }, z.ZodTypeAny, "passthrough">>]>;
19202
20640
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19203
20641
  role: z.ZodEnum<["user", "assistant"]>;
@@ -19249,6 +20687,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
19249
20687
  * The MIME type of the image. Different providers may support different image types.
19250
20688
  */
19251
20689
  mimeType: z.ZodString;
20690
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20691
+ type: z.ZodLiteral<"audio">;
20692
+ /**
20693
+ * The base64-encoded audio data.
20694
+ */
20695
+ data: z.ZodString;
20696
+ /**
20697
+ * The MIME type of the audio. Different providers may support different audio types.
20698
+ */
20699
+ mimeType: z.ZodString;
20700
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20701
+ type: z.ZodLiteral<"audio">;
20702
+ /**
20703
+ * The base64-encoded audio data.
20704
+ */
20705
+ data: z.ZodString;
20706
+ /**
20707
+ * The MIME type of the audio. Different providers may support different audio types.
20708
+ */
20709
+ mimeType: z.ZodString;
20710
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20711
+ type: z.ZodLiteral<"audio">;
20712
+ /**
20713
+ * The base64-encoded audio data.
20714
+ */
20715
+ data: z.ZodString;
20716
+ /**
20717
+ * The MIME type of the audio. Different providers may support different audio types.
20718
+ */
20719
+ mimeType: z.ZodString;
19252
20720
  }, z.ZodTypeAny, "passthrough">>]>;
19253
20721
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19254
20722
  role: z.ZodEnum<["user", "assistant"]>;
@@ -19300,6 +20768,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
19300
20768
  * The MIME type of the image. Different providers may support different image types.
19301
20769
  */
19302
20770
  mimeType: z.ZodString;
20771
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20772
+ type: z.ZodLiteral<"audio">;
20773
+ /**
20774
+ * The base64-encoded audio data.
20775
+ */
20776
+ data: z.ZodString;
20777
+ /**
20778
+ * The MIME type of the audio. Different providers may support different audio types.
20779
+ */
20780
+ mimeType: z.ZodString;
20781
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20782
+ type: z.ZodLiteral<"audio">;
20783
+ /**
20784
+ * The base64-encoded audio data.
20785
+ */
20786
+ data: z.ZodString;
20787
+ /**
20788
+ * The MIME type of the audio. Different providers may support different audio types.
20789
+ */
20790
+ mimeType: z.ZodString;
20791
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20792
+ type: z.ZodLiteral<"audio">;
20793
+ /**
20794
+ * The base64-encoded audio data.
20795
+ */
20796
+ data: z.ZodString;
20797
+ /**
20798
+ * The MIME type of the audio. Different providers may support different audio types.
20799
+ */
20800
+ mimeType: z.ZodString;
19303
20801
  }, z.ZodTypeAny, "passthrough">>]>;
19304
20802
  }, z.ZodTypeAny, "passthrough">>, "many">;
19305
20803
  /**
@@ -19473,6 +20971,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
19473
20971
  * The MIME type of the image. Different providers may support different image types.
19474
20972
  */
19475
20973
  mimeType: z.ZodString;
20974
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20975
+ type: z.ZodLiteral<"audio">;
20976
+ /**
20977
+ * The base64-encoded audio data.
20978
+ */
20979
+ data: z.ZodString;
20980
+ /**
20981
+ * The MIME type of the audio. Different providers may support different audio types.
20982
+ */
20983
+ mimeType: z.ZodString;
20984
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20985
+ type: z.ZodLiteral<"audio">;
20986
+ /**
20987
+ * The base64-encoded audio data.
20988
+ */
20989
+ data: z.ZodString;
20990
+ /**
20991
+ * The MIME type of the audio. Different providers may support different audio types.
20992
+ */
20993
+ mimeType: z.ZodString;
20994
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20995
+ type: z.ZodLiteral<"audio">;
20996
+ /**
20997
+ * The base64-encoded audio data.
20998
+ */
20999
+ data: z.ZodString;
21000
+ /**
21001
+ * The MIME type of the audio. Different providers may support different audio types.
21002
+ */
21003
+ mimeType: z.ZodString;
19476
21004
  }, z.ZodTypeAny, "passthrough">>]>;
19477
21005
  }, z.ZodTypeAny, "passthrough">[];
19478
21006
  maxTokens: number;
@@ -19576,6 +21104,36 @@ export declare const ServerRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
19576
21104
  * The MIME type of the image. Different providers may support different image types.
19577
21105
  */
19578
21106
  mimeType: z.ZodString;
21107
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
21108
+ type: z.ZodLiteral<"audio">;
21109
+ /**
21110
+ * The base64-encoded audio data.
21111
+ */
21112
+ data: z.ZodString;
21113
+ /**
21114
+ * The MIME type of the audio. Different providers may support different audio types.
21115
+ */
21116
+ mimeType: z.ZodString;
21117
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
21118
+ type: z.ZodLiteral<"audio">;
21119
+ /**
21120
+ * The base64-encoded audio data.
21121
+ */
21122
+ data: z.ZodString;
21123
+ /**
21124
+ * The MIME type of the audio. Different providers may support different audio types.
21125
+ */
21126
+ mimeType: z.ZodString;
21127
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
21128
+ type: z.ZodLiteral<"audio">;
21129
+ /**
21130
+ * The base64-encoded audio data.
21131
+ */
21132
+ data: z.ZodString;
21133
+ /**
21134
+ * The MIME type of the audio. Different providers may support different audio types.
21135
+ */
21136
+ mimeType: z.ZodString;
19579
21137
  }, z.ZodTypeAny, "passthrough">>]>;
19580
21138
  }, z.ZodTypeAny, "passthrough">[];
19581
21139
  maxTokens: number;
@@ -20208,6 +21766,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
20208
21766
  * Present if the server supports sending log messages to the client.
20209
21767
  */
20210
21768
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
21769
+ /**
21770
+ * Present if the server supports sending completions to the client.
21771
+ */
21772
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
20211
21773
  /**
20212
21774
  * Present if the server offers any prompt templates.
20213
21775
  */
@@ -20286,6 +21848,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
20286
21848
  * Present if the server supports sending log messages to the client.
20287
21849
  */
20288
21850
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
21851
+ /**
21852
+ * Present if the server supports sending completions to the client.
21853
+ */
21854
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
20289
21855
  /**
20290
21856
  * Present if the server offers any prompt templates.
20291
21857
  */
@@ -20364,6 +21930,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
20364
21930
  * Present if the server supports sending log messages to the client.
20365
21931
  */
20366
21932
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
21933
+ /**
21934
+ * Present if the server supports sending completions to the client.
21935
+ */
21936
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
20367
21937
  /**
20368
21938
  * Present if the server offers any prompt templates.
20369
21939
  */
@@ -20469,6 +22039,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
20469
22039
  * Present if the server supports sending log messages to the client.
20470
22040
  */
20471
22041
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
22042
+ /**
22043
+ * Present if the server supports sending completions to the client.
22044
+ */
22045
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
20472
22046
  /**
20473
22047
  * Present if the server offers any prompt templates.
20474
22048
  */
@@ -20547,6 +22121,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
20547
22121
  * Present if the server supports sending log messages to the client.
20548
22122
  */
20549
22123
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
22124
+ /**
22125
+ * Present if the server supports sending completions to the client.
22126
+ */
22127
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
20550
22128
  /**
20551
22129
  * Present if the server offers any prompt templates.
20552
22130
  */
@@ -20625,6 +22203,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
20625
22203
  * Present if the server supports sending log messages to the client.
20626
22204
  */
20627
22205
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
22206
+ /**
22207
+ * Present if the server supports sending completions to the client.
22208
+ */
22209
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
20628
22210
  /**
20629
22211
  * Present if the server offers any prompt templates.
20630
22212
  */
@@ -20730,6 +22312,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
20730
22312
  * Present if the server supports sending log messages to the client.
20731
22313
  */
20732
22314
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
22315
+ /**
22316
+ * Present if the server supports sending completions to the client.
22317
+ */
22318
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
20733
22319
  /**
20734
22320
  * Present if the server offers any prompt templates.
20735
22321
  */
@@ -20808,6 +22394,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
20808
22394
  * Present if the server supports sending log messages to the client.
20809
22395
  */
20810
22396
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
22397
+ /**
22398
+ * Present if the server supports sending completions to the client.
22399
+ */
22400
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
20811
22401
  /**
20812
22402
  * Present if the server offers any prompt templates.
20813
22403
  */
@@ -20886,6 +22476,10 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
20886
22476
  * Present if the server supports sending log messages to the client.
20887
22477
  */
20888
22478
  logging: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
22479
+ /**
22480
+ * Present if the server supports sending completions to the client.
22481
+ */
22482
+ completions: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
20889
22483
  /**
20890
22484
  * Present if the server offers any prompt templates.
20891
22485
  */
@@ -21170,6 +22764,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
21170
22764
  * The MIME type of the image. Different providers may support different image types.
21171
22765
  */
21172
22766
  mimeType: z.ZodString;
22767
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
22768
+ type: z.ZodLiteral<"audio">;
22769
+ /**
22770
+ * The base64-encoded audio data.
22771
+ */
22772
+ data: z.ZodString;
22773
+ /**
22774
+ * The MIME type of the audio. Different providers may support different audio types.
22775
+ */
22776
+ mimeType: z.ZodString;
22777
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
22778
+ type: z.ZodLiteral<"audio">;
22779
+ /**
22780
+ * The base64-encoded audio data.
22781
+ */
22782
+ data: z.ZodString;
22783
+ /**
22784
+ * The MIME type of the audio. Different providers may support different audio types.
22785
+ */
22786
+ mimeType: z.ZodString;
22787
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
22788
+ type: z.ZodLiteral<"audio">;
22789
+ /**
22790
+ * The base64-encoded audio data.
22791
+ */
22792
+ data: z.ZodString;
22793
+ /**
22794
+ * The MIME type of the audio. Different providers may support different audio types.
22795
+ */
22796
+ mimeType: z.ZodString;
21173
22797
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
21174
22798
  type: z.ZodLiteral<"resource">;
21175
22799
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -21482,6 +23106,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
21482
23106
  * The MIME type of the image. Different providers may support different image types.
21483
23107
  */
21484
23108
  mimeType: z.ZodString;
23109
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
23110
+ type: z.ZodLiteral<"audio">;
23111
+ /**
23112
+ * The base64-encoded audio data.
23113
+ */
23114
+ data: z.ZodString;
23115
+ /**
23116
+ * The MIME type of the audio. Different providers may support different audio types.
23117
+ */
23118
+ mimeType: z.ZodString;
23119
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
23120
+ type: z.ZodLiteral<"audio">;
23121
+ /**
23122
+ * The base64-encoded audio data.
23123
+ */
23124
+ data: z.ZodString;
23125
+ /**
23126
+ * The MIME type of the audio. Different providers may support different audio types.
23127
+ */
23128
+ mimeType: z.ZodString;
23129
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
23130
+ type: z.ZodLiteral<"audio">;
23131
+ /**
23132
+ * The base64-encoded audio data.
23133
+ */
23134
+ data: z.ZodString;
23135
+ /**
23136
+ * The MIME type of the audio. Different providers may support different audio types.
23137
+ */
23138
+ mimeType: z.ZodString;
21485
23139
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
21486
23140
  type: z.ZodLiteral<"resource">;
21487
23141
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -21794,6 +23448,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
21794
23448
  * The MIME type of the image. Different providers may support different image types.
21795
23449
  */
21796
23450
  mimeType: z.ZodString;
23451
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
23452
+ type: z.ZodLiteral<"audio">;
23453
+ /**
23454
+ * The base64-encoded audio data.
23455
+ */
23456
+ data: z.ZodString;
23457
+ /**
23458
+ * The MIME type of the audio. Different providers may support different audio types.
23459
+ */
23460
+ mimeType: z.ZodString;
23461
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
23462
+ type: z.ZodLiteral<"audio">;
23463
+ /**
23464
+ * The base64-encoded audio data.
23465
+ */
23466
+ data: z.ZodString;
23467
+ /**
23468
+ * The MIME type of the audio. Different providers may support different audio types.
23469
+ */
23470
+ mimeType: z.ZodString;
23471
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
23472
+ type: z.ZodLiteral<"audio">;
23473
+ /**
23474
+ * The base64-encoded audio data.
23475
+ */
23476
+ data: z.ZodString;
23477
+ /**
23478
+ * The MIME type of the audio. Different providers may support different audio types.
23479
+ */
23480
+ mimeType: z.ZodString;
21797
23481
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
21798
23482
  type: z.ZodLiteral<"resource">;
21799
23483
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -22117,6 +23801,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
22117
23801
  * The MIME type of the image. Different providers may support different image types.
22118
23802
  */
22119
23803
  mimeType: z.ZodString;
23804
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
23805
+ type: z.ZodLiteral<"audio">;
23806
+ /**
23807
+ * The base64-encoded audio data.
23808
+ */
23809
+ data: z.ZodString;
23810
+ /**
23811
+ * The MIME type of the audio. Different providers may support different audio types.
23812
+ */
23813
+ mimeType: z.ZodString;
23814
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
23815
+ type: z.ZodLiteral<"audio">;
23816
+ /**
23817
+ * The base64-encoded audio data.
23818
+ */
23819
+ data: z.ZodString;
23820
+ /**
23821
+ * The MIME type of the audio. Different providers may support different audio types.
23822
+ */
23823
+ mimeType: z.ZodString;
23824
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
23825
+ type: z.ZodLiteral<"audio">;
23826
+ /**
23827
+ * The base64-encoded audio data.
23828
+ */
23829
+ data: z.ZodString;
23830
+ /**
23831
+ * The MIME type of the audio. Different providers may support different audio types.
23832
+ */
23833
+ mimeType: z.ZodString;
22120
23834
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
22121
23835
  type: z.ZodLiteral<"resource">;
22122
23836
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -22429,6 +24143,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
22429
24143
  * The MIME type of the image. Different providers may support different image types.
22430
24144
  */
22431
24145
  mimeType: z.ZodString;
24146
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
24147
+ type: z.ZodLiteral<"audio">;
24148
+ /**
24149
+ * The base64-encoded audio data.
24150
+ */
24151
+ data: z.ZodString;
24152
+ /**
24153
+ * The MIME type of the audio. Different providers may support different audio types.
24154
+ */
24155
+ mimeType: z.ZodString;
24156
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
24157
+ type: z.ZodLiteral<"audio">;
24158
+ /**
24159
+ * The base64-encoded audio data.
24160
+ */
24161
+ data: z.ZodString;
24162
+ /**
24163
+ * The MIME type of the audio. Different providers may support different audio types.
24164
+ */
24165
+ mimeType: z.ZodString;
24166
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
24167
+ type: z.ZodLiteral<"audio">;
24168
+ /**
24169
+ * The base64-encoded audio data.
24170
+ */
24171
+ data: z.ZodString;
24172
+ /**
24173
+ * The MIME type of the audio. Different providers may support different audio types.
24174
+ */
24175
+ mimeType: z.ZodString;
22432
24176
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
22433
24177
  type: z.ZodLiteral<"resource">;
22434
24178
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -22741,6 +24485,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
22741
24485
  * The MIME type of the image. Different providers may support different image types.
22742
24486
  */
22743
24487
  mimeType: z.ZodString;
24488
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
24489
+ type: z.ZodLiteral<"audio">;
24490
+ /**
24491
+ * The base64-encoded audio data.
24492
+ */
24493
+ data: z.ZodString;
24494
+ /**
24495
+ * The MIME type of the audio. Different providers may support different audio types.
24496
+ */
24497
+ mimeType: z.ZodString;
24498
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
24499
+ type: z.ZodLiteral<"audio">;
24500
+ /**
24501
+ * The base64-encoded audio data.
24502
+ */
24503
+ data: z.ZodString;
24504
+ /**
24505
+ * The MIME type of the audio. Different providers may support different audio types.
24506
+ */
24507
+ mimeType: z.ZodString;
24508
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
24509
+ type: z.ZodLiteral<"audio">;
24510
+ /**
24511
+ * The base64-encoded audio data.
24512
+ */
24513
+ data: z.ZodString;
24514
+ /**
24515
+ * The MIME type of the audio. Different providers may support different audio types.
24516
+ */
24517
+ mimeType: z.ZodString;
22744
24518
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
22745
24519
  type: z.ZodLiteral<"resource">;
22746
24520
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -23064,6 +24838,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
23064
24838
  * The MIME type of the image. Different providers may support different image types.
23065
24839
  */
23066
24840
  mimeType: z.ZodString;
24841
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
24842
+ type: z.ZodLiteral<"audio">;
24843
+ /**
24844
+ * The base64-encoded audio data.
24845
+ */
24846
+ data: z.ZodString;
24847
+ /**
24848
+ * The MIME type of the audio. Different providers may support different audio types.
24849
+ */
24850
+ mimeType: z.ZodString;
24851
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
24852
+ type: z.ZodLiteral<"audio">;
24853
+ /**
24854
+ * The base64-encoded audio data.
24855
+ */
24856
+ data: z.ZodString;
24857
+ /**
24858
+ * The MIME type of the audio. Different providers may support different audio types.
24859
+ */
24860
+ mimeType: z.ZodString;
24861
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
24862
+ type: z.ZodLiteral<"audio">;
24863
+ /**
24864
+ * The base64-encoded audio data.
24865
+ */
24866
+ data: z.ZodString;
24867
+ /**
24868
+ * The MIME type of the audio. Different providers may support different audio types.
24869
+ */
24870
+ mimeType: z.ZodString;
23067
24871
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
23068
24872
  type: z.ZodLiteral<"resource">;
23069
24873
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -23376,6 +25180,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
23376
25180
  * The MIME type of the image. Different providers may support different image types.
23377
25181
  */
23378
25182
  mimeType: z.ZodString;
25183
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
25184
+ type: z.ZodLiteral<"audio">;
25185
+ /**
25186
+ * The base64-encoded audio data.
25187
+ */
25188
+ data: z.ZodString;
25189
+ /**
25190
+ * The MIME type of the audio. Different providers may support different audio types.
25191
+ */
25192
+ mimeType: z.ZodString;
25193
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25194
+ type: z.ZodLiteral<"audio">;
25195
+ /**
25196
+ * The base64-encoded audio data.
25197
+ */
25198
+ data: z.ZodString;
25199
+ /**
25200
+ * The MIME type of the audio. Different providers may support different audio types.
25201
+ */
25202
+ mimeType: z.ZodString;
25203
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25204
+ type: z.ZodLiteral<"audio">;
25205
+ /**
25206
+ * The base64-encoded audio data.
25207
+ */
25208
+ data: z.ZodString;
25209
+ /**
25210
+ * The MIME type of the audio. Different providers may support different audio types.
25211
+ */
25212
+ mimeType: z.ZodString;
23379
25213
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
23380
25214
  type: z.ZodLiteral<"resource">;
23381
25215
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -23688,6 +25522,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
23688
25522
  * The MIME type of the image. Different providers may support different image types.
23689
25523
  */
23690
25524
  mimeType: z.ZodString;
25525
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
25526
+ type: z.ZodLiteral<"audio">;
25527
+ /**
25528
+ * The base64-encoded audio data.
25529
+ */
25530
+ data: z.ZodString;
25531
+ /**
25532
+ * The MIME type of the audio. Different providers may support different audio types.
25533
+ */
25534
+ mimeType: z.ZodString;
25535
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25536
+ type: z.ZodLiteral<"audio">;
25537
+ /**
25538
+ * The base64-encoded audio data.
25539
+ */
25540
+ data: z.ZodString;
25541
+ /**
25542
+ * The MIME type of the audio. Different providers may support different audio types.
25543
+ */
25544
+ mimeType: z.ZodString;
25545
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25546
+ type: z.ZodLiteral<"audio">;
25547
+ /**
25548
+ * The base64-encoded audio data.
25549
+ */
25550
+ data: z.ZodString;
25551
+ /**
25552
+ * The MIME type of the audio. Different providers may support different audio types.
25553
+ */
25554
+ mimeType: z.ZodString;
23691
25555
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
23692
25556
  type: z.ZodLiteral<"resource">;
23693
25557
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -25241,6 +27105,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
25241
27105
  * The MIME type of the image. Different providers may support different image types.
25242
27106
  */
25243
27107
  mimeType: z.ZodString;
27108
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
27109
+ type: z.ZodLiteral<"audio">;
27110
+ /**
27111
+ * The base64-encoded audio data.
27112
+ */
27113
+ data: z.ZodString;
27114
+ /**
27115
+ * The MIME type of the audio. Different providers may support different audio types.
27116
+ */
27117
+ mimeType: z.ZodString;
27118
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
27119
+ type: z.ZodLiteral<"audio">;
27120
+ /**
27121
+ * The base64-encoded audio data.
27122
+ */
27123
+ data: z.ZodString;
27124
+ /**
27125
+ * The MIME type of the audio. Different providers may support different audio types.
27126
+ */
27127
+ mimeType: z.ZodString;
27128
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
27129
+ type: z.ZodLiteral<"audio">;
27130
+ /**
27131
+ * The base64-encoded audio data.
27132
+ */
27133
+ data: z.ZodString;
27134
+ /**
27135
+ * The MIME type of the audio. Different providers may support different audio types.
27136
+ */
27137
+ mimeType: z.ZodString;
25244
27138
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
25245
27139
  type: z.ZodLiteral<"resource">;
25246
27140
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -25558,6 +27452,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
25558
27452
  * The MIME type of the image. Different providers may support different image types.
25559
27453
  */
25560
27454
  mimeType: z.ZodString;
27455
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
27456
+ type: z.ZodLiteral<"audio">;
27457
+ /**
27458
+ * The base64-encoded audio data.
27459
+ */
27460
+ data: z.ZodString;
27461
+ /**
27462
+ * The MIME type of the audio. Different providers may support different audio types.
27463
+ */
27464
+ mimeType: z.ZodString;
27465
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
27466
+ type: z.ZodLiteral<"audio">;
27467
+ /**
27468
+ * The base64-encoded audio data.
27469
+ */
27470
+ data: z.ZodString;
27471
+ /**
27472
+ * The MIME type of the audio. Different providers may support different audio types.
27473
+ */
27474
+ mimeType: z.ZodString;
27475
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
27476
+ type: z.ZodLiteral<"audio">;
27477
+ /**
27478
+ * The base64-encoded audio data.
27479
+ */
27480
+ data: z.ZodString;
27481
+ /**
27482
+ * The MIME type of the audio. Different providers may support different audio types.
27483
+ */
27484
+ mimeType: z.ZodString;
25561
27485
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
25562
27486
  type: z.ZodLiteral<"resource">;
25563
27487
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -25875,6 +27799,36 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
25875
27799
  * The MIME type of the image. Different providers may support different image types.
25876
27800
  */
25877
27801
  mimeType: z.ZodString;
27802
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
27803
+ type: z.ZodLiteral<"audio">;
27804
+ /**
27805
+ * The base64-encoded audio data.
27806
+ */
27807
+ data: z.ZodString;
27808
+ /**
27809
+ * The MIME type of the audio. Different providers may support different audio types.
27810
+ */
27811
+ mimeType: z.ZodString;
27812
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
27813
+ type: z.ZodLiteral<"audio">;
27814
+ /**
27815
+ * The base64-encoded audio data.
27816
+ */
27817
+ data: z.ZodString;
27818
+ /**
27819
+ * The MIME type of the audio. Different providers may support different audio types.
27820
+ */
27821
+ mimeType: z.ZodString;
27822
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
27823
+ type: z.ZodLiteral<"audio">;
27824
+ /**
27825
+ * The base64-encoded audio data.
27826
+ */
27827
+ data: z.ZodString;
27828
+ /**
27829
+ * The MIME type of the audio. Different providers may support different audio types.
27830
+ */
27831
+ mimeType: z.ZodString;
25878
27832
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
25879
27833
  type: z.ZodLiteral<"resource">;
25880
27834
  resource: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -26432,6 +28386,7 @@ export type ListPromptsResult = Infer<typeof ListPromptsResultSchema>;
26432
28386
  export type GetPromptRequest = Infer<typeof GetPromptRequestSchema>;
26433
28387
  export type TextContent = Infer<typeof TextContentSchema>;
26434
28388
  export type ImageContent = Infer<typeof ImageContentSchema>;
28389
+ export type AudioContent = Infer<typeof AudioContentSchema>;
26435
28390
  export type EmbeddedResource = Infer<typeof EmbeddedResourceSchema>;
26436
28391
  export type PromptMessage = Infer<typeof PromptMessageSchema>;
26437
28392
  export type GetPromptResult = Infer<typeof GetPromptResultSchema>;