valyu-js 2.1.7 → 2.2.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.
package/README.md CHANGED
@@ -50,6 +50,116 @@ console.log(response);
50
50
 
51
51
  ## API Reference
52
52
 
53
+ ### DeepResearch Method
54
+
55
+ The `deepresearch` namespace provides access to Valyu's AI-powered research agent that conducts comprehensive, multi-step research with citations and cost tracking.
56
+
57
+ ```javascript
58
+ // Create a research task
59
+ const task = await valyu.deepresearch.create({
60
+ input: "What are the latest developments in quantum computing?",
61
+ model: "lite", // "lite" (fast, Haiku) or "heavy" (thorough, Sonnet)
62
+ outputFormats: ["markdown", "pdf"] // Output formats
63
+ });
64
+
65
+ // Wait for completion with progress updates
66
+ const result = await valyu.deepresearch.wait(task.deepresearch_id, {
67
+ onProgress: (status) => {
68
+ if (status.progress) {
69
+ console.log(`Step ${status.progress.current_step}/${status.progress.total_steps}`);
70
+ }
71
+ }
72
+ });
73
+
74
+ console.log(result.output); // Markdown report
75
+ console.log(result.pdf_url); // PDF download URL
76
+ ```
77
+
78
+ #### DeepResearch Methods
79
+
80
+ | Method | Description |
81
+ |--------|-------------|
82
+ | `create(options)` | Create a new research task |
83
+ | `status(taskId)` | Get current status of a task |
84
+ | `wait(taskId, options?)` | Wait for task completion with polling |
85
+ | `stream(taskId, callbacks)` | Stream real-time updates |
86
+ | `list(options)` | List all your research tasks |
87
+ | `update(taskId, instruction)` | Add follow-up instruction to running task |
88
+ | `cancel(taskId)` | Cancel a running task |
89
+ | `delete(taskId)` | Delete a task |
90
+ | `togglePublic(taskId, isPublic)` | Make task publicly accessible |
91
+
92
+ #### DeepResearch Create Options
93
+
94
+ | Parameter | Type | Default | Description |
95
+ |-----------|------|---------|-------------|
96
+ | `input` | `string` | *required* | Research query or task description |
97
+ | `model` | `"lite" \| "heavy"` | `"lite"` | Research model - lite (fast) or heavy (thorough) |
98
+ | `outputFormats` | `("markdown" \| "pdf")[]` | `["markdown"]` | Output formats for the report |
99
+ | `strategy` | `string` | - | Natural language research strategy |
100
+ | `search` | `object` | - | Search configuration (type, sources) |
101
+ | `urls` | `string[]` | - | URLs to extract and analyze |
102
+ | `files` | `FileAttachment[]` | - | PDF/image files to analyze |
103
+ | `mcpServers` | `MCPServerConfig[]` | - | MCP tool server configurations |
104
+ | `codeExecution` | `boolean` | `true` | Enable/disable code execution |
105
+ | `previousReports` | `string[]` | - | Previous report IDs for context (max 3) |
106
+ | `webhookUrl` | `string` | - | HTTPS webhook URL for completion notification |
107
+ | `metadata` | `Record<string, any>` | - | Custom metadata key-value pairs |
108
+
109
+ #### DeepResearch Examples
110
+
111
+ **Basic Research:**
112
+ ```javascript
113
+ const task = await valyu.deepresearch.create({
114
+ input: "Summarize recent AI safety research",
115
+ model: "lite"
116
+ });
117
+
118
+ const result = await valyu.deepresearch.wait(task.deepresearch_id);
119
+ console.log(result.output);
120
+ ```
121
+
122
+ **With Custom Sources:**
123
+ ```javascript
124
+ const task = await valyu.deepresearch.create({
125
+ input: "Latest transformer architecture improvements",
126
+ search: {
127
+ searchType: "proprietary",
128
+ includedSources: ["valyu/valyu-arxiv"]
129
+ },
130
+ model: "heavy",
131
+ outputFormats: ["markdown", "pdf"]
132
+ });
133
+ ```
134
+
135
+ **Streaming Updates:**
136
+ ```javascript
137
+ await valyu.deepresearch.stream(task.deepresearch_id, {
138
+ onProgress: (current, total) => {
139
+ console.log(`Progress: ${current}/${total}`);
140
+ },
141
+ onMessage: (message) => {
142
+ console.log("Agent:", message);
143
+ },
144
+ onComplete: (result) => {
145
+ console.log("Complete! Cost:", result.usage.total_cost);
146
+ }
147
+ });
148
+ ```
149
+
150
+ **With File Analysis:**
151
+ ```javascript
152
+ const task = await valyu.deepresearch.create({
153
+ input: "Analyze these research papers and provide key insights",
154
+ files: [{
155
+ data: "data:application/pdf;base64,...",
156
+ filename: "paper.pdf",
157
+ mediaType: "application/pdf"
158
+ }],
159
+ urls: ["https://arxiv.org/abs/2103.14030"]
160
+ });
161
+ ```
162
+
53
163
  ### Search Method
54
164
 
55
165
  The `search()` method is the core of the Valyu SDK. It accepts a query string as the first parameter, followed by optional configuration parameters.
package/dist/index.d.mts CHANGED
@@ -126,10 +126,192 @@ interface AnswerErrorResponse {
126
126
  error: string;
127
127
  }
128
128
  type AnswerResponse = AnswerSuccessResponse | AnswerErrorResponse;
129
+ type DeepResearchMode = "lite" | "heavy";
130
+ type DeepResearchStatus = "queued" | "running" | "completed" | "failed" | "cancelled";
131
+ type DeepResearchOutputFormat = "markdown" | "pdf";
132
+ type ImageType = "chart" | "ai_generated";
133
+ type ChartType = "line" | "bar" | "area";
134
+ interface FileAttachment {
135
+ data: string;
136
+ filename: string;
137
+ mediaType: string;
138
+ context?: string;
139
+ }
140
+ interface MCPServerConfig {
141
+ url: string;
142
+ name?: string;
143
+ toolPrefix?: string;
144
+ auth?: {
145
+ type: "bearer" | "header" | "none";
146
+ token?: string;
147
+ headers?: Record<string, string>;
148
+ };
149
+ allowedTools?: string[];
150
+ }
151
+ interface DeepResearchSearchConfig {
152
+ searchType?: "all" | "web" | "proprietary";
153
+ includedSources?: string[];
154
+ }
155
+ interface DeepResearchCreateOptions {
156
+ input: string;
157
+ model?: DeepResearchMode;
158
+ outputFormats?: DeepResearchOutputFormat[];
159
+ strategy?: string;
160
+ search?: DeepResearchSearchConfig;
161
+ urls?: string[];
162
+ files?: FileAttachment[];
163
+ mcpServers?: MCPServerConfig[];
164
+ codeExecution?: boolean;
165
+ previousReports?: string[];
166
+ webhookUrl?: string;
167
+ metadata?: Record<string, string | number | boolean>;
168
+ }
169
+ interface Progress {
170
+ current_step: number;
171
+ total_steps: number;
172
+ }
173
+ interface ChartDataPoint {
174
+ x: string | number;
175
+ y: number;
176
+ }
177
+ interface ChartDataSeries {
178
+ name: string;
179
+ data: ChartDataPoint[];
180
+ }
181
+ interface ImageMetadata {
182
+ image_id: string;
183
+ image_type: ImageType;
184
+ deepresearch_id: string;
185
+ title: string;
186
+ description?: string;
187
+ image_url: string;
188
+ s3_key: string;
189
+ created_at: number;
190
+ chart_type?: ChartType;
191
+ x_axis_label?: string;
192
+ y_axis_label?: string;
193
+ data_series?: ChartDataSeries[];
194
+ }
195
+ interface DeepResearchSource {
196
+ title: string;
197
+ url: string;
198
+ snippet?: string;
199
+ description?: string;
200
+ source?: string;
201
+ org_id?: string;
202
+ price?: number;
203
+ id?: string;
204
+ doc_id?: number;
205
+ doi?: string;
206
+ category?: string;
207
+ source_id?: number;
208
+ word_count?: number;
209
+ }
210
+ interface DeepResearchUsage {
211
+ search_cost: number;
212
+ contents_cost: number;
213
+ ai_cost: number;
214
+ compute_cost: number;
215
+ total_cost: number;
216
+ }
217
+ interface DeepResearchCreateResponse {
218
+ success: boolean;
219
+ deepresearch_id?: string;
220
+ status?: DeepResearchStatus;
221
+ model?: DeepResearchMode;
222
+ created_at?: string;
223
+ metadata?: Record<string, string | number | boolean>;
224
+ public?: boolean;
225
+ webhook_secret?: string;
226
+ message?: string;
227
+ error?: string;
228
+ }
229
+ interface DeepResearchStatusResponse {
230
+ success: boolean;
231
+ deepresearch_id?: string;
232
+ status?: DeepResearchStatus;
233
+ query?: string;
234
+ mode?: DeepResearchMode;
235
+ output_formats?: DeepResearchOutputFormat[];
236
+ created_at?: number;
237
+ public?: boolean;
238
+ progress?: Progress;
239
+ messages?: any[];
240
+ completed_at?: number;
241
+ output?: string;
242
+ pdf_url?: string;
243
+ images?: ImageMetadata[];
244
+ sources?: DeepResearchSource[];
245
+ usage?: DeepResearchUsage;
246
+ error?: string;
247
+ }
248
+ interface DeepResearchTaskListItem {
249
+ deepresearch_id: string;
250
+ query: string;
251
+ status: DeepResearchStatus;
252
+ created_at: number;
253
+ public?: boolean;
254
+ }
255
+ interface DeepResearchListResponse {
256
+ success: boolean;
257
+ data?: DeepResearchTaskListItem[];
258
+ error?: string;
259
+ }
260
+ interface DeepResearchUpdateResponse {
261
+ success: boolean;
262
+ message?: string;
263
+ deepresearch_id?: string;
264
+ error?: string;
265
+ }
266
+ interface DeepResearchCancelResponse {
267
+ success: boolean;
268
+ message?: string;
269
+ deepresearch_id?: string;
270
+ error?: string;
271
+ }
272
+ interface DeepResearchDeleteResponse {
273
+ success: boolean;
274
+ message?: string;
275
+ deepresearch_id?: string;
276
+ error?: string;
277
+ }
278
+ interface DeepResearchTogglePublicResponse {
279
+ success: boolean;
280
+ message?: string;
281
+ deepresearch_id?: string;
282
+ public?: boolean;
283
+ error?: string;
284
+ }
285
+ interface WaitOptions {
286
+ pollInterval?: number;
287
+ maxWaitTime?: number;
288
+ onProgress?: (status: DeepResearchStatusResponse) => void;
289
+ }
290
+ interface StreamCallback {
291
+ onMessage?: (message: any) => void;
292
+ onProgress?: (current: number, total: number) => void;
293
+ onComplete?: (result: DeepResearchStatusResponse) => void;
294
+ onError?: (error: Error) => void;
295
+ }
296
+ interface ListOptions {
297
+ apiKeyId: string;
298
+ limit?: number;
299
+ }
129
300
 
130
301
  declare class Valyu {
131
302
  private baseUrl;
132
303
  private headers;
304
+ deepresearch: {
305
+ create: (options: DeepResearchCreateOptions) => Promise<DeepResearchCreateResponse>;
306
+ status: (taskId: string) => Promise<DeepResearchStatusResponse>;
307
+ wait: (taskId: string, options?: WaitOptions) => Promise<DeepResearchStatusResponse>;
308
+ stream: (taskId: string, callback: StreamCallback) => Promise<void>;
309
+ list: (options: ListOptions) => Promise<DeepResearchListResponse>;
310
+ update: (taskId: string, instruction: string) => Promise<DeepResearchUpdateResponse>;
311
+ cancel: (taskId: string) => Promise<DeepResearchCancelResponse>;
312
+ delete: (taskId: string) => Promise<DeepResearchDeleteResponse>;
313
+ togglePublic: (taskId: string, isPublic: boolean) => Promise<DeepResearchTogglePublicResponse>;
314
+ };
133
315
  constructor(apiKey?: string, baseUrl?: string);
134
316
  /**
135
317
  * Validates date format (YYYY-MM-DD)
@@ -187,6 +369,42 @@ declare class Valyu {
187
369
  * @returns Promise resolving to content extraction results
188
370
  */
189
371
  contents(urls: string[], options?: ContentsOptions): Promise<ContentsResponse>;
372
+ /**
373
+ * DeepResearch: Create a new research task
374
+ */
375
+ private _deepresearchCreate;
376
+ /**
377
+ * DeepResearch: Get task status
378
+ */
379
+ private _deepresearchStatus;
380
+ /**
381
+ * DeepResearch: Wait for task completion with polling
382
+ */
383
+ private _deepresearchWait;
384
+ /**
385
+ * DeepResearch: Stream real-time updates
386
+ */
387
+ private _deepresearchStream;
388
+ /**
389
+ * DeepResearch: List all tasks
390
+ */
391
+ private _deepresearchList;
392
+ /**
393
+ * DeepResearch: Add follow-up instruction
394
+ */
395
+ private _deepresearchUpdate;
396
+ /**
397
+ * DeepResearch: Cancel task
398
+ */
399
+ private _deepresearchCancel;
400
+ /**
401
+ * DeepResearch: Delete task
402
+ */
403
+ private _deepresearchDelete;
404
+ /**
405
+ * DeepResearch: Toggle public flag
406
+ */
407
+ private _deepresearchTogglePublic;
190
408
  /**
191
409
  * Get AI-powered answers using the Valyu Answer API
192
410
  * @param query - The question or query string
@@ -206,4 +424,4 @@ declare class Valyu {
206
424
  answer(query: string, options?: AnswerOptions): Promise<AnswerResponse>;
207
425
  }
208
426
 
209
- export { type AIUsage, type AnswerErrorResponse, type AnswerOptions, type AnswerResponse, type AnswerSuccessResponse, type ContentResponseLength, type ContentResult, type ContentsOptions, type ContentsResponse, type Cost, type CountryCode, type ExtractEffort, type FeedbackResponse, type FeedbackSentiment, type ResponseLength, type SearchMetadata, type SearchOptions, type SearchResponse, type SearchType, Valyu };
427
+ export { type AIUsage, type AnswerErrorResponse, type AnswerOptions, type AnswerResponse, type AnswerSuccessResponse, type ChartDataPoint, type ChartDataSeries, type ChartType, type ContentResponseLength, type ContentResult, type ContentsOptions, type ContentsResponse, type Cost, type CountryCode, type DeepResearchCancelResponse, type DeepResearchCreateOptions, type DeepResearchCreateResponse, type DeepResearchDeleteResponse, type DeepResearchListResponse, type DeepResearchMode, type DeepResearchOutputFormat, type DeepResearchSearchConfig, type DeepResearchSource, type DeepResearchStatus, type DeepResearchStatusResponse, type DeepResearchTaskListItem, type DeepResearchTogglePublicResponse, type DeepResearchUpdateResponse, type DeepResearchUsage, type ExtractEffort, type FeedbackResponse, type FeedbackSentiment, type FileAttachment, type ImageMetadata, type ImageType, type ListOptions, type MCPServerConfig, type Progress, type ResponseLength, type SearchMetadata, type SearchOptions, type SearchResponse, type SearchType, type StreamCallback, Valyu, type WaitOptions };
package/dist/index.d.ts CHANGED
@@ -126,10 +126,192 @@ interface AnswerErrorResponse {
126
126
  error: string;
127
127
  }
128
128
  type AnswerResponse = AnswerSuccessResponse | AnswerErrorResponse;
129
+ type DeepResearchMode = "lite" | "heavy";
130
+ type DeepResearchStatus = "queued" | "running" | "completed" | "failed" | "cancelled";
131
+ type DeepResearchOutputFormat = "markdown" | "pdf";
132
+ type ImageType = "chart" | "ai_generated";
133
+ type ChartType = "line" | "bar" | "area";
134
+ interface FileAttachment {
135
+ data: string;
136
+ filename: string;
137
+ mediaType: string;
138
+ context?: string;
139
+ }
140
+ interface MCPServerConfig {
141
+ url: string;
142
+ name?: string;
143
+ toolPrefix?: string;
144
+ auth?: {
145
+ type: "bearer" | "header" | "none";
146
+ token?: string;
147
+ headers?: Record<string, string>;
148
+ };
149
+ allowedTools?: string[];
150
+ }
151
+ interface DeepResearchSearchConfig {
152
+ searchType?: "all" | "web" | "proprietary";
153
+ includedSources?: string[];
154
+ }
155
+ interface DeepResearchCreateOptions {
156
+ input: string;
157
+ model?: DeepResearchMode;
158
+ outputFormats?: DeepResearchOutputFormat[];
159
+ strategy?: string;
160
+ search?: DeepResearchSearchConfig;
161
+ urls?: string[];
162
+ files?: FileAttachment[];
163
+ mcpServers?: MCPServerConfig[];
164
+ codeExecution?: boolean;
165
+ previousReports?: string[];
166
+ webhookUrl?: string;
167
+ metadata?: Record<string, string | number | boolean>;
168
+ }
169
+ interface Progress {
170
+ current_step: number;
171
+ total_steps: number;
172
+ }
173
+ interface ChartDataPoint {
174
+ x: string | number;
175
+ y: number;
176
+ }
177
+ interface ChartDataSeries {
178
+ name: string;
179
+ data: ChartDataPoint[];
180
+ }
181
+ interface ImageMetadata {
182
+ image_id: string;
183
+ image_type: ImageType;
184
+ deepresearch_id: string;
185
+ title: string;
186
+ description?: string;
187
+ image_url: string;
188
+ s3_key: string;
189
+ created_at: number;
190
+ chart_type?: ChartType;
191
+ x_axis_label?: string;
192
+ y_axis_label?: string;
193
+ data_series?: ChartDataSeries[];
194
+ }
195
+ interface DeepResearchSource {
196
+ title: string;
197
+ url: string;
198
+ snippet?: string;
199
+ description?: string;
200
+ source?: string;
201
+ org_id?: string;
202
+ price?: number;
203
+ id?: string;
204
+ doc_id?: number;
205
+ doi?: string;
206
+ category?: string;
207
+ source_id?: number;
208
+ word_count?: number;
209
+ }
210
+ interface DeepResearchUsage {
211
+ search_cost: number;
212
+ contents_cost: number;
213
+ ai_cost: number;
214
+ compute_cost: number;
215
+ total_cost: number;
216
+ }
217
+ interface DeepResearchCreateResponse {
218
+ success: boolean;
219
+ deepresearch_id?: string;
220
+ status?: DeepResearchStatus;
221
+ model?: DeepResearchMode;
222
+ created_at?: string;
223
+ metadata?: Record<string, string | number | boolean>;
224
+ public?: boolean;
225
+ webhook_secret?: string;
226
+ message?: string;
227
+ error?: string;
228
+ }
229
+ interface DeepResearchStatusResponse {
230
+ success: boolean;
231
+ deepresearch_id?: string;
232
+ status?: DeepResearchStatus;
233
+ query?: string;
234
+ mode?: DeepResearchMode;
235
+ output_formats?: DeepResearchOutputFormat[];
236
+ created_at?: number;
237
+ public?: boolean;
238
+ progress?: Progress;
239
+ messages?: any[];
240
+ completed_at?: number;
241
+ output?: string;
242
+ pdf_url?: string;
243
+ images?: ImageMetadata[];
244
+ sources?: DeepResearchSource[];
245
+ usage?: DeepResearchUsage;
246
+ error?: string;
247
+ }
248
+ interface DeepResearchTaskListItem {
249
+ deepresearch_id: string;
250
+ query: string;
251
+ status: DeepResearchStatus;
252
+ created_at: number;
253
+ public?: boolean;
254
+ }
255
+ interface DeepResearchListResponse {
256
+ success: boolean;
257
+ data?: DeepResearchTaskListItem[];
258
+ error?: string;
259
+ }
260
+ interface DeepResearchUpdateResponse {
261
+ success: boolean;
262
+ message?: string;
263
+ deepresearch_id?: string;
264
+ error?: string;
265
+ }
266
+ interface DeepResearchCancelResponse {
267
+ success: boolean;
268
+ message?: string;
269
+ deepresearch_id?: string;
270
+ error?: string;
271
+ }
272
+ interface DeepResearchDeleteResponse {
273
+ success: boolean;
274
+ message?: string;
275
+ deepresearch_id?: string;
276
+ error?: string;
277
+ }
278
+ interface DeepResearchTogglePublicResponse {
279
+ success: boolean;
280
+ message?: string;
281
+ deepresearch_id?: string;
282
+ public?: boolean;
283
+ error?: string;
284
+ }
285
+ interface WaitOptions {
286
+ pollInterval?: number;
287
+ maxWaitTime?: number;
288
+ onProgress?: (status: DeepResearchStatusResponse) => void;
289
+ }
290
+ interface StreamCallback {
291
+ onMessage?: (message: any) => void;
292
+ onProgress?: (current: number, total: number) => void;
293
+ onComplete?: (result: DeepResearchStatusResponse) => void;
294
+ onError?: (error: Error) => void;
295
+ }
296
+ interface ListOptions {
297
+ apiKeyId: string;
298
+ limit?: number;
299
+ }
129
300
 
130
301
  declare class Valyu {
131
302
  private baseUrl;
132
303
  private headers;
304
+ deepresearch: {
305
+ create: (options: DeepResearchCreateOptions) => Promise<DeepResearchCreateResponse>;
306
+ status: (taskId: string) => Promise<DeepResearchStatusResponse>;
307
+ wait: (taskId: string, options?: WaitOptions) => Promise<DeepResearchStatusResponse>;
308
+ stream: (taskId: string, callback: StreamCallback) => Promise<void>;
309
+ list: (options: ListOptions) => Promise<DeepResearchListResponse>;
310
+ update: (taskId: string, instruction: string) => Promise<DeepResearchUpdateResponse>;
311
+ cancel: (taskId: string) => Promise<DeepResearchCancelResponse>;
312
+ delete: (taskId: string) => Promise<DeepResearchDeleteResponse>;
313
+ togglePublic: (taskId: string, isPublic: boolean) => Promise<DeepResearchTogglePublicResponse>;
314
+ };
133
315
  constructor(apiKey?: string, baseUrl?: string);
134
316
  /**
135
317
  * Validates date format (YYYY-MM-DD)
@@ -187,6 +369,42 @@ declare class Valyu {
187
369
  * @returns Promise resolving to content extraction results
188
370
  */
189
371
  contents(urls: string[], options?: ContentsOptions): Promise<ContentsResponse>;
372
+ /**
373
+ * DeepResearch: Create a new research task
374
+ */
375
+ private _deepresearchCreate;
376
+ /**
377
+ * DeepResearch: Get task status
378
+ */
379
+ private _deepresearchStatus;
380
+ /**
381
+ * DeepResearch: Wait for task completion with polling
382
+ */
383
+ private _deepresearchWait;
384
+ /**
385
+ * DeepResearch: Stream real-time updates
386
+ */
387
+ private _deepresearchStream;
388
+ /**
389
+ * DeepResearch: List all tasks
390
+ */
391
+ private _deepresearchList;
392
+ /**
393
+ * DeepResearch: Add follow-up instruction
394
+ */
395
+ private _deepresearchUpdate;
396
+ /**
397
+ * DeepResearch: Cancel task
398
+ */
399
+ private _deepresearchCancel;
400
+ /**
401
+ * DeepResearch: Delete task
402
+ */
403
+ private _deepresearchDelete;
404
+ /**
405
+ * DeepResearch: Toggle public flag
406
+ */
407
+ private _deepresearchTogglePublic;
190
408
  /**
191
409
  * Get AI-powered answers using the Valyu Answer API
192
410
  * @param query - The question or query string
@@ -206,4 +424,4 @@ declare class Valyu {
206
424
  answer(query: string, options?: AnswerOptions): Promise<AnswerResponse>;
207
425
  }
208
426
 
209
- export { type AIUsage, type AnswerErrorResponse, type AnswerOptions, type AnswerResponse, type AnswerSuccessResponse, type ContentResponseLength, type ContentResult, type ContentsOptions, type ContentsResponse, type Cost, type CountryCode, type ExtractEffort, type FeedbackResponse, type FeedbackSentiment, type ResponseLength, type SearchMetadata, type SearchOptions, type SearchResponse, type SearchType, Valyu };
427
+ export { type AIUsage, type AnswerErrorResponse, type AnswerOptions, type AnswerResponse, type AnswerSuccessResponse, type ChartDataPoint, type ChartDataSeries, type ChartType, type ContentResponseLength, type ContentResult, type ContentsOptions, type ContentsResponse, type Cost, type CountryCode, type DeepResearchCancelResponse, type DeepResearchCreateOptions, type DeepResearchCreateResponse, type DeepResearchDeleteResponse, type DeepResearchListResponse, type DeepResearchMode, type DeepResearchOutputFormat, type DeepResearchSearchConfig, type DeepResearchSource, type DeepResearchStatus, type DeepResearchStatusResponse, type DeepResearchTaskListItem, type DeepResearchTogglePublicResponse, type DeepResearchUpdateResponse, type DeepResearchUsage, type ExtractEffort, type FeedbackResponse, type FeedbackSentiment, type FileAttachment, type ImageMetadata, type ImageType, type ListOptions, type MCPServerConfig, type Progress, type ResponseLength, type SearchMetadata, type SearchOptions, type SearchResponse, type SearchType, type StreamCallback, Valyu, type WaitOptions };