@blinkdotnew/dev-sdk 2.3.10 → 2.4.1

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/dist/index.d.mts CHANGED
@@ -112,6 +112,8 @@ interface BlinkClientConfig {
112
112
  * })
113
113
  */
114
114
  storage?: StorageAdapter;
115
+ /** Custom core API URL (default: https://core.blink.new). Used to point at a local dev server. */
116
+ coreUrl?: string;
115
117
  }
116
118
  interface BlinkAuthConfig {
117
119
  mode?: 'managed' | 'headless';
@@ -2313,6 +2315,145 @@ declare class BlinkSandboxImpl implements BlinkSandbox {
2313
2315
  kill(sandboxId: string): Promise<void>;
2314
2316
  }
2315
2317
 
2318
+ /**
2319
+ * Blink Queue Module
2320
+ * Task queues, scheduling, and dead-letter queue management
2321
+ */
2322
+
2323
+ /**
2324
+ * Thrown when the workspace has insufficient credits to enqueue a task.
2325
+ * Handle this in your backend to return a graceful response instead of crashing.
2326
+ *
2327
+ * @example
2328
+ * try {
2329
+ * await blink.queue.enqueue('sendEmail', { to: user.email })
2330
+ * } catch (err) {
2331
+ * if (err instanceof BlinkQueueCreditError) {
2332
+ * return { status: 'at_capacity', message: 'Service temporarily unavailable, please retry.' }
2333
+ * }
2334
+ * throw err
2335
+ * }
2336
+ */
2337
+ declare class BlinkQueueCreditError extends Error {
2338
+ readonly code = "INSUFFICIENT_CREDITS";
2339
+ constructor();
2340
+ }
2341
+ interface QueueOptions {
2342
+ queue?: string;
2343
+ delay?: string;
2344
+ retries?: number;
2345
+ timeout?: string;
2346
+ }
2347
+ interface ScheduleOptions {
2348
+ timezone?: string;
2349
+ retries?: number;
2350
+ }
2351
+ interface BlinkQueueTask {
2352
+ id: string;
2353
+ task_name: string;
2354
+ payload: any;
2355
+ status: 'pending' | 'completed' | 'failed' | 'dead' | 'cancelled';
2356
+ queue: string;
2357
+ attempt: number;
2358
+ created_at: string;
2359
+ completed_at?: string;
2360
+ failed_at?: string;
2361
+ error?: string;
2362
+ }
2363
+ interface BlinkQueueSchedule {
2364
+ name: string;
2365
+ schedule_id: string;
2366
+ cron: string;
2367
+ timezone: string;
2368
+ task_name: string;
2369
+ is_paused: boolean;
2370
+ last_run_at?: string;
2371
+ next_run_at?: string;
2372
+ created_at: string;
2373
+ }
2374
+ interface BlinkQueueStats {
2375
+ pending: number;
2376
+ completed: number;
2377
+ failed: number;
2378
+ dead: number;
2379
+ schedules: number;
2380
+ }
2381
+ interface BlinkQueue {
2382
+ enqueue(taskName: string, payload?: any, options?: QueueOptions): Promise<{
2383
+ taskId: string;
2384
+ status: string;
2385
+ messageId: string;
2386
+ }>;
2387
+ list(filter?: {
2388
+ status?: string;
2389
+ queue?: string;
2390
+ limit?: number;
2391
+ }): Promise<BlinkQueueTask[]>;
2392
+ get(taskId: string): Promise<BlinkQueueTask>;
2393
+ cancel(taskId: string): Promise<void>;
2394
+ schedule(name: string, cron: string, payload?: any, options?: ScheduleOptions): Promise<{
2395
+ scheduleId: string;
2396
+ name: string;
2397
+ }>;
2398
+ listSchedules(): Promise<BlinkQueueSchedule[]>;
2399
+ pauseSchedule(name: string): Promise<void>;
2400
+ resumeSchedule(name: string): Promise<void>;
2401
+ deleteSchedule(name: string): Promise<void>;
2402
+ createQueue(name: string, options?: {
2403
+ parallelism?: number;
2404
+ }): Promise<void>;
2405
+ listQueues(): Promise<Array<{
2406
+ name: string;
2407
+ parallelism: number;
2408
+ }>>;
2409
+ deleteQueue(name: string): Promise<void>;
2410
+ listDead(): Promise<any[]>;
2411
+ retryDead(dlqId: string): Promise<{
2412
+ messageId: string;
2413
+ }>;
2414
+ purgeDead(): Promise<void>;
2415
+ stats(): Promise<BlinkQueueStats>;
2416
+ }
2417
+ declare class BlinkQueueImpl implements BlinkQueue {
2418
+ private httpClient;
2419
+ constructor(httpClient: HttpClient);
2420
+ private get basePath();
2421
+ enqueue(taskName: string, payload?: any, options?: QueueOptions): Promise<{
2422
+ taskId: string;
2423
+ status: string;
2424
+ messageId: string;
2425
+ }>;
2426
+ list(filter?: {
2427
+ status?: string;
2428
+ queue?: string;
2429
+ limit?: number;
2430
+ }): Promise<BlinkQueueTask[]>;
2431
+ get(taskId: string): Promise<BlinkQueueTask>;
2432
+ cancel(taskId: string): Promise<void>;
2433
+ schedule(name: string, cron: string, payload?: any, options?: ScheduleOptions): Promise<{
2434
+ scheduleId: string;
2435
+ name: string;
2436
+ }>;
2437
+ listSchedules(): Promise<BlinkQueueSchedule[]>;
2438
+ pauseSchedule(name: string): Promise<void>;
2439
+ resumeSchedule(name: string): Promise<void>;
2440
+ deleteSchedule(name: string): Promise<void>;
2441
+ createQueue(name: string, options?: {
2442
+ parallelism?: number;
2443
+ }): Promise<void>;
2444
+ listQueues(): Promise<{
2445
+ name: string;
2446
+ parallelism: number;
2447
+ }[]>;
2448
+ deleteQueue(name: string): Promise<void>;
2449
+ listDead(): Promise<any[]>;
2450
+ retryDead(dlqId: string): Promise<{
2451
+ messageId: string;
2452
+ }>;
2453
+ purgeDead(): Promise<void>;
2454
+ stats(): Promise<BlinkQueueStats>;
2455
+ }
2456
+
2316
2457
  /**
2317
2458
  * Blink Client - Main SDK entry point
2318
2459
  * Factory function and client class for the Blink SDK
@@ -2348,6 +2489,7 @@ interface BlinkClient {
2348
2489
  functions: BlinkFunctions;
2349
2490
  rag: BlinkRAG;
2350
2491
  sandbox: BlinkSandbox;
2492
+ queue: BlinkQueue;
2351
2493
  }
2352
2494
  declare class BlinkClientImpl implements BlinkClient {
2353
2495
  auth: BlinkAuth;
@@ -2362,6 +2504,7 @@ declare class BlinkClientImpl implements BlinkClient {
2362
2504
  functions: BlinkFunctions;
2363
2505
  rag: BlinkRAG;
2364
2506
  sandbox: BlinkSandbox;
2507
+ queue: BlinkQueue;
2365
2508
  /** @internal HTTP client for Agent auto-binding */
2366
2509
  _httpClient: HttpClient;
2367
2510
  constructor(config: BlinkClientConfig);
@@ -3778,4 +3921,4 @@ declare const mediaTools: readonly ["generate_image", "edit_image", "generate_vi
3778
3921
  */
3779
3922
  declare function serializeTools(tools: string[]): string[];
3780
3923
 
3781
- export { type AISearchOptions, Agent, type AgentBilling, type AgentConfig, type AgentNonStreamMessagesRequest, type AgentNonStreamPromptRequest, type AgentOptions, type AgentRequest, type AgentResponse, type AgentStep, type AgentStreamRequest, type TokenUsage as AgentTokenUsage, type AnalyticsEvent, AsyncStorageAdapter, type AuthState, type AuthStateChangeCallback, type AuthTokens, type BlinkAI, BlinkAIImpl, type BlinkAnalytics, BlinkAnalyticsImpl, type BlinkClient, type BlinkClientConfig, BlinkConnectorError, type BlinkConnectors, BlinkConnectorsImpl, type BlinkData, BlinkDataImpl, BlinkDatabase, type BlinkRAG, BlinkRAGImpl, type BlinkRealtime, BlinkRealtimeChannel, BlinkRealtimeError, BlinkRealtimeImpl, type BlinkSandbox, BlinkSandboxImpl, type BlinkStorage, BlinkStorageImpl, BlinkTable, type BlinkTokenType, type BlinkUser, type ClientTool, type ConnectorApiKeyRequest, type ConnectorApiKeyResponse, type ConnectorAuthMode, type ConnectorExecuteRequest, type ConnectorExecuteResponse, type ConnectorProvider, type ConnectorStatusResponse, type ContextPolicy, type CreateCollectionOptions, type CreateOptions, type DataExtraction, type FileObject, type FilterCondition, type GenerateOptions, type ImageGenerationRequest, type ImageGenerationResponse, type JSONSchema, type ListDocumentsOptions, type Message, NoOpStorageAdapter, type ObjectGenerationRequest, type ObjectGenerationResponse, type PresenceUser, type QueryOptions, type RAGAISearchResult, type RAGAISearchSource, type RAGCollection, type RAGDocument, type RAGSearchResponse, type RAGSearchResult, type RealtimeChannel, type RealtimeGetMessagesOptions, type RealtimeMessage, type RealtimePublishOptions, type RealtimeSubscribeOptions, SANDBOX_TEMPLATES, type Sandbox, type SandboxConnectOptions, SandboxConnectionError, type SandboxCreateOptions, type SandboxTemplate, type SearchOptions, type SearchRequest, type SearchResponse, type SpeechGenerationRequest, type SpeechGenerationResponse, type StopCondition, type StorageAdapter, type StorageUploadOptions, type StorageUploadResponse, type StreamOptions, type TableOperations, type TextGenerationRequest, type TextGenerationResponse, type TokenIntrospectionResult, type TokenUsage$1 as TokenUsage, type ToolCall, type ToolResult, type TranscriptionRequest, type TranscriptionResponse, type UIMessage, type UIMessagePart, type UpdateOptions, type UploadOptions, type UpsertOptions, type WaitForReadyOptions, type WebBrowserModule, WebStorageAdapter, type WebhookTool, coreTools, createClient, dbDelete, dbGet, dbInsert, dbList, dbTools, dbUpdate, editImage, fetchUrl, generateImage, generateVideo, getDefaultClient, getDefaultStorageAdapter, getHost, globFileSearch, grep, imageToVideo, isBrowser, isDeno, isNode, isReactNative, isServer, isWeb, listDir, mediaTools, platform, ragSearch, ragTools, readFile, runCode, runTerminalCmd, sandboxTools, searchReplace, serializeTools, stepCountIs, storageCopy, storageDelete, storageDownload, storageList, storageMove, storagePublicUrl, storageTools, storageUpload, webSearch, writeFile };
3924
+ export { type AISearchOptions, Agent, type AgentBilling, type AgentConfig, type AgentNonStreamMessagesRequest, type AgentNonStreamPromptRequest, type AgentOptions, type AgentRequest, type AgentResponse, type AgentStep, type AgentStreamRequest, type TokenUsage as AgentTokenUsage, type AnalyticsEvent, AsyncStorageAdapter, type AuthState, type AuthStateChangeCallback, type AuthTokens, type BlinkAI, BlinkAIImpl, type BlinkAnalytics, BlinkAnalyticsImpl, type BlinkClient, type BlinkClientConfig, BlinkConnectorError, type BlinkConnectors, BlinkConnectorsImpl, type BlinkData, BlinkDataImpl, BlinkDatabase, type BlinkQueue, BlinkQueueCreditError, BlinkQueueImpl, type BlinkQueueSchedule, type BlinkQueueStats, type BlinkQueueTask, type BlinkRAG, BlinkRAGImpl, type BlinkRealtime, BlinkRealtimeChannel, BlinkRealtimeError, BlinkRealtimeImpl, type BlinkSandbox, BlinkSandboxImpl, type BlinkStorage, BlinkStorageImpl, BlinkTable, type BlinkTokenType, type BlinkUser, type ClientTool, type ConnectorApiKeyRequest, type ConnectorApiKeyResponse, type ConnectorAuthMode, type ConnectorExecuteRequest, type ConnectorExecuteResponse, type ConnectorProvider, type ConnectorStatusResponse, type ContextPolicy, type CreateCollectionOptions, type CreateOptions, type DataExtraction, type FileObject, type FilterCondition, type GenerateOptions, type ImageGenerationRequest, type ImageGenerationResponse, type JSONSchema, type ListDocumentsOptions, type Message, NoOpStorageAdapter, type ObjectGenerationRequest, type ObjectGenerationResponse, type PresenceUser, type QueryOptions, type QueueOptions, type RAGAISearchResult, type RAGAISearchSource, type RAGCollection, type RAGDocument, type RAGSearchResponse, type RAGSearchResult, type RealtimeChannel, type RealtimeGetMessagesOptions, type RealtimeMessage, type RealtimePublishOptions, type RealtimeSubscribeOptions, SANDBOX_TEMPLATES, type Sandbox, type SandboxConnectOptions, SandboxConnectionError, type SandboxCreateOptions, type SandboxTemplate, type ScheduleOptions, type SearchOptions, type SearchRequest, type SearchResponse, type SpeechGenerationRequest, type SpeechGenerationResponse, type StopCondition, type StorageAdapter, type StorageUploadOptions, type StorageUploadResponse, type StreamOptions, type TableOperations, type TextGenerationRequest, type TextGenerationResponse, type TokenIntrospectionResult, type TokenUsage$1 as TokenUsage, type ToolCall, type ToolResult, type TranscriptionRequest, type TranscriptionResponse, type UIMessage, type UIMessagePart, type UpdateOptions, type UploadOptions, type UpsertOptions, type WaitForReadyOptions, type WebBrowserModule, WebStorageAdapter, type WebhookTool, coreTools, createClient, dbDelete, dbGet, dbInsert, dbList, dbTools, dbUpdate, editImage, fetchUrl, generateImage, generateVideo, getDefaultClient, getDefaultStorageAdapter, getHost, globFileSearch, grep, imageToVideo, isBrowser, isDeno, isNode, isReactNative, isServer, isWeb, listDir, mediaTools, platform, ragSearch, ragTools, readFile, runCode, runTerminalCmd, sandboxTools, searchReplace, serializeTools, stepCountIs, storageCopy, storageDelete, storageDownload, storageList, storageMove, storagePublicUrl, storageTools, storageUpload, webSearch, writeFile };
package/dist/index.d.ts CHANGED
@@ -112,6 +112,8 @@ interface BlinkClientConfig {
112
112
  * })
113
113
  */
114
114
  storage?: StorageAdapter;
115
+ /** Custom core API URL (default: https://core.blink.new). Used to point at a local dev server. */
116
+ coreUrl?: string;
115
117
  }
116
118
  interface BlinkAuthConfig {
117
119
  mode?: 'managed' | 'headless';
@@ -2313,6 +2315,145 @@ declare class BlinkSandboxImpl implements BlinkSandbox {
2313
2315
  kill(sandboxId: string): Promise<void>;
2314
2316
  }
2315
2317
 
2318
+ /**
2319
+ * Blink Queue Module
2320
+ * Task queues, scheduling, and dead-letter queue management
2321
+ */
2322
+
2323
+ /**
2324
+ * Thrown when the workspace has insufficient credits to enqueue a task.
2325
+ * Handle this in your backend to return a graceful response instead of crashing.
2326
+ *
2327
+ * @example
2328
+ * try {
2329
+ * await blink.queue.enqueue('sendEmail', { to: user.email })
2330
+ * } catch (err) {
2331
+ * if (err instanceof BlinkQueueCreditError) {
2332
+ * return { status: 'at_capacity', message: 'Service temporarily unavailable, please retry.' }
2333
+ * }
2334
+ * throw err
2335
+ * }
2336
+ */
2337
+ declare class BlinkQueueCreditError extends Error {
2338
+ readonly code = "INSUFFICIENT_CREDITS";
2339
+ constructor();
2340
+ }
2341
+ interface QueueOptions {
2342
+ queue?: string;
2343
+ delay?: string;
2344
+ retries?: number;
2345
+ timeout?: string;
2346
+ }
2347
+ interface ScheduleOptions {
2348
+ timezone?: string;
2349
+ retries?: number;
2350
+ }
2351
+ interface BlinkQueueTask {
2352
+ id: string;
2353
+ task_name: string;
2354
+ payload: any;
2355
+ status: 'pending' | 'completed' | 'failed' | 'dead' | 'cancelled';
2356
+ queue: string;
2357
+ attempt: number;
2358
+ created_at: string;
2359
+ completed_at?: string;
2360
+ failed_at?: string;
2361
+ error?: string;
2362
+ }
2363
+ interface BlinkQueueSchedule {
2364
+ name: string;
2365
+ schedule_id: string;
2366
+ cron: string;
2367
+ timezone: string;
2368
+ task_name: string;
2369
+ is_paused: boolean;
2370
+ last_run_at?: string;
2371
+ next_run_at?: string;
2372
+ created_at: string;
2373
+ }
2374
+ interface BlinkQueueStats {
2375
+ pending: number;
2376
+ completed: number;
2377
+ failed: number;
2378
+ dead: number;
2379
+ schedules: number;
2380
+ }
2381
+ interface BlinkQueue {
2382
+ enqueue(taskName: string, payload?: any, options?: QueueOptions): Promise<{
2383
+ taskId: string;
2384
+ status: string;
2385
+ messageId: string;
2386
+ }>;
2387
+ list(filter?: {
2388
+ status?: string;
2389
+ queue?: string;
2390
+ limit?: number;
2391
+ }): Promise<BlinkQueueTask[]>;
2392
+ get(taskId: string): Promise<BlinkQueueTask>;
2393
+ cancel(taskId: string): Promise<void>;
2394
+ schedule(name: string, cron: string, payload?: any, options?: ScheduleOptions): Promise<{
2395
+ scheduleId: string;
2396
+ name: string;
2397
+ }>;
2398
+ listSchedules(): Promise<BlinkQueueSchedule[]>;
2399
+ pauseSchedule(name: string): Promise<void>;
2400
+ resumeSchedule(name: string): Promise<void>;
2401
+ deleteSchedule(name: string): Promise<void>;
2402
+ createQueue(name: string, options?: {
2403
+ parallelism?: number;
2404
+ }): Promise<void>;
2405
+ listQueues(): Promise<Array<{
2406
+ name: string;
2407
+ parallelism: number;
2408
+ }>>;
2409
+ deleteQueue(name: string): Promise<void>;
2410
+ listDead(): Promise<any[]>;
2411
+ retryDead(dlqId: string): Promise<{
2412
+ messageId: string;
2413
+ }>;
2414
+ purgeDead(): Promise<void>;
2415
+ stats(): Promise<BlinkQueueStats>;
2416
+ }
2417
+ declare class BlinkQueueImpl implements BlinkQueue {
2418
+ private httpClient;
2419
+ constructor(httpClient: HttpClient);
2420
+ private get basePath();
2421
+ enqueue(taskName: string, payload?: any, options?: QueueOptions): Promise<{
2422
+ taskId: string;
2423
+ status: string;
2424
+ messageId: string;
2425
+ }>;
2426
+ list(filter?: {
2427
+ status?: string;
2428
+ queue?: string;
2429
+ limit?: number;
2430
+ }): Promise<BlinkQueueTask[]>;
2431
+ get(taskId: string): Promise<BlinkQueueTask>;
2432
+ cancel(taskId: string): Promise<void>;
2433
+ schedule(name: string, cron: string, payload?: any, options?: ScheduleOptions): Promise<{
2434
+ scheduleId: string;
2435
+ name: string;
2436
+ }>;
2437
+ listSchedules(): Promise<BlinkQueueSchedule[]>;
2438
+ pauseSchedule(name: string): Promise<void>;
2439
+ resumeSchedule(name: string): Promise<void>;
2440
+ deleteSchedule(name: string): Promise<void>;
2441
+ createQueue(name: string, options?: {
2442
+ parallelism?: number;
2443
+ }): Promise<void>;
2444
+ listQueues(): Promise<{
2445
+ name: string;
2446
+ parallelism: number;
2447
+ }[]>;
2448
+ deleteQueue(name: string): Promise<void>;
2449
+ listDead(): Promise<any[]>;
2450
+ retryDead(dlqId: string): Promise<{
2451
+ messageId: string;
2452
+ }>;
2453
+ purgeDead(): Promise<void>;
2454
+ stats(): Promise<BlinkQueueStats>;
2455
+ }
2456
+
2316
2457
  /**
2317
2458
  * Blink Client - Main SDK entry point
2318
2459
  * Factory function and client class for the Blink SDK
@@ -2348,6 +2489,7 @@ interface BlinkClient {
2348
2489
  functions: BlinkFunctions;
2349
2490
  rag: BlinkRAG;
2350
2491
  sandbox: BlinkSandbox;
2492
+ queue: BlinkQueue;
2351
2493
  }
2352
2494
  declare class BlinkClientImpl implements BlinkClient {
2353
2495
  auth: BlinkAuth;
@@ -2362,6 +2504,7 @@ declare class BlinkClientImpl implements BlinkClient {
2362
2504
  functions: BlinkFunctions;
2363
2505
  rag: BlinkRAG;
2364
2506
  sandbox: BlinkSandbox;
2507
+ queue: BlinkQueue;
2365
2508
  /** @internal HTTP client for Agent auto-binding */
2366
2509
  _httpClient: HttpClient;
2367
2510
  constructor(config: BlinkClientConfig);
@@ -3778,4 +3921,4 @@ declare const mediaTools: readonly ["generate_image", "edit_image", "generate_vi
3778
3921
  */
3779
3922
  declare function serializeTools(tools: string[]): string[];
3780
3923
 
3781
- export { type AISearchOptions, Agent, type AgentBilling, type AgentConfig, type AgentNonStreamMessagesRequest, type AgentNonStreamPromptRequest, type AgentOptions, type AgentRequest, type AgentResponse, type AgentStep, type AgentStreamRequest, type TokenUsage as AgentTokenUsage, type AnalyticsEvent, AsyncStorageAdapter, type AuthState, type AuthStateChangeCallback, type AuthTokens, type BlinkAI, BlinkAIImpl, type BlinkAnalytics, BlinkAnalyticsImpl, type BlinkClient, type BlinkClientConfig, BlinkConnectorError, type BlinkConnectors, BlinkConnectorsImpl, type BlinkData, BlinkDataImpl, BlinkDatabase, type BlinkRAG, BlinkRAGImpl, type BlinkRealtime, BlinkRealtimeChannel, BlinkRealtimeError, BlinkRealtimeImpl, type BlinkSandbox, BlinkSandboxImpl, type BlinkStorage, BlinkStorageImpl, BlinkTable, type BlinkTokenType, type BlinkUser, type ClientTool, type ConnectorApiKeyRequest, type ConnectorApiKeyResponse, type ConnectorAuthMode, type ConnectorExecuteRequest, type ConnectorExecuteResponse, type ConnectorProvider, type ConnectorStatusResponse, type ContextPolicy, type CreateCollectionOptions, type CreateOptions, type DataExtraction, type FileObject, type FilterCondition, type GenerateOptions, type ImageGenerationRequest, type ImageGenerationResponse, type JSONSchema, type ListDocumentsOptions, type Message, NoOpStorageAdapter, type ObjectGenerationRequest, type ObjectGenerationResponse, type PresenceUser, type QueryOptions, type RAGAISearchResult, type RAGAISearchSource, type RAGCollection, type RAGDocument, type RAGSearchResponse, type RAGSearchResult, type RealtimeChannel, type RealtimeGetMessagesOptions, type RealtimeMessage, type RealtimePublishOptions, type RealtimeSubscribeOptions, SANDBOX_TEMPLATES, type Sandbox, type SandboxConnectOptions, SandboxConnectionError, type SandboxCreateOptions, type SandboxTemplate, type SearchOptions, type SearchRequest, type SearchResponse, type SpeechGenerationRequest, type SpeechGenerationResponse, type StopCondition, type StorageAdapter, type StorageUploadOptions, type StorageUploadResponse, type StreamOptions, type TableOperations, type TextGenerationRequest, type TextGenerationResponse, type TokenIntrospectionResult, type TokenUsage$1 as TokenUsage, type ToolCall, type ToolResult, type TranscriptionRequest, type TranscriptionResponse, type UIMessage, type UIMessagePart, type UpdateOptions, type UploadOptions, type UpsertOptions, type WaitForReadyOptions, type WebBrowserModule, WebStorageAdapter, type WebhookTool, coreTools, createClient, dbDelete, dbGet, dbInsert, dbList, dbTools, dbUpdate, editImage, fetchUrl, generateImage, generateVideo, getDefaultClient, getDefaultStorageAdapter, getHost, globFileSearch, grep, imageToVideo, isBrowser, isDeno, isNode, isReactNative, isServer, isWeb, listDir, mediaTools, platform, ragSearch, ragTools, readFile, runCode, runTerminalCmd, sandboxTools, searchReplace, serializeTools, stepCountIs, storageCopy, storageDelete, storageDownload, storageList, storageMove, storagePublicUrl, storageTools, storageUpload, webSearch, writeFile };
3924
+ export { type AISearchOptions, Agent, type AgentBilling, type AgentConfig, type AgentNonStreamMessagesRequest, type AgentNonStreamPromptRequest, type AgentOptions, type AgentRequest, type AgentResponse, type AgentStep, type AgentStreamRequest, type TokenUsage as AgentTokenUsage, type AnalyticsEvent, AsyncStorageAdapter, type AuthState, type AuthStateChangeCallback, type AuthTokens, type BlinkAI, BlinkAIImpl, type BlinkAnalytics, BlinkAnalyticsImpl, type BlinkClient, type BlinkClientConfig, BlinkConnectorError, type BlinkConnectors, BlinkConnectorsImpl, type BlinkData, BlinkDataImpl, BlinkDatabase, type BlinkQueue, BlinkQueueCreditError, BlinkQueueImpl, type BlinkQueueSchedule, type BlinkQueueStats, type BlinkQueueTask, type BlinkRAG, BlinkRAGImpl, type BlinkRealtime, BlinkRealtimeChannel, BlinkRealtimeError, BlinkRealtimeImpl, type BlinkSandbox, BlinkSandboxImpl, type BlinkStorage, BlinkStorageImpl, BlinkTable, type BlinkTokenType, type BlinkUser, type ClientTool, type ConnectorApiKeyRequest, type ConnectorApiKeyResponse, type ConnectorAuthMode, type ConnectorExecuteRequest, type ConnectorExecuteResponse, type ConnectorProvider, type ConnectorStatusResponse, type ContextPolicy, type CreateCollectionOptions, type CreateOptions, type DataExtraction, type FileObject, type FilterCondition, type GenerateOptions, type ImageGenerationRequest, type ImageGenerationResponse, type JSONSchema, type ListDocumentsOptions, type Message, NoOpStorageAdapter, type ObjectGenerationRequest, type ObjectGenerationResponse, type PresenceUser, type QueryOptions, type QueueOptions, type RAGAISearchResult, type RAGAISearchSource, type RAGCollection, type RAGDocument, type RAGSearchResponse, type RAGSearchResult, type RealtimeChannel, type RealtimeGetMessagesOptions, type RealtimeMessage, type RealtimePublishOptions, type RealtimeSubscribeOptions, SANDBOX_TEMPLATES, type Sandbox, type SandboxConnectOptions, SandboxConnectionError, type SandboxCreateOptions, type SandboxTemplate, type ScheduleOptions, type SearchOptions, type SearchRequest, type SearchResponse, type SpeechGenerationRequest, type SpeechGenerationResponse, type StopCondition, type StorageAdapter, type StorageUploadOptions, type StorageUploadResponse, type StreamOptions, type TableOperations, type TextGenerationRequest, type TextGenerationResponse, type TokenIntrospectionResult, type TokenUsage$1 as TokenUsage, type ToolCall, type ToolResult, type TranscriptionRequest, type TranscriptionResponse, type UIMessage, type UIMessagePart, type UpdateOptions, type UploadOptions, type UpsertOptions, type WaitForReadyOptions, type WebBrowserModule, WebStorageAdapter, type WebhookTool, coreTools, createClient, dbDelete, dbGet, dbInsert, dbList, dbTools, dbUpdate, editImage, fetchUrl, generateImage, generateVideo, getDefaultClient, getDefaultStorageAdapter, getHost, globFileSearch, grep, imageToVideo, isBrowser, isDeno, isNode, isReactNative, isServer, isWeb, listDir, mediaTools, platform, ragSearch, ragTools, readFile, runCode, runTerminalCmd, sandboxTools, searchReplace, serializeTools, stepCountIs, storageCopy, storageDelete, storageDownload, storageList, storageMove, storagePublicUrl, storageTools, storageUpload, webSearch, writeFile };