@squidcloud/client 1.0.388 → 1.0.390

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 (26) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/esm/index.js +1 -1
  3. package/dist/internal-common/src/public-types/ai-agent.public-types.d.ts +17 -266
  4. package/dist/internal-common/src/public-types/ai-assistant.public-types.d.ts +2 -1
  5. package/dist/internal-common/src/public-types/ai-common.public-types.d.ts +185 -0
  6. package/dist/internal-common/src/public-types/ai-knowledge-base.public-types.d.ts +244 -0
  7. package/dist/internal-common/src/public-types/ai-matchmaking.public-types.d.ts +1 -1
  8. package/dist/internal-common/src/public-types/ai-query.public-types.d.ts +1 -1
  9. package/dist/internal-common/src/public-types/backend.public-types.d.ts +4 -4
  10. package/dist/internal-common/src/public-types/communication.public-types.d.ts +2 -0
  11. package/dist/internal-common/src/public-utils/context-utils.d.ts +1 -0
  12. package/dist/internal-common/src/types/ai-agent.types.d.ts +13 -2
  13. package/dist/internal-common/src/types/ai-knowledge-base.types.d.ts +115 -0
  14. package/dist/internal-common/src/types/notification.types.d.ts +5 -0
  15. package/dist/internal-common/src/types/observability.types.d.ts +2 -0
  16. package/dist/typescript-client/src/agent/ai-agent-client-reference.d.ts +2 -3
  17. package/dist/typescript-client/src/agent/ai-agent-client.types.d.ts +2 -1
  18. package/dist/typescript-client/src/ai-client.d.ts +5 -0
  19. package/dist/typescript-client/src/ai-knowledge-base.reference.d.ts +57 -0
  20. package/dist/typescript-client/src/index.d.ts +2 -0
  21. package/dist/typescript-client/src/notification-client.d.ts +20 -0
  22. package/dist/typescript-client/src/personal-storage-client.d.ts +1 -1
  23. package/dist/typescript-client/src/public-types.d.ts +2 -0
  24. package/dist/typescript-client/src/squid.d.ts +26 -20
  25. package/dist/typescript-client/src/version.d.ts +1 -1
  26. package/package.json +1 -1
@@ -1,179 +1,10 @@
1
+ import { AiAudioCreateSpeechModelName, AiAudioTranscriptionModelName, AiChatModelName, AiEmbeddingsModelName, AiImageModelName, AiProviderType, AiRerankProvider, AnthropicChatModelName, GeminiChatModelName, GrokChatModelName, OpenAiAudioCreateSpeechModelName, OpenAiAudioTranscriptionModelName, OpenAiChatModelName, OpenAiCreateSpeechFormat, OpenAiReasoningChatModelName } from './ai-common.public-types';
2
+ import { AiContextMetadata, AiContextMetadataFilter, AiKnowledgeBaseContextType, AiRagType } from './ai-knowledge-base.public-types';
1
3
  import { AiFunctionId, AiFunctionIdWithContext, UserAiChatModelName } from './backend.public-types';
2
- import { AiAgentId, AiContextId, IntegrationId } from './communication.public-types';
4
+ import { AiAgentId, AiContextId, AiKnowledgeBaseId, IntegrationId } from './communication.public-types';
3
5
  import { IntegrationType } from './integration.public-types';
4
6
  import { JobId } from './job.public-types';
5
7
  import { SecretKey } from './secret.public-types';
6
- /** List of available AI provider types. See AiProviderType. */
7
- export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "flux", "gemini", "openai", "grok", "stability", "voyage", "external"];
8
- /**
9
- * Type of the AI provider.
10
- * References a single AI service, regardless of the model or other AI function it provides (like
11
- * chat/search/transcribe etc...).
12
- */
13
- export type AiProviderType = (typeof AI_PROVIDER_TYPES)[number];
14
- /**
15
- * The supported OpenAI models.
16
- * @category AI
17
- */
18
- export declare const OPENAI_O1_CHAT_MODEL_NAMES: readonly ["o1", "o1-mini"];
19
- /**
20
- * @category AI
21
- */
22
- export declare const OPENAI_REASONING_CHAT_MODEL_NAMES: readonly ["o1", "o1-mini", "o3", "o3-mini", "o4-mini"];
23
- /**
24
- * @category AI
25
- */
26
- export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o1-mini", "o3", "o3-mini", "o4-mini"];
27
- /**
28
- * @category AI
29
- */
30
- export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-2.5-pro", "gemini-2.5-flash"];
31
- /**
32
- * @category AI
33
- */
34
- export declare const GROK_CHAT_MODEL_NAMES: readonly ["grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4"];
35
- /**
36
- * @category AI
37
- */
38
- export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514"];
39
- /**
40
- * The supported AI model names.
41
- * @category AI
42
- */
43
- export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o1-mini", "o3", "o3-mini", "o4-mini", "claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514", "gemini-2.5-pro", "gemini-2.5-flash", "grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4"];
44
- /**
45
- * Check if the given model name is a global AI chat model name.
46
- */
47
- export declare function isVendorAiChatModelName(modelName: string): modelName is (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
48
- /**
49
- * @category AI
50
- */
51
- export declare const OPENAI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small"];
52
- /**
53
- * @category AI
54
- */
55
- export declare const VOYAGE_EMBEDDING_MODEL_NAMES: readonly ["voyage-3-large"];
56
- /**
57
- * @category AI
58
- */
59
- export declare const AI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small", "voyage-3-large"];
60
- /**
61
- * The supported AI image generation model names.
62
- * @category AI
63
- */
64
- export declare const OPENAI_IMAGE_MODEL_NAMES: readonly ["dall-e-3"];
65
- /**
66
- * @category AI
67
- */
68
- export declare const OPENAI_AUDIO_TRANSCRIPTION_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe"];
69
- /**
70
- * @category AI
71
- */
72
- export declare const OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES: readonly ["tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
73
- /**
74
- * @category AI
75
- */
76
- export declare const OPENAI_AUDIO_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe", "tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
77
- /**
78
- * @category AI
79
- */
80
- export declare const STABLE_DIFFUSION_MODEL_NAMES: readonly ["stable-diffusion-core"];
81
- /**
82
- * @category AI
83
- */
84
- export declare const FLUX_MODEL_NAMES: readonly ["flux-pro-1.1"];
85
- /**
86
- * @category AI
87
- */
88
- export declare const AI_IMAGE_MODEL_NAMES: readonly ["dall-e-3", "stable-diffusion-core", "flux-pro-1.1"];
89
- /**
90
- * @category AI
91
- */
92
- export declare const AI_AUDIO_TRANSCRIPTION_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe"];
93
- /**
94
- * @category AI
95
- */
96
- export declare const AI_AUDIO_CREATE_SPEECH_MODEL_NAMES: readonly ["tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
97
- /**
98
- * @category AI
99
- */
100
- export declare const OPEN_AI_CREATE_SPEECH_FORMATS: readonly ["mp3", "opus", "aac", "flac", "wav", "pcm"];
101
- /**
102
- * @category AI
103
- */
104
- export type VendorAiChatModelName = (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
105
- /**
106
- * @category AI
107
- */
108
- export type AiChatModelName = VendorAiChatModelName | UserAiChatModelName;
109
- /**
110
- * @category AI
111
- */
112
- export type AiEmbeddingsModelName = (typeof AI_EMBEDDINGS_MODEL_NAMES)[number];
113
- /**
114
- * @category AI
115
- */
116
- export type AiVoyageEmbeddingsModelName = (typeof VOYAGE_EMBEDDING_MODEL_NAMES)[number];
117
- /**
118
- * @category AI
119
- */
120
- export type OpenAiChatModelName = (typeof OPENAI_CHAT_MODEL_NAMES)[number];
121
- /**
122
- * @category AI
123
- */
124
- export type OpenAiReasoningChatModelName = (typeof OPENAI_REASONING_CHAT_MODEL_NAMES)[number];
125
- /**
126
- * @category AI
127
- */
128
- export type GeminiChatModelName = (typeof GEMINI_CHAT_MODEL_NAMES)[number];
129
- /**
130
- * @category AI
131
- */
132
- export type GrokChatModelName = (typeof GROK_CHAT_MODEL_NAMES)[number];
133
- /**
134
- * @category AI
135
- */
136
- export type AnthropicChatModelName = (typeof ANTHROPIC_CHAT_MODEL_NAMES)[number];
137
- /**
138
- * @category AI
139
- */
140
- export type AiImageModelName = (typeof AI_IMAGE_MODEL_NAMES)[number];
141
- /**
142
- * @category AI
143
- */
144
- export type AiAudioTranscriptionModelName = (typeof AI_AUDIO_TRANSCRIPTION_MODEL_NAMES)[number];
145
- /**
146
- * @category AI
147
- */
148
- export type AiAudioCreateSpeechModelName = (typeof OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES)[number];
149
- /**
150
- * @category AI
151
- */
152
- export type AiAudioModelName = (typeof OPENAI_AUDIO_MODEL_NAMES)[number];
153
- /**
154
- * @category AI
155
- */
156
- export type OpenAiImageModelName = (typeof OPENAI_IMAGE_MODEL_NAMES)[number];
157
- /**
158
- * @category AI
159
- */
160
- export type OpenAiAudioTranscriptionModelName = (typeof OPENAI_AUDIO_TRANSCRIPTION_MODEL_NAMES)[number];
161
- /**
162
- * @category AI
163
- */
164
- export type OpenAiAudioCreateSpeechModelName = (typeof OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES)[number];
165
- /**
166
- * @category AI
167
- */
168
- export type OpenAiCreateSpeechFormat = (typeof OPEN_AI_CREATE_SPEECH_FORMATS)[number];
169
- /**
170
- * @category AI
171
- */
172
- export type StableDiffusionModelName = (typeof STABLE_DIFFUSION_MODEL_NAMES)[number];
173
- /**
174
- * @category AI
175
- */
176
- export type FluxModelName = (typeof FLUX_MODEL_NAMES)[number];
177
8
  /**
178
9
  * @category AI
179
10
  */
@@ -190,22 +21,6 @@ export type AiAudioTranscribeOptions = OpenAiAudioTranscribeOptions;
190
21
  * @category AI
191
22
  */
192
23
  export type AiAudioCreateSpeechOptions = OpenAiCreateSpeechOptions;
193
- /**
194
- * @category AI
195
- */
196
- export declare const RAG_TYPES: readonly ["contextual", "basic"];
197
- /**
198
- * @category AI
199
- */
200
- export type AiRagType = (typeof RAG_TYPES)[number];
201
- /**
202
- * @category AI
203
- */
204
- export declare const RERANK_PROVIDERS: readonly ["cohere", "none"];
205
- /**
206
- * @category AI
207
- */
208
- export type AiRerankProvider = (typeof RERANK_PROVIDERS)[number];
209
24
  /**
210
25
  * Base options for generating images with an AI model.
211
26
  * @category AI
@@ -376,6 +191,16 @@ export interface AiConnectedAgentMetadata {
376
191
  /** A description of the connected agent for the parent agent context, used as AI function description. */
377
192
  description: string;
378
193
  }
194
+ /**
195
+ * Metadata for a connected AI Knowledge Base callable by the current agent.
196
+ * @category AI
197
+ */
198
+ export interface AiConnectedKnowledgeBaseMetadata {
199
+ /** The ID of the connected AI KnowledgeBase */
200
+ knowledgeBaseId: AiKnowledgeBaseId;
201
+ /** A description of when to use this AiKnowledgeBase */
202
+ description: string;
203
+ }
379
204
  /**
380
205
  * Quotas for a single AI chat prompt (`ask()` method call).
381
206
  * @category AI
@@ -467,6 +292,8 @@ export interface BaseAiChatOptions {
467
292
  connectedAgents?: Array<AiConnectedAgentMetadata>;
468
293
  /** List of connected AI agents can be called by the current agent. Overrides the stored value. */
469
294
  connectedIntegrations?: Array<AiConnectedIntegrationMetadata>;
295
+ /** List of connected AiKnowlegeBases that can be called by the current agent */
296
+ connectedKnowledgeBases?: Array<AiConnectedKnowledgeBaseMetadata>;
470
297
  /** Current budget for nested or recursive AI chat calls per single prompt. */
471
298
  quotas?: AiChatPromptQuotas;
472
299
  /** Include metadata in the context */
@@ -644,7 +471,7 @@ export interface AiAgentContext {
644
471
  /** The ID of the agent owning this context. */
645
472
  agentId: AiAgentId;
646
473
  /** The type of context (e.g., 'text' or 'file'). */
647
- type: AiContextType;
474
+ type: AiKnowledgeBaseContextType;
648
475
  /** A title describing the context content. */
649
476
  title: string;
650
477
  /** The text content of the context. */
@@ -662,7 +489,7 @@ export interface AiAgentContext {
662
489
  export type AgentContextRequest = TextContextRequest | FileContextRequest;
663
490
  interface BaseContextRequest {
664
491
  contextId: string;
665
- type: AiContextType;
492
+ type: AiKnowledgeBaseContextType;
666
493
  metadata?: AiContextMetadata;
667
494
  }
668
495
  /**
@@ -718,10 +545,6 @@ export interface AiContextTextOptions extends BaseAiContextOptions {
718
545
  */
719
546
  export interface AiContextFileOptions extends BaseAiContextOptions {
720
547
  }
721
- /**
722
- * @category AI
723
- */
724
- export type AiContextType = 'text' | 'file';
725
548
  /**
726
549
  * Request structure for adding text-based context to an AI agent.
727
550
  * @category AI
@@ -752,73 +575,6 @@ export interface FileContextRequest extends BaseContextRequest {
752
575
  /** General options for how to process the file. */
753
576
  options?: AiContextFileOptions;
754
577
  }
755
- /**
756
- * @category AI
757
- */
758
- export type AiContextMetadataValue = number | string | boolean | undefined;
759
- /**
760
- * @category AI
761
- */
762
- export type AiContextMetadataValueArray = AiContextMetadataValue[];
763
- interface AiContextMetadataEqFilter {
764
- $eq: AiContextMetadataValue;
765
- }
766
- interface AiContextMetadataNeFilter {
767
- $ne: AiContextMetadataValue;
768
- }
769
- interface AiContextMetadataGtFilter {
770
- $gt: number;
771
- }
772
- interface AiContextMetadataGteFilter {
773
- $gte: number;
774
- }
775
- interface AiContextMetadataLtFilter {
776
- $lt: number;
777
- }
778
- interface AiContextMetadataLteFilter {
779
- $lte: number;
780
- }
781
- interface AiContextMetadataInFilter {
782
- $in: AiContextMetadataValueArray;
783
- }
784
- interface AiContextMetadataNinFilter {
785
- $nin: AiContextMetadataValueArray;
786
- }
787
- interface AiContextMetadataExistsFilter {
788
- $exists: boolean;
789
- }
790
- /**
791
- * @category AI
792
- */
793
- export type AiContextMetadataSimpleFilter = AiContextMetadataEqFilter | AiContextMetadataNeFilter | AiContextMetadataGtFilter | AiContextMetadataGteFilter | AiContextMetadataLtFilter | AiContextMetadataLteFilter | AiContextMetadataInFilter | AiContextMetadataNinFilter | AiContextMetadataExistsFilter;
794
- /**
795
- * A filter for AI context metadata based on field-specific conditions or values.
796
- * @category AI
797
- */
798
- export interface AiContextMetadataFieldFilter {
799
- /** A record where keys are field names and values are either simple filters or direct metadata values. */
800
- [field: string]: AiContextMetadataSimpleFilter | AiContextMetadataValue;
801
- }
802
- /**
803
- * A filter combining multiple AI context metadata filters with a logical AND operation.
804
- * @category AI
805
- */
806
- export interface AiContextMetadataAndFilter {
807
- /** An array of filters that must all be true for the condition to pass. */
808
- $and: AiContextMetadataFilter[];
809
- }
810
- /**
811
- * A filter combining multiple AI context metadata filters with a logical OR operation.
812
- * @category AI
813
- */
814
- export interface AiContextMetadataOrFilter {
815
- /** An array of filters where at least one must be true for the condition to pass. */
816
- $or: AiContextMetadataFilter[];
817
- }
818
- /**
819
- * @category AI
820
- */
821
- export type AiContextMetadataFilter = AiContextMetadataFieldFilter | AiContextMetadataAndFilter | AiContextMetadataOrFilter;
822
578
  /**
823
579
  * Base options for how to deal with the content being upserted.
824
580
  * @category AI
@@ -829,11 +585,6 @@ export type BaseAiContextOptions = {
829
585
  /** Amount of chunk overlap, in characters. */
830
586
  chunkOverlap?: number;
831
587
  };
832
- /**
833
- * A record of metadata key-value pairs for AI context, where values are primitive types or undefined.
834
- * @category AI
835
- */
836
- export type AiContextMetadata = Record<string, AiContextMetadataValue>;
837
588
  /**
838
589
  * @category AI
839
590
  */
@@ -1,4 +1,5 @@
1
- import { AiAgentResponseFormat, AiReasoningEffort, OpenAiChatModelName } from './ai-agent.public-types';
1
+ import { AiAgentResponseFormat, AiReasoningEffort } from './ai-agent.public-types';
2
+ import { OpenAiChatModelName } from './ai-common.public-types';
2
3
  import { AiFunctionId } from './backend.public-types';
3
4
  /**
4
5
  * The type of assistant tool.
@@ -0,0 +1,185 @@
1
+ import { UserAiChatModelName } from './backend.public-types';
2
+ /**
3
+ * @category AI
4
+ */
5
+ export declare const RERANK_PROVIDERS: readonly ["cohere", "none"];
6
+ /**
7
+ * @category AI
8
+ */
9
+ export type AiRerankProvider = (typeof RERANK_PROVIDERS)[number];
10
+ /** List of available AI provider types. See AiProviderType. */
11
+ export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "flux", "gemini", "openai", "grok", "stability", "voyage", "external"];
12
+ /**
13
+ * Type of the AI provider.
14
+ * References a single AI service, regardless of the model or other AI function it provides (like
15
+ * chat/search/transcribe etc...).
16
+ */
17
+ export type AiProviderType = (typeof AI_PROVIDER_TYPES)[number];
18
+ /**
19
+ * The supported OpenAI models.
20
+ * @category AI
21
+ */
22
+ export declare const OPENAI_O1_CHAT_MODEL_NAMES: readonly ["o1"];
23
+ /**
24
+ * @category AI
25
+ */
26
+ export declare const OPENAI_REASONING_CHAT_MODEL_NAMES: readonly ["o1", "o3", "o3-mini", "o4-mini"];
27
+ /**
28
+ * @category AI
29
+ */
30
+ export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o3", "o3-mini", "o4-mini"];
31
+ /**
32
+ * @category AI
33
+ */
34
+ export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite"];
35
+ /**
36
+ * Notes:
37
+ * - 'grok-3-mini' model os ~10x less expensive than 'grok-3'.
38
+ * - '*-fast' models are ~2x more expensive than non-fast variants and only marginally faster.
39
+ * - 'grok-4' cost is comparable to 'grok-3-fast'.
40
+ *
41
+ * @category AI
42
+ */
43
+ export declare const GROK_CHAT_MODEL_NAMES: readonly ["grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4"];
44
+ /**
45
+ * @category AI
46
+ */
47
+ export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514"];
48
+ /**
49
+ * The supported AI model names.
50
+ * @category AI
51
+ */
52
+ export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o3", "o3-mini", "o4-mini", "claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514", "gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite", "grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4"];
53
+ /**
54
+ * Check if the given model name is a global AI chat model name.
55
+ */
56
+ export declare function isVendorAiChatModelName(modelName: string): modelName is (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
57
+ /**
58
+ * @category AI
59
+ */
60
+ export declare const OPENAI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small"];
61
+ /**
62
+ * @category AI
63
+ */
64
+ export declare const VOYAGE_EMBEDDING_MODEL_NAMES: readonly ["voyage-3-large"];
65
+ /**
66
+ * @category AI
67
+ */
68
+ export declare const AI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small", "voyage-3-large"];
69
+ /**
70
+ * The supported AI image generation model names.
71
+ * @category AI
72
+ */
73
+ export declare const OPENAI_IMAGE_MODEL_NAMES: readonly ["dall-e-3"];
74
+ /**
75
+ * @category AI
76
+ */
77
+ export declare const OPENAI_AUDIO_TRANSCRIPTION_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe"];
78
+ /**
79
+ * @category AI
80
+ */
81
+ export declare const OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES: readonly ["tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
82
+ /**
83
+ * @category AI
84
+ */
85
+ export declare const OPENAI_AUDIO_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe", "tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
86
+ /**
87
+ * @category AI
88
+ */
89
+ export declare const STABLE_DIFFUSION_MODEL_NAMES: readonly ["stable-diffusion-core"];
90
+ /**
91
+ * @category AI
92
+ */
93
+ export declare const FLUX_MODEL_NAMES: readonly ["flux-pro-1.1"];
94
+ /**
95
+ * @category AI
96
+ */
97
+ export declare const AI_IMAGE_MODEL_NAMES: readonly ["dall-e-3", "stable-diffusion-core", "flux-pro-1.1"];
98
+ /**
99
+ * @category AI
100
+ */
101
+ export declare const AI_AUDIO_TRANSCRIPTION_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe"];
102
+ /**
103
+ * @category AI
104
+ */
105
+ export declare const AI_AUDIO_CREATE_SPEECH_MODEL_NAMES: readonly ["tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
106
+ /**
107
+ * @category AI
108
+ */
109
+ export declare const OPEN_AI_CREATE_SPEECH_FORMATS: readonly ["mp3", "opus", "aac", "flac", "wav", "pcm"];
110
+ /**
111
+ * @category AI
112
+ */
113
+ export type VendorAiChatModelName = (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
114
+ /**
115
+ * @category AI
116
+ */
117
+ export type AiChatModelName = VendorAiChatModelName | UserAiChatModelName;
118
+ /**
119
+ * @category AI
120
+ */
121
+ export type AiEmbeddingsModelName = (typeof AI_EMBEDDINGS_MODEL_NAMES)[number];
122
+ /**
123
+ * @category AI
124
+ */
125
+ export type AiVoyageEmbeddingsModelName = (typeof VOYAGE_EMBEDDING_MODEL_NAMES)[number];
126
+ /**
127
+ * @category AI
128
+ */
129
+ export type OpenAiChatModelName = (typeof OPENAI_CHAT_MODEL_NAMES)[number];
130
+ /**
131
+ * @category AI
132
+ */
133
+ export type OpenAiReasoningChatModelName = (typeof OPENAI_REASONING_CHAT_MODEL_NAMES)[number];
134
+ /**
135
+ * @category AI
136
+ */
137
+ export type GeminiChatModelName = (typeof GEMINI_CHAT_MODEL_NAMES)[number];
138
+ /**
139
+ * @category AI
140
+ */
141
+ export type GrokChatModelName = (typeof GROK_CHAT_MODEL_NAMES)[number];
142
+ /**
143
+ * @category AI
144
+ */
145
+ export type AnthropicChatModelName = (typeof ANTHROPIC_CHAT_MODEL_NAMES)[number];
146
+ /**
147
+ * @category AI
148
+ */
149
+ export type AiImageModelName = (typeof AI_IMAGE_MODEL_NAMES)[number];
150
+ /**
151
+ * @category AI
152
+ */
153
+ export type AiAudioTranscriptionModelName = (typeof AI_AUDIO_TRANSCRIPTION_MODEL_NAMES)[number];
154
+ /**
155
+ * @category AI
156
+ */
157
+ export type AiAudioCreateSpeechModelName = (typeof OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES)[number];
158
+ /**
159
+ * @category AI
160
+ */
161
+ export type AiAudioModelName = (typeof OPENAI_AUDIO_MODEL_NAMES)[number];
162
+ /**
163
+ * @category AI
164
+ */
165
+ export type OpenAiImageModelName = (typeof OPENAI_IMAGE_MODEL_NAMES)[number];
166
+ /**
167
+ * @category AI
168
+ */
169
+ export type OpenAiAudioTranscriptionModelName = (typeof OPENAI_AUDIO_TRANSCRIPTION_MODEL_NAMES)[number];
170
+ /**
171
+ * @category AI
172
+ */
173
+ export type OpenAiAudioCreateSpeechModelName = (typeof OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES)[number];
174
+ /**
175
+ * @category AI
176
+ */
177
+ export type OpenAiCreateSpeechFormat = (typeof OPEN_AI_CREATE_SPEECH_FORMATS)[number];
178
+ /**
179
+ * @category AI
180
+ */
181
+ export type StableDiffusionModelName = (typeof STABLE_DIFFUSION_MODEL_NAMES)[number];
182
+ /**
183
+ * @category AI
184
+ */
185
+ export type FluxModelName = (typeof FLUX_MODEL_NAMES)[number];