@umituz/web-ai 1.0.2 → 1.0.4

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 (47) hide show
  1. package/dist/{AIErrors-B2ogd1PB.d.ts → AIErrors-CLjXRty-.d.ts} +99 -92
  2. package/dist/{AIErrors-C5EasV_c.d.cts → AIErrors-DjZXUiLT.d.cts} +99 -92
  3. package/dist/PromptBuilder-B5Lm1znm.d.ts +215 -0
  4. package/dist/PromptBuilder-DIUZlfV6.d.cts +215 -0
  5. package/dist/{text-generation.service-BQO3Tvz2.d.cts → cancellation-error-Cj7fJyCg.d.cts} +66 -3
  6. package/dist/{text-generation.service-CcYQM6Ch.d.ts → cancellation-error-CkMn5Kft.d.ts} +66 -3
  7. package/dist/chat/index.cjs.map +1 -1
  8. package/dist/chat/index.d.cts +3 -3
  9. package/dist/chat/index.d.ts +3 -3
  10. package/dist/chat/index.js.map +1 -1
  11. package/dist/{chat.service-CL1qtYxe.d.cts → chat.service-9M-KpLo-.d.cts} +1 -1
  12. package/dist/{chat.service-q05GnhEm.d.ts → chat.service-B4FLFxR1.d.ts} +1 -1
  13. package/dist/content/index.cjs +1582 -452
  14. package/dist/content/index.cjs.map +1 -1
  15. package/dist/content/index.d.cts +165 -219
  16. package/dist/content/index.d.ts +165 -219
  17. package/dist/content/index.js +1525 -453
  18. package/dist/content/index.js.map +1 -1
  19. package/dist/{create-ai-9PW752z8.d.ts → create-ai-0eZFFqTw.d.ts} +1 -1
  20. package/dist/{create-ai-CXYKPK6G.d.cts → create-ai-BrKR_5fQ.d.cts} +1 -1
  21. package/dist/hooks/index.cjs +924 -31
  22. package/dist/hooks/index.cjs.map +1 -1
  23. package/dist/hooks/index.d.cts +44 -8
  24. package/dist/hooks/index.d.ts +44 -8
  25. package/dist/hooks/index.js +919 -32
  26. package/dist/hooks/index.js.map +1 -1
  27. package/dist/index-BUVULo3h.d.ts +177 -0
  28. package/dist/index-BulSkB2L.d.cts +177 -0
  29. package/dist/index.cjs +3057 -563
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +8 -5
  32. package/dist/index.d.ts +8 -5
  33. package/dist/index.js +3011 -564
  34. package/dist/index.js.map +1 -1
  35. package/dist/{provider.factory-DfDfk0dK.d.ts → provider.factory-BwPnqSEU.d.ts} +3 -1
  36. package/dist/{provider.factory-BxsfK4WW.d.cts → provider.factory-DyfJtR8M.d.cts} +3 -1
  37. package/dist/providers/index.cjs +818 -27
  38. package/dist/providers/index.cjs.map +1 -1
  39. package/dist/providers/index.d.cts +50 -8
  40. package/dist/providers/index.d.ts +50 -8
  41. package/dist/providers/index.js +806 -28
  42. package/dist/providers/index.js.map +1 -1
  43. package/dist/wizard/index.d.cts +2 -86
  44. package/dist/wizard/index.d.ts +2 -86
  45. package/package.json +21 -1
  46. package/dist/ContentGeneration-B6iK2B33.d.cts +0 -93
  47. package/dist/ContentGeneration-B6iK2B33.d.ts +0 -93
@@ -1,14 +1,14 @@
1
- import { C as CostEstimateRequest, b as ITextProvider, I as IMediaProvider } from '../provider.factory-BxsfK4WW.cjs';
2
- export { A as AnyProvider, a as IProviderBase, P as ProviderCapability, c as ProviderFactory, d as ProviderFactoryConfig, i as isMediaProvider, e as isTextProvider } from '../provider.factory-BxsfK4WW.cjs';
1
+ import { C as CostEstimateRequest, d as ITextProvider, a as IMediaProvider } from '../provider.factory-DyfJtR8M.cjs';
2
+ export { A as AnyProvider, I as IAIProvider, b as IProviderBase, P as ProviderCapability, e as ProviderFactory, f as ProviderFactoryConfig, g as createProviderFactory, i as isMediaProvider, h as isTextProvider } from '../provider.factory-DyfJtR8M.cjs';
3
3
  import { P as ProviderHealth, c as TextTier, T as TextRequest, G as GenerationResult, b as StructuredTextRequest, a as StructuredGeneration, S as StreamCallbacks, F as FinishReason, C as ChatMessage, d as TokenUsage } from '../index-fXjxTR5W.cjs';
4
4
  import { A as AIError, c as TierModelMap } from '../index-DKHNcMbl.cjs';
5
- import { h as AnthropicProviderConfig, e as AnthropicEffort, x as AnthropicMessage, f as AnthropicMessagesRequest, i as AnthropicStopReason, g as AnthropicMessagesResponse, t as GroqProviderConfig, r as GroqMessage, q as GroqGenerationConfig, k as GroqChatRequest, l as GroqChatResponse, S as StreamRequestOptions$1, s as GroqMessageRole, u as GroqReasoningEffort } from '../create-ai-CXYKPK6G.cjs';
6
- export { A as AIProviderConfig, a as ANTHROPIC_API_VERSION, b as ANTHROPIC_DEFAULT_MAX_TOKENS, c as ANTHROPIC_MODELS, d as ANTHROPIC_TIERS, j as AnthropicStreamEvent, G as GroqChatChunk, m as GroqChoice, n as GroqChunkChoice, o as GroqConfig, p as GroqErrorResponse, v as GroqUsage, w as createAI } from '../create-ai-CXYKPK6G.cjs';
5
+ import { h as AnthropicProviderConfig, e as AnthropicEffort, x as AnthropicMessage, f as AnthropicMessagesRequest, i as AnthropicStopReason, g as AnthropicMessagesResponse, t as GroqProviderConfig, r as GroqMessage, q as GroqGenerationConfig, k as GroqChatRequest, l as GroqChatResponse, S as StreamRequestOptions$1, s as GroqMessageRole, u as GroqReasoningEffort } from '../create-ai-BrKR_5fQ.cjs';
6
+ export { A as AIProviderConfig, a as ANTHROPIC_API_VERSION, b as ANTHROPIC_DEFAULT_MAX_TOKENS, c as ANTHROPIC_MODELS, d as ANTHROPIC_TIERS, j as AnthropicStreamEvent, G as GroqChatChunk, m as GroqChoice, n as GroqChunkChoice, o as GroqConfig, p as GroqErrorResponse, v as GroqUsage, w as createAI } from '../create-ai-BrKR_5fQ.cjs';
7
7
  import { b as CacheStats } from '../cache-manager-Df9LLYGA.cjs';
8
8
  import { b as RetryManager, a as RequestQueue, R as RequestDeduplicator } from '../request-deduplicator.util-NDo0_n1y.cjs';
9
- import { a as IGroqHttpClient, c as TextGenerationService } from '../text-generation.service-BQO3Tvz2.cjs';
10
- export { I as IGroqChatService, S as StreamingCallbacks, b as StructuredGenerationOptions, T as TextGenerationOptions } from '../text-generation.service-BQO3Tvz2.cjs';
11
- import { d as ChatService } from '../chat.service-CL1qtYxe.cjs';
9
+ import { b as IGroqHttpClient, T as TextGenerationService, a as GenerationStage, f as PrunaModelId, h as PrunaPredictionResponse, m as TextToVideoInput, G as GenerateOptions, j as PrunaResult, e as PrunaInput } from '../cancellation-error-Cj7fJyCg.cjs';
10
+ export { C as CancellationError, I as IGroqChatService, c as ImageToImageInput, d as ImageToVideoInput, P as PrunaAspectRatio, g as PrunaOutput, i as PrunaResolution, S as StreamingCallbacks, k as StructuredGenerationOptions, n as TextGenerationOptions, l as TextToImageInput } from '../cancellation-error-Cj7fJyCg.cjs';
11
+ import { d as ChatService } from '../chat.service-9M-KpLo-.cjs';
12
12
  import { c as GeminiConfig, I as ImageGenerationRequest, G as GeneratedContent, V as VideoGenerationRequest, a as ImageToVideoRequest, b as VideoToVideoRequest, F as FalConfig, P as PrunaConfig } from '../ProviderConfig-DIFa9nmG.cjs';
13
13
 
14
14
  interface BaseProviderConfig {
@@ -30,6 +30,7 @@ declare abstract class BaseProvider {
30
30
  protected fetchWithTimeout(url: string, options: RequestInit, timeout?: number): Promise<Response>;
31
31
  protected withRetry<T>(fn: () => Promise<T>, maxAttempts?: number): Promise<T>;
32
32
  }
33
+
33
34
  declare class ProviderError extends AIError {
34
35
  readonly providerId: string;
35
36
  constructor(message: string, providerId: string, originalError?: unknown);
@@ -159,6 +160,7 @@ declare class GroqProvider implements ITextProvider {
159
160
  }
160
161
  /** Maps neutral messages to Groq's wire format; systemPrompt becomes the leading system message. */
161
162
  declare function toGroqMessages(messages: ReadonlyArray<ChatMessage>, systemPrompt?: string): GroqMessage[];
163
+ declare function createGroqProvider(config: GroqProviderConfig): GroqProvider;
162
164
 
163
165
  declare const GROQ_MODELS: {
164
166
  readonly LLAMA_3_1_8B_INSTANT: "llama-3.1-8b-instant";
@@ -362,9 +364,49 @@ declare class FalProvider extends BaseProvider implements IMediaProvider {
362
364
  }
363
365
  declare function createFalProvider(config: FalConfig): FalProvider;
364
366
 
367
+ declare class AuthenticationError extends Error {
368
+ constructor(message?: string);
369
+ }
370
+
371
+ declare class TimeoutError extends Error {
372
+ constructor(message?: string);
373
+ }
374
+
375
+ interface ValidationErrorContext {
376
+ field: string;
377
+ reason: string;
378
+ receivedValue?: unknown;
379
+ }
380
+ declare class ValidationError extends Error {
381
+ readonly field: string;
382
+ readonly reason: string;
383
+ readonly receivedValue: unknown;
384
+ constructor(context: ValidationErrorContext);
385
+ }
386
+
387
+ declare function uploadImage(base64OrUrl: string, apiKey: string, onProgress?: (stage: GenerationStage) => void): Promise<string>;
388
+ declare function submitPrediction(model: PrunaModelId, input: Record<string, unknown>, apiKey: string, signal?: AbortSignal, onProgress?: (stage: GenerationStage) => void): Promise<PrunaPredictionResponse>;
389
+ declare class GenerationFailedError extends Error {
390
+ constructor(message: string);
391
+ }
392
+ declare function pollForResult(pollUrl: string, apiKey: string, maxAttempts?: number, intervalMs?: number, signal?: AbortSignal, onProgress?: (stage: GenerationStage, attempt: number) => void): Promise<string>;
393
+
394
+ declare function generate(apiKey: string, input: PrunaInput, options?: GenerateOptions & {
395
+ useCache?: boolean;
396
+ }): Promise<PrunaResult>;
397
+ declare function generateImageThenVideo(apiKey: string, input: TextToVideoInput, options?: GenerateOptions): Promise<PrunaResult>;
398
+
365
399
  interface PrunaRequest {
366
400
  model?: string;
367
401
  image?: string;
402
+ prompt?: string;
403
+ quality?: string;
404
+ duration?: number;
405
+ aspectRatio?: string;
406
+ aspect_ratio?: string;
407
+ motion?: number | string;
408
+ resolution?: string;
409
+ seed?: number;
368
410
  [key: string]: unknown;
369
411
  }
370
412
  interface PrunaProgressStage {
@@ -396,4 +438,4 @@ declare class PrunaProvider implements IMediaProvider {
396
438
  }
397
439
  declare function createPrunaProvider(config: PrunaConfig): PrunaProvider;
398
440
 
399
- export { API_ENDPOINTS, AnthropicEffort, AnthropicHttpTransport, AnthropicMessagesRequest, AnthropicMessagesResponse, AnthropicProvider, AnthropicProviderConfig, AnthropicRequestBuilder, AnthropicStopReason, type AppContainer, BaseProvider, type BaseProviderConfig, CostEstimateRequest, DEFAULT_BASE_URL, DEFAULT_GENERATION_CONFIG, DEFAULT_MODELS, FalProvider, GEMINI_TIERS, GROQ_MODELS, GROQ_TIERS, GeminiProvider, GroqChatRequest, GroqChatRequestBuilder, GroqChatResponse, GroqConfigStore, GroqGenerationConfig, GroqHttpClient, type GroqHttpClientDeps, GroqHttpTransport, GroqMessage, GroqMessageRole, GroqProvider, GroqProviderConfig, GroqReasoningEffort, IGroqHttpClient, IMediaProvider, ITextProvider, ProviderError, type PrunaProgressStage, PrunaProvider, type PrunaRequest, StreamRequestOptions$1 as StreamRequestOptions, type StructuredJsonRequest, TIMEOUTS, TextGenerationService, configureProvider, consumeAnthropicStream, consumeGroqStream, createAssistantMessage, createFalProvider, createGeminiProvider, createMessage, createPrunaProvider, createSystemMessage, createUserMessage, defaultEffortForModel, extractContentFromSsePayload, extractTextFromMessages, formatMessagesForDisplay, generateWithPruna, getProvider, mapAnthropicStopReason, promptToMessages, requestStructuredJson, resetProvider, toGroqMessages };
441
+ export { API_ENDPOINTS, AnthropicEffort, AnthropicHttpTransport, AnthropicMessagesRequest, AnthropicMessagesResponse, AnthropicProvider, AnthropicProviderConfig, AnthropicRequestBuilder, AnthropicStopReason, type AppContainer, AuthenticationError, BaseProvider as BaseAIProvider, BaseProvider, type BaseProviderConfig, CostEstimateRequest, DEFAULT_BASE_URL, DEFAULT_GENERATION_CONFIG, DEFAULT_MODELS, FalProvider, GEMINI_TIERS, GROQ_MODELS, GROQ_TIERS, GeminiProvider, GenerateOptions, GenerationFailedError, GenerationStage, GroqChatRequest, GroqChatRequestBuilder, GroqChatResponse, GroqConfigStore, GroqGenerationConfig, GroqHttpClient, type GroqHttpClientDeps, GroqHttpTransport, GroqMessage, GroqMessageRole, GroqProvider, GroqProviderConfig, GroqReasoningEffort, IGroqHttpClient, IMediaProvider, ITextProvider, ProviderError, PrunaInput, PrunaModelId, PrunaPredictionResponse, type PrunaProgressStage, PrunaProvider, type PrunaRequest, PrunaResult, StreamRequestOptions$1 as StreamRequestOptions, type StructuredJsonRequest, TIMEOUTS, TextGenerationService, TextToVideoInput, TimeoutError, ValidationError, configureProvider, consumeAnthropicStream, consumeGroqStream, createAssistantMessage, createFalProvider, createGeminiProvider, createGroqProvider, createMessage, createPrunaProvider, createSystemMessage, createUserMessage, defaultEffortForModel, extractContentFromSsePayload, extractTextFromMessages, formatMessagesForDisplay, generateImageThenVideo, generate as generatePruna, generateWithPruna, getProvider, mapAnthropicStopReason, pollForResult, promptToMessages, requestStructuredJson, resetProvider, submitPrediction, toGroqMessages, uploadImage };
@@ -1,14 +1,14 @@
1
- import { C as CostEstimateRequest, b as ITextProvider, I as IMediaProvider } from '../provider.factory-DfDfk0dK.js';
2
- export { A as AnyProvider, a as IProviderBase, P as ProviderCapability, c as ProviderFactory, d as ProviderFactoryConfig, i as isMediaProvider, e as isTextProvider } from '../provider.factory-DfDfk0dK.js';
1
+ import { C as CostEstimateRequest, d as ITextProvider, a as IMediaProvider } from '../provider.factory-BwPnqSEU.js';
2
+ export { A as AnyProvider, I as IAIProvider, b as IProviderBase, P as ProviderCapability, e as ProviderFactory, f as ProviderFactoryConfig, g as createProviderFactory, i as isMediaProvider, h as isTextProvider } from '../provider.factory-BwPnqSEU.js';
3
3
  import { P as ProviderHealth, c as TextTier, T as TextRequest, G as GenerationResult, b as StructuredTextRequest, a as StructuredGeneration, S as StreamCallbacks, F as FinishReason, C as ChatMessage, d as TokenUsage } from '../index-fXjxTR5W.js';
4
4
  import { A as AIError, c as TierModelMap } from '../index-DIHz8_OJ.js';
5
- import { h as AnthropicProviderConfig, e as AnthropicEffort, x as AnthropicMessage, f as AnthropicMessagesRequest, i as AnthropicStopReason, g as AnthropicMessagesResponse, t as GroqProviderConfig, r as GroqMessage, q as GroqGenerationConfig, k as GroqChatRequest, l as GroqChatResponse, S as StreamRequestOptions$1, s as GroqMessageRole, u as GroqReasoningEffort } from '../create-ai-9PW752z8.js';
6
- export { A as AIProviderConfig, a as ANTHROPIC_API_VERSION, b as ANTHROPIC_DEFAULT_MAX_TOKENS, c as ANTHROPIC_MODELS, d as ANTHROPIC_TIERS, j as AnthropicStreamEvent, G as GroqChatChunk, m as GroqChoice, n as GroqChunkChoice, o as GroqConfig, p as GroqErrorResponse, v as GroqUsage, w as createAI } from '../create-ai-9PW752z8.js';
5
+ import { h as AnthropicProviderConfig, e as AnthropicEffort, x as AnthropicMessage, f as AnthropicMessagesRequest, i as AnthropicStopReason, g as AnthropicMessagesResponse, t as GroqProviderConfig, r as GroqMessage, q as GroqGenerationConfig, k as GroqChatRequest, l as GroqChatResponse, S as StreamRequestOptions$1, s as GroqMessageRole, u as GroqReasoningEffort } from '../create-ai-0eZFFqTw.js';
6
+ export { A as AIProviderConfig, a as ANTHROPIC_API_VERSION, b as ANTHROPIC_DEFAULT_MAX_TOKENS, c as ANTHROPIC_MODELS, d as ANTHROPIC_TIERS, j as AnthropicStreamEvent, G as GroqChatChunk, m as GroqChoice, n as GroqChunkChoice, o as GroqConfig, p as GroqErrorResponse, v as GroqUsage, w as createAI } from '../create-ai-0eZFFqTw.js';
7
7
  import { b as CacheStats } from '../cache-manager-Df9LLYGA.js';
8
8
  import { b as RetryManager, a as RequestQueue, R as RequestDeduplicator } from '../request-deduplicator.util-NDo0_n1y.js';
9
- import { a as IGroqHttpClient, c as TextGenerationService } from '../text-generation.service-CcYQM6Ch.js';
10
- export { I as IGroqChatService, S as StreamingCallbacks, b as StructuredGenerationOptions, T as TextGenerationOptions } from '../text-generation.service-CcYQM6Ch.js';
11
- import { d as ChatService } from '../chat.service-q05GnhEm.js';
9
+ import { b as IGroqHttpClient, T as TextGenerationService, a as GenerationStage, f as PrunaModelId, h as PrunaPredictionResponse, m as TextToVideoInput, G as GenerateOptions, j as PrunaResult, e as PrunaInput } from '../cancellation-error-CkMn5Kft.js';
10
+ export { C as CancellationError, I as IGroqChatService, c as ImageToImageInput, d as ImageToVideoInput, P as PrunaAspectRatio, g as PrunaOutput, i as PrunaResolution, S as StreamingCallbacks, k as StructuredGenerationOptions, n as TextGenerationOptions, l as TextToImageInput } from '../cancellation-error-CkMn5Kft.js';
11
+ import { d as ChatService } from '../chat.service-B4FLFxR1.js';
12
12
  import { c as GeminiConfig, I as ImageGenerationRequest, G as GeneratedContent, V as VideoGenerationRequest, a as ImageToVideoRequest, b as VideoToVideoRequest, F as FalConfig, P as PrunaConfig } from '../ProviderConfig-DIFa9nmG.js';
13
13
 
14
14
  interface BaseProviderConfig {
@@ -30,6 +30,7 @@ declare abstract class BaseProvider {
30
30
  protected fetchWithTimeout(url: string, options: RequestInit, timeout?: number): Promise<Response>;
31
31
  protected withRetry<T>(fn: () => Promise<T>, maxAttempts?: number): Promise<T>;
32
32
  }
33
+
33
34
  declare class ProviderError extends AIError {
34
35
  readonly providerId: string;
35
36
  constructor(message: string, providerId: string, originalError?: unknown);
@@ -159,6 +160,7 @@ declare class GroqProvider implements ITextProvider {
159
160
  }
160
161
  /** Maps neutral messages to Groq's wire format; systemPrompt becomes the leading system message. */
161
162
  declare function toGroqMessages(messages: ReadonlyArray<ChatMessage>, systemPrompt?: string): GroqMessage[];
163
+ declare function createGroqProvider(config: GroqProviderConfig): GroqProvider;
162
164
 
163
165
  declare const GROQ_MODELS: {
164
166
  readonly LLAMA_3_1_8B_INSTANT: "llama-3.1-8b-instant";
@@ -362,9 +364,49 @@ declare class FalProvider extends BaseProvider implements IMediaProvider {
362
364
  }
363
365
  declare function createFalProvider(config: FalConfig): FalProvider;
364
366
 
367
+ declare class AuthenticationError extends Error {
368
+ constructor(message?: string);
369
+ }
370
+
371
+ declare class TimeoutError extends Error {
372
+ constructor(message?: string);
373
+ }
374
+
375
+ interface ValidationErrorContext {
376
+ field: string;
377
+ reason: string;
378
+ receivedValue?: unknown;
379
+ }
380
+ declare class ValidationError extends Error {
381
+ readonly field: string;
382
+ readonly reason: string;
383
+ readonly receivedValue: unknown;
384
+ constructor(context: ValidationErrorContext);
385
+ }
386
+
387
+ declare function uploadImage(base64OrUrl: string, apiKey: string, onProgress?: (stage: GenerationStage) => void): Promise<string>;
388
+ declare function submitPrediction(model: PrunaModelId, input: Record<string, unknown>, apiKey: string, signal?: AbortSignal, onProgress?: (stage: GenerationStage) => void): Promise<PrunaPredictionResponse>;
389
+ declare class GenerationFailedError extends Error {
390
+ constructor(message: string);
391
+ }
392
+ declare function pollForResult(pollUrl: string, apiKey: string, maxAttempts?: number, intervalMs?: number, signal?: AbortSignal, onProgress?: (stage: GenerationStage, attempt: number) => void): Promise<string>;
393
+
394
+ declare function generate(apiKey: string, input: PrunaInput, options?: GenerateOptions & {
395
+ useCache?: boolean;
396
+ }): Promise<PrunaResult>;
397
+ declare function generateImageThenVideo(apiKey: string, input: TextToVideoInput, options?: GenerateOptions): Promise<PrunaResult>;
398
+
365
399
  interface PrunaRequest {
366
400
  model?: string;
367
401
  image?: string;
402
+ prompt?: string;
403
+ quality?: string;
404
+ duration?: number;
405
+ aspectRatio?: string;
406
+ aspect_ratio?: string;
407
+ motion?: number | string;
408
+ resolution?: string;
409
+ seed?: number;
368
410
  [key: string]: unknown;
369
411
  }
370
412
  interface PrunaProgressStage {
@@ -396,4 +438,4 @@ declare class PrunaProvider implements IMediaProvider {
396
438
  }
397
439
  declare function createPrunaProvider(config: PrunaConfig): PrunaProvider;
398
440
 
399
- export { API_ENDPOINTS, AnthropicEffort, AnthropicHttpTransport, AnthropicMessagesRequest, AnthropicMessagesResponse, AnthropicProvider, AnthropicProviderConfig, AnthropicRequestBuilder, AnthropicStopReason, type AppContainer, BaseProvider, type BaseProviderConfig, CostEstimateRequest, DEFAULT_BASE_URL, DEFAULT_GENERATION_CONFIG, DEFAULT_MODELS, FalProvider, GEMINI_TIERS, GROQ_MODELS, GROQ_TIERS, GeminiProvider, GroqChatRequest, GroqChatRequestBuilder, GroqChatResponse, GroqConfigStore, GroqGenerationConfig, GroqHttpClient, type GroqHttpClientDeps, GroqHttpTransport, GroqMessage, GroqMessageRole, GroqProvider, GroqProviderConfig, GroqReasoningEffort, IGroqHttpClient, IMediaProvider, ITextProvider, ProviderError, type PrunaProgressStage, PrunaProvider, type PrunaRequest, StreamRequestOptions$1 as StreamRequestOptions, type StructuredJsonRequest, TIMEOUTS, TextGenerationService, configureProvider, consumeAnthropicStream, consumeGroqStream, createAssistantMessage, createFalProvider, createGeminiProvider, createMessage, createPrunaProvider, createSystemMessage, createUserMessage, defaultEffortForModel, extractContentFromSsePayload, extractTextFromMessages, formatMessagesForDisplay, generateWithPruna, getProvider, mapAnthropicStopReason, promptToMessages, requestStructuredJson, resetProvider, toGroqMessages };
441
+ export { API_ENDPOINTS, AnthropicEffort, AnthropicHttpTransport, AnthropicMessagesRequest, AnthropicMessagesResponse, AnthropicProvider, AnthropicProviderConfig, AnthropicRequestBuilder, AnthropicStopReason, type AppContainer, AuthenticationError, BaseProvider as BaseAIProvider, BaseProvider, type BaseProviderConfig, CostEstimateRequest, DEFAULT_BASE_URL, DEFAULT_GENERATION_CONFIG, DEFAULT_MODELS, FalProvider, GEMINI_TIERS, GROQ_MODELS, GROQ_TIERS, GeminiProvider, GenerateOptions, GenerationFailedError, GenerationStage, GroqChatRequest, GroqChatRequestBuilder, GroqChatResponse, GroqConfigStore, GroqGenerationConfig, GroqHttpClient, type GroqHttpClientDeps, GroqHttpTransport, GroqMessage, GroqMessageRole, GroqProvider, GroqProviderConfig, GroqReasoningEffort, IGroqHttpClient, IMediaProvider, ITextProvider, ProviderError, PrunaInput, PrunaModelId, PrunaPredictionResponse, type PrunaProgressStage, PrunaProvider, type PrunaRequest, PrunaResult, StreamRequestOptions$1 as StreamRequestOptions, type StructuredJsonRequest, TIMEOUTS, TextGenerationService, TextToVideoInput, TimeoutError, ValidationError, configureProvider, consumeAnthropicStream, consumeGroqStream, createAssistantMessage, createFalProvider, createGeminiProvider, createGroqProvider, createMessage, createPrunaProvider, createSystemMessage, createUserMessage, defaultEffortForModel, extractContentFromSsePayload, extractTextFromMessages, formatMessagesForDisplay, generateImageThenVideo, generate as generatePruna, generateWithPruna, getProvider, mapAnthropicStopReason, pollForResult, promptToMessages, requestStructuredJson, resetProvider, submitPrediction, toGroqMessages, uploadImage };