@opencode-ai/ai 0.0.0-beta-17492

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 (194) hide show
  1. package/README.md +392 -0
  2. package/dist/cache-policy.d.ts +2 -0
  3. package/dist/cache-policy.js +121 -0
  4. package/dist/image-client.d.ts +19 -0
  5. package/dist/image-client.js +19 -0
  6. package/dist/image.d.ts +110 -0
  7. package/dist/image.js +102 -0
  8. package/dist/index.d.ts +18 -0
  9. package/dist/index.js +12 -0
  10. package/dist/llm.d.ts +230 -0
  11. package/dist/llm.js +77 -0
  12. package/dist/protocols/anthropic-messages.d.ts +633 -0
  13. package/dist/protocols/anthropic-messages.js +860 -0
  14. package/dist/protocols/bedrock-converse.d.ts +533 -0
  15. package/dist/protocols/bedrock-converse.js +584 -0
  16. package/dist/protocols/bedrock-event-stream.d.ts +9 -0
  17. package/dist/protocols/bedrock-event-stream.js +73 -0
  18. package/dist/protocols/gemini.d.ts +300 -0
  19. package/dist/protocols/gemini.js +512 -0
  20. package/dist/protocols/google-images.d.ts +30 -0
  21. package/dist/protocols/google-images.js +191 -0
  22. package/dist/protocols/index.d.ts +10 -0
  23. package/dist/protocols/index.js +10 -0
  24. package/dist/protocols/open-responses-channel.d.ts +26 -0
  25. package/dist/protocols/open-responses-channel.js +120 -0
  26. package/dist/protocols/open-responses.d.ts +951 -0
  27. package/dist/protocols/open-responses.js +873 -0
  28. package/dist/protocols/openai-chat.d.ts +795 -0
  29. package/dist/protocols/openai-chat.js +718 -0
  30. package/dist/protocols/openai-compatible-chat.d.ts +107 -0
  31. package/dist/protocols/openai-compatible-chat.js +20 -0
  32. package/dist/protocols/openai-compatible-responses.d.ts +96 -0
  33. package/dist/protocols/openai-compatible-responses.js +17 -0
  34. package/dist/protocols/openai-images.d.ts +32 -0
  35. package/dist/protocols/openai-images.js +188 -0
  36. package/dist/protocols/openai-responses-channel.d.ts +12 -0
  37. package/dist/protocols/openai-responses-channel.js +142 -0
  38. package/dist/protocols/openai-responses.d.ts +596 -0
  39. package/dist/protocols/openai-responses.js +208 -0
  40. package/dist/protocols/shared.d.ts +194 -0
  41. package/dist/protocols/shared.js +238 -0
  42. package/dist/protocols/utils/bedrock-auth.d.ts +21 -0
  43. package/dist/protocols/utils/bedrock-auth.js +43 -0
  44. package/dist/protocols/utils/bedrock-cache.d.ts +15 -0
  45. package/dist/protocols/utils/bedrock-cache.js +29 -0
  46. package/dist/protocols/utils/bedrock-media.d.ts +49 -0
  47. package/dist/protocols/utils/bedrock-media.js +70 -0
  48. package/dist/protocols/utils/cache.d.ts +6 -0
  49. package/dist/protocols/utils/cache.js +8 -0
  50. package/dist/protocols/utils/gemini-tool-schema.d.ts +2 -0
  51. package/dist/protocols/utils/gemini-tool-schema.js +103 -0
  52. package/dist/protocols/utils/image-input.d.ts +21 -0
  53. package/dist/protocols/utils/image-input.js +22 -0
  54. package/dist/protocols/utils/lifecycle.d.ts +20 -0
  55. package/dist/protocols/utils/lifecycle.js +68 -0
  56. package/dist/protocols/utils/open-responses-options.d.ts +21 -0
  57. package/dist/protocols/utils/open-responses-options.js +41 -0
  58. package/dist/protocols/utils/openai-image.d.ts +5 -0
  59. package/dist/protocols/utils/openai-image.js +18 -0
  60. package/dist/protocols/utils/openai-options.d.ts +14 -0
  61. package/dist/protocols/utils/openai-options.js +14 -0
  62. package/dist/protocols/utils/tool-schema.d.ts +8 -0
  63. package/dist/protocols/utils/tool-schema.js +81 -0
  64. package/dist/protocols/utils/tool-stream.d.ts +639 -0
  65. package/dist/protocols/utils/tool-stream.js +141 -0
  66. package/dist/protocols/xai-images.d.ts +26 -0
  67. package/dist/protocols/xai-images.js +111 -0
  68. package/dist/protocols/zai-images.d.ts +22 -0
  69. package/dist/protocols/zai-images.js +84 -0
  70. package/dist/protocols.d.ts +1 -0
  71. package/dist/protocols.js +1 -0
  72. package/dist/provider-error.d.ts +14 -0
  73. package/dist/provider-error.js +130 -0
  74. package/dist/provider-package.d.ts +15 -0
  75. package/dist/provider-package.js +1 -0
  76. package/dist/provider.d.ts +23 -0
  77. package/dist/provider.js +2 -0
  78. package/dist/providers/amazon-bedrock/mantle/chat.d.ts +2 -0
  79. package/dist/providers/amazon-bedrock/mantle/chat.js +1 -0
  80. package/dist/providers/amazon-bedrock/mantle/responses.d.ts +2 -0
  81. package/dist/providers/amazon-bedrock/mantle/responses.js +1 -0
  82. package/dist/providers/amazon-bedrock/mantle.d.ts +2 -0
  83. package/dist/providers/amazon-bedrock/mantle.js +1 -0
  84. package/dist/providers/amazon-bedrock-mantle.d.ts +247 -0
  85. package/dist/providers/amazon-bedrock-mantle.js +68 -0
  86. package/dist/providers/amazon-bedrock.d.ts +172 -0
  87. package/dist/providers/amazon-bedrock.js +41 -0
  88. package/dist/providers/anthropic-compatible.d.ts +218 -0
  89. package/dist/providers/anthropic-compatible.js +45 -0
  90. package/dist/providers/anthropic.d.ts +216 -0
  91. package/dist/providers/anthropic.js +40 -0
  92. package/dist/providers/azure/chat.d.ts +2 -0
  93. package/dist/providers/azure/chat.js +1 -0
  94. package/dist/providers/azure/responses.d.ts +2 -0
  95. package/dist/providers/azure/responses.js +1 -0
  96. package/dist/providers/azure.d.ts +248 -0
  97. package/dist/providers/azure.js +90 -0
  98. package/dist/providers/cloudflare.d.ts +338 -0
  99. package/dist/providers/cloudflare.js +87 -0
  100. package/dist/providers/google-vertex/chat.d.ts +2 -0
  101. package/dist/providers/google-vertex/chat.js +1 -0
  102. package/dist/providers/google-vertex/gemini.d.ts +2 -0
  103. package/dist/providers/google-vertex/gemini.js +1 -0
  104. package/dist/providers/google-vertex/messages.d.ts +2 -0
  105. package/dist/providers/google-vertex/messages.js +1 -0
  106. package/dist/providers/google-vertex/responses.d.ts +2 -0
  107. package/dist/providers/google-vertex/responses.js +1 -0
  108. package/dist/providers/google-vertex-chat.d.ts +131 -0
  109. package/dist/providers/google-vertex-chat.js +50 -0
  110. package/dist/providers/google-vertex-messages.d.ts +215 -0
  111. package/dist/providers/google-vertex-messages.js +75 -0
  112. package/dist/providers/google-vertex-responses.d.ts +122 -0
  113. package/dist/providers/google-vertex-responses.js +51 -0
  114. package/dist/providers/google-vertex-shared.d.ts +22 -0
  115. package/dist/providers/google-vertex-shared.js +61 -0
  116. package/dist/providers/google-vertex.d.ts +115 -0
  117. package/dist/providers/google-vertex.js +64 -0
  118. package/dist/providers/google.d.ts +112 -0
  119. package/dist/providers/google.js +43 -0
  120. package/dist/providers/index.d.ts +18 -0
  121. package/dist/providers/index.js +18 -0
  122. package/dist/providers/open-responses-options.d.ts +16 -0
  123. package/dist/providers/open-responses-options.js +1 -0
  124. package/dist/providers/openai/chat.d.ts +2 -0
  125. package/dist/providers/openai/chat.js +1 -0
  126. package/dist/providers/openai/responses.d.ts +2 -0
  127. package/dist/providers/openai/responses.js +1 -0
  128. package/dist/providers/openai-compatible/responses.d.ts +1 -0
  129. package/dist/providers/openai-compatible/responses.js +1 -0
  130. package/dist/providers/openai-compatible-profile.d.ts +43 -0
  131. package/dist/providers/openai-compatible-profile.js +12 -0
  132. package/dist/providers/openai-compatible-responses.d.ts +120 -0
  133. package/dist/providers/openai-compatible-responses.js +33 -0
  134. package/dist/providers/openai-compatible.d.ts +167 -0
  135. package/dist/providers/openai-compatible.js +55 -0
  136. package/dist/providers/openai-options.d.ts +21 -0
  137. package/dist/providers/openai-options.js +41 -0
  138. package/dist/providers/openai.d.ts +264 -0
  139. package/dist/providers/openai.js +83 -0
  140. package/dist/providers/openrouter.d.ts +537 -0
  141. package/dist/providers/openrouter.js +117 -0
  142. package/dist/providers/xai.d.ts +249 -0
  143. package/dist/providers/xai.js +79 -0
  144. package/dist/providers/zai.d.ts +24 -0
  145. package/dist/providers/zai.js +21 -0
  146. package/dist/providers.d.ts +1 -0
  147. package/dist/providers.js +1 -0
  148. package/dist/route/auth-options.d.ts +34 -0
  149. package/dist/route/auth-options.js +14 -0
  150. package/dist/route/auth.d.ts +51 -0
  151. package/dist/route/auth.js +89 -0
  152. package/dist/route/client.d.ts +348 -0
  153. package/dist/route/client.js +214 -0
  154. package/dist/route/endpoint.d.ts +28 -0
  155. package/dist/route/endpoint.js +21 -0
  156. package/dist/route/executor.d.ts +23 -0
  157. package/dist/route/executor.js +227 -0
  158. package/dist/route/framing.d.ts +23 -0
  159. package/dist/route/framing.js +4 -0
  160. package/dist/route/index.d.ts +16 -0
  161. package/dist/route/index.js +9 -0
  162. package/dist/route/protocol.d.ts +77 -0
  163. package/dist/route/protocol.js +17 -0
  164. package/dist/route/transport/http.d.ts +34 -0
  165. package/dist/route/transport/http.js +63 -0
  166. package/dist/route/transport/index.d.ts +39 -0
  167. package/dist/route/transport/index.js +4 -0
  168. package/dist/route/transport/websocket-channel.d.ts +56 -0
  169. package/dist/route/transport/websocket-channel.js +1 -0
  170. package/dist/route/transport/websocket.d.ts +55 -0
  171. package/dist/route/transport/websocket.js +326 -0
  172. package/dist/route.d.ts +1 -0
  173. package/dist/route.js +1 -0
  174. package/dist/schema/errors.d.ts +159 -0
  175. package/dist/schema/errors.js +155 -0
  176. package/dist/schema/events.d.ts +4587 -0
  177. package/dist/schema/events.js +492 -0
  178. package/dist/schema/ids.d.ts +30 -0
  179. package/dist/schema/ids.js +19 -0
  180. package/dist/schema/index.d.ts +5 -0
  181. package/dist/schema/index.js +5 -0
  182. package/dist/schema/messages.d.ts +402 -0
  183. package/dist/schema/messages.js +244 -0
  184. package/dist/schema/options.d.ts +159 -0
  185. package/dist/schema/options.js +202 -0
  186. package/dist/testing.d.ts +1493 -0
  187. package/dist/testing.js +88 -0
  188. package/dist/tool-runtime.d.ts +15 -0
  189. package/dist/tool-runtime.js +54 -0
  190. package/dist/tool.d.ts +135 -0
  191. package/dist/tool.js +66 -0
  192. package/dist/utils/record.d.ts +2 -0
  193. package/dist/utils/record.js +2 -0
  194. package/package.json +47 -0
@@ -0,0 +1,300 @@
1
+ import { Schema } from "effect";
2
+ import { Route } from "../route/client.js";
3
+ import { Protocol } from "../route/protocol.js";
4
+ import { type ProviderOptions } from "../schema/index.js";
5
+ import { Lifecycle } from "./utils/lifecycle.js";
6
+ export declare const DEFAULT_BASE_URL = "https://generativelanguage.googleapis.com/v1beta";
7
+ export interface OptionsInput {
8
+ readonly [key: string]: unknown;
9
+ readonly cachedContent?: string;
10
+ readonly safetySettings?: ReadonlyArray<{
11
+ readonly category: "HARM_CATEGORY_UNSPECIFIED" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_CIVIC_INTEGRITY" | (string & {});
12
+ readonly threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF" | (string & {});
13
+ }>;
14
+ readonly serviceTier?: "standard" | "flex" | "priority" | (string & {});
15
+ readonly thinkingConfig?: {
16
+ readonly thinkingBudget?: number;
17
+ readonly includeThoughts?: boolean;
18
+ readonly thinkingLevel?: "minimal" | "low" | "medium" | "high" | (string & {});
19
+ };
20
+ }
21
+ export type ProviderOptionsInput = ProviderOptions & {
22
+ readonly gemini?: OptionsInput;
23
+ };
24
+ declare const GeminiBody: Schema.Struct<{
25
+ cachedContent: Schema.optional<Schema.String>;
26
+ contents: Schema.$Array<Schema.Struct<{
27
+ readonly role: Schema.Literals<readonly ["user", "model"]>;
28
+ readonly parts: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
29
+ readonly text: Schema.String;
30
+ readonly thought: Schema.optional<Schema.Boolean>;
31
+ readonly thoughtSignature: Schema.optional<Schema.String>;
32
+ }>, Schema.Struct<{
33
+ readonly inlineData: Schema.Struct<{
34
+ readonly mimeType: Schema.String;
35
+ readonly data: Schema.String;
36
+ }>;
37
+ }>, Schema.Struct<{
38
+ readonly functionCall: Schema.Struct<{
39
+ readonly id: Schema.optional<Schema.String>;
40
+ readonly name: Schema.String;
41
+ readonly args: Schema.Unknown;
42
+ }>;
43
+ readonly thoughtSignature: Schema.optional<Schema.String>;
44
+ }>, Schema.Struct<{
45
+ readonly functionResponse: Schema.Struct<{
46
+ readonly id: Schema.optional<Schema.String>;
47
+ readonly name: Schema.String;
48
+ readonly response: Schema.Unknown;
49
+ readonly parts: Schema.optional<Schema.$Array<Schema.Struct<{
50
+ readonly inlineData: Schema.Struct<{
51
+ readonly mimeType: Schema.String;
52
+ readonly data: Schema.String;
53
+ }>;
54
+ }>>>;
55
+ }>;
56
+ }>]>>;
57
+ }>>;
58
+ safetySettings: Schema.optional<Schema.$Array<Schema.Struct<{
59
+ readonly category: Schema.String;
60
+ readonly threshold: Schema.String;
61
+ }>>>;
62
+ serviceTier: Schema.optional<Schema.String>;
63
+ systemInstruction: Schema.optional<Schema.Struct<{
64
+ readonly parts: Schema.$Array<Schema.Struct<{
65
+ readonly text: Schema.String;
66
+ }>>;
67
+ }>>;
68
+ tools: Schema.optional<Schema.$Array<Schema.Struct<{
69
+ readonly functionDeclarations: Schema.$Array<Schema.Struct<{
70
+ readonly name: Schema.String;
71
+ readonly description: Schema.String;
72
+ readonly parameters: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
73
+ }>>;
74
+ }>>>;
75
+ toolConfig: Schema.optional<Schema.Struct<{
76
+ readonly functionCallingConfig: Schema.Struct<{
77
+ readonly mode: Schema.Literals<readonly ["AUTO", "NONE", "ANY"]>;
78
+ readonly allowedFunctionNames: Schema.optional<Schema.$Array<Schema.String>>;
79
+ }>;
80
+ }>>;
81
+ generationConfig: Schema.optional<Schema.Struct<{
82
+ readonly maxOutputTokens: Schema.optional<Schema.Number>;
83
+ readonly temperature: Schema.optional<Schema.Number>;
84
+ readonly topP: Schema.optional<Schema.Number>;
85
+ readonly topK: Schema.optional<Schema.Number>;
86
+ readonly frequencyPenalty: Schema.optional<Schema.Number>;
87
+ readonly presencePenalty: Schema.optional<Schema.Number>;
88
+ readonly seed: Schema.optional<Schema.Number>;
89
+ readonly stopSequences: Schema.optional<Schema.$Array<Schema.String>>;
90
+ readonly thinkingConfig: Schema.optional<Schema.Struct<{
91
+ readonly thinkingBudget: Schema.optional<Schema.Number>;
92
+ readonly includeThoughts: Schema.optional<Schema.Boolean>;
93
+ readonly thinkingLevel: Schema.optional<Schema.String>;
94
+ }>>;
95
+ }>>;
96
+ }>;
97
+ export type GeminiBody = Schema.Schema.Type<typeof GeminiBody>;
98
+ /**
99
+ * The Gemini protocol — request body construction, body schema, and the
100
+ * streaming-event state machine. Used by Google AI Studio Gemini and (once
101
+ * registered) Vertex Gemini.
102
+ */
103
+ export declare const protocol: Protocol<{
104
+ readonly contents: readonly {
105
+ readonly role: "user" | "model";
106
+ readonly parts: readonly ({
107
+ readonly inlineData: {
108
+ readonly mimeType: string;
109
+ readonly data: string;
110
+ };
111
+ } | {
112
+ readonly text: string;
113
+ readonly thought?: boolean | undefined;
114
+ readonly thoughtSignature?: string | undefined;
115
+ } | {
116
+ readonly functionCall: {
117
+ readonly name: string;
118
+ readonly args: unknown;
119
+ readonly id?: string | undefined;
120
+ };
121
+ readonly thoughtSignature?: string | undefined;
122
+ } | {
123
+ readonly functionResponse: {
124
+ readonly name: string;
125
+ readonly response: unknown;
126
+ readonly id?: string | undefined;
127
+ readonly parts?: readonly {
128
+ readonly inlineData: {
129
+ readonly mimeType: string;
130
+ readonly data: string;
131
+ };
132
+ }[] | undefined;
133
+ };
134
+ })[];
135
+ }[];
136
+ readonly tools?: readonly {
137
+ readonly functionDeclarations: readonly {
138
+ readonly description: string;
139
+ readonly name: string;
140
+ readonly parameters?: {
141
+ readonly [x: string]: unknown;
142
+ } | undefined;
143
+ }[];
144
+ }[] | undefined;
145
+ readonly toolConfig?: {
146
+ readonly functionCallingConfig: {
147
+ readonly mode: "AUTO" | "NONE" | "ANY";
148
+ readonly allowedFunctionNames?: readonly string[] | undefined;
149
+ };
150
+ } | undefined;
151
+ readonly cachedContent?: string | undefined;
152
+ readonly safetySettings?: readonly {
153
+ readonly category: string;
154
+ readonly threshold: string;
155
+ }[] | undefined;
156
+ readonly serviceTier?: string | undefined;
157
+ readonly systemInstruction?: {
158
+ readonly parts: readonly {
159
+ readonly text: string;
160
+ }[];
161
+ } | undefined;
162
+ readonly generationConfig?: {
163
+ readonly temperature?: number | undefined;
164
+ readonly topP?: number | undefined;
165
+ readonly topK?: number | undefined;
166
+ readonly frequencyPenalty?: number | undefined;
167
+ readonly presencePenalty?: number | undefined;
168
+ readonly seed?: number | undefined;
169
+ readonly stopSequences?: readonly string[] | undefined;
170
+ readonly thinkingConfig?: {
171
+ readonly thinkingBudget?: number | undefined;
172
+ readonly includeThoughts?: boolean | undefined;
173
+ readonly thinkingLevel?: string | undefined;
174
+ } | undefined;
175
+ readonly maxOutputTokens?: number | undefined;
176
+ } | undefined;
177
+ }, string, {
178
+ readonly candidates?: readonly {
179
+ readonly content?: {
180
+ readonly role: "user" | "model";
181
+ readonly parts: readonly ({
182
+ readonly inlineData: {
183
+ readonly mimeType: string;
184
+ readonly data: string;
185
+ };
186
+ } | {
187
+ readonly text: string;
188
+ readonly thought?: boolean | undefined;
189
+ readonly thoughtSignature?: string | undefined;
190
+ } | {
191
+ readonly functionCall: {
192
+ readonly name: string;
193
+ readonly args: unknown;
194
+ readonly id?: string | undefined;
195
+ };
196
+ readonly thoughtSignature?: string | undefined;
197
+ } | {
198
+ readonly functionResponse: {
199
+ readonly name: string;
200
+ readonly response: unknown;
201
+ readonly id?: string | undefined;
202
+ readonly parts?: readonly {
203
+ readonly inlineData: {
204
+ readonly mimeType: string;
205
+ readonly data: string;
206
+ };
207
+ }[] | undefined;
208
+ };
209
+ })[];
210
+ } | undefined;
211
+ readonly finishReason?: string | undefined;
212
+ }[] | undefined;
213
+ readonly usageMetadata?: {
214
+ readonly cachedContentTokenCount?: number | undefined;
215
+ readonly thoughtsTokenCount?: number | undefined;
216
+ readonly promptTokenCount?: number | undefined;
217
+ readonly candidatesTokenCount?: number | undefined;
218
+ readonly totalTokenCount?: number | undefined;
219
+ } | undefined;
220
+ }, {
221
+ hasToolCalls: boolean;
222
+ nextToolCallId: number;
223
+ lifecycle: Lifecycle.State;
224
+ }>;
225
+ export declare const route: Route<{
226
+ readonly contents: readonly {
227
+ readonly role: "user" | "model";
228
+ readonly parts: readonly ({
229
+ readonly inlineData: {
230
+ readonly mimeType: string;
231
+ readonly data: string;
232
+ };
233
+ } | {
234
+ readonly text: string;
235
+ readonly thought?: boolean | undefined;
236
+ readonly thoughtSignature?: string | undefined;
237
+ } | {
238
+ readonly functionCall: {
239
+ readonly name: string;
240
+ readonly args: unknown;
241
+ readonly id?: string | undefined;
242
+ };
243
+ readonly thoughtSignature?: string | undefined;
244
+ } | {
245
+ readonly functionResponse: {
246
+ readonly name: string;
247
+ readonly response: unknown;
248
+ readonly id?: string | undefined;
249
+ readonly parts?: readonly {
250
+ readonly inlineData: {
251
+ readonly mimeType: string;
252
+ readonly data: string;
253
+ };
254
+ }[] | undefined;
255
+ };
256
+ })[];
257
+ }[];
258
+ readonly tools?: readonly {
259
+ readonly functionDeclarations: readonly {
260
+ readonly description: string;
261
+ readonly name: string;
262
+ readonly parameters?: {
263
+ readonly [x: string]: unknown;
264
+ } | undefined;
265
+ }[];
266
+ }[] | undefined;
267
+ readonly toolConfig?: {
268
+ readonly functionCallingConfig: {
269
+ readonly mode: "AUTO" | "NONE" | "ANY";
270
+ readonly allowedFunctionNames?: readonly string[] | undefined;
271
+ };
272
+ } | undefined;
273
+ readonly cachedContent?: string | undefined;
274
+ readonly safetySettings?: readonly {
275
+ readonly category: string;
276
+ readonly threshold: string;
277
+ }[] | undefined;
278
+ readonly serviceTier?: string | undefined;
279
+ readonly systemInstruction?: {
280
+ readonly parts: readonly {
281
+ readonly text: string;
282
+ }[];
283
+ } | undefined;
284
+ readonly generationConfig?: {
285
+ readonly temperature?: number | undefined;
286
+ readonly topP?: number | undefined;
287
+ readonly topK?: number | undefined;
288
+ readonly frequencyPenalty?: number | undefined;
289
+ readonly presencePenalty?: number | undefined;
290
+ readonly seed?: number | undefined;
291
+ readonly stopSequences?: readonly string[] | undefined;
292
+ readonly thinkingConfig?: {
293
+ readonly thinkingBudget?: number | undefined;
294
+ readonly includeThoughts?: boolean | undefined;
295
+ readonly thinkingLevel?: string | undefined;
296
+ } | undefined;
297
+ readonly maxOutputTokens?: number | undefined;
298
+ } | undefined;
299
+ }, import("../route/transport/http.js").HttpPrepared<string>>;
300
+ export * as Gemini from "./gemini.js";