@mux/ai 0.65.0 → 0.66.0-canary.107

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.
@@ -1,5 +1,5 @@
1
1
  import { LanguageModel, generateText as generateText$1 } from 'ai';
2
- import { aO as ClassifiedErrorsOption, O as WorkflowCredentialsInput, d as MuxAiError, e as MuxAsset, A as AssetTextTrack, a as MuxAiErrorFacts, K as TokenUsage, D as ScopedMuxAIOptions, I as ImageSubmissionMode, y as MuxAIOptions, j as ChunkingStrategy, N as VideoEmbeddingsResult, a9 as Hotspot, ag as Shot, a5 as VTTCue, L as ToneType, H as StorageAdapter } from './transcripts-qZm-RokR.js';
2
+ import { k as ClassifiedErrorsOption, Z as WorkflowCredentialsInput, f as MuxAiError, h as MuxAsset, A as AssetTextTrack, a as MuxAiErrorFacts, R as TokenUsage, K as ScopedMuxAIOptions, I as ImageSubmissionMode, G as MuxAIOptions, n as ChunkingStrategy, Y as VideoEmbeddingsResult, ae as Hotspot, al as Shot, aa as VTTCue, U as ToneType, O as StorageAdapter } from './transcripts-DYpx6Mac.js';
3
3
  import { z } from 'zod';
4
4
  import { S as SafetyReport, e as PromptOverrides, h as SceneContextItemV1, D as DEFAULT_DESCRIPTION_LENGTH, a as DEFAULT_SUMMARY_KEYWORD_LIMIT, b as DEFAULT_TITLE_LENGTH } from './summarization-BFmhXeAu.js';
5
5
  import { createAnthropic } from '@ai-sdk/anthropic';
@@ -1,4 +1,4 @@
1
- import { O as WorkflowCredentialsInput, R as WorkflowScope, T as TextChunk, j as ChunkingStrategy, a5 as VTTCue, a6 as CompletedShotsResult, a7 as DeletedShotsResult, a8 as ErroredShotsResult, a9 as Hotspot, aa as HotspotOptions, ab as HotspotResponse, ac as LOW_CONFIDENCE_THRESHOLD, ad as MAX_CUE_TEXT_CHARS, ae as ParseVTTCuesOptions, af as PendingShotsResult, ag as Shot, ah as ShotRequestOptions, ai as ShotsResult, aj as SkippedShotsResult, ak as TranscriptEmptyReason, al as TranscriptFetchOptions, am as TranscriptFetchStepResult, an as TranscriptResult, ao as WaitForShotsOptions, ap as buildTranscriptUrl, aq as buildVttFromCueBlocks, ar as buildVttFromTranslatedCueBlocks, as as concatenateVttSegments, at as extractTextFromVTT, au as extractTimestampedTranscript, av as fetchTranscriptDataForUrl, aw as fetchTranscriptForAsset, ax as filterVttByScope, ay as findCaptionTrack, az as getHotspotsForAsset, aA as getHotspotsForPlaybackId, aB as getHotspotsForVideo, aC as getReadyTextTracks, aD as getReliableLanguageCode, aE as getShotsForAsset, aF as parseVTTCues, aG as replaceCueText, aH as requestShotsForAsset, aI as sanitizeUntrustedText, aJ as secondsToTimestamp, aK as splitVttPreambleAndCueBlocks, aL as stripVttMetadataBlocks, aM as vttTimestampToSeconds, aN as waitForShotsForAsset } from './transcripts-qZm-RokR.js';
1
+ import { Z as WorkflowCredentialsInput, $ as WorkflowScope, T as TextChunk, n as ChunkingStrategy, aa as VTTCue, ab as CompletedShotsResult, ac as DeletedShotsResult, ad as ErroredShotsResult, ae as Hotspot, af as HotspotOptions, ag as HotspotResponse, ah as LOW_CONFIDENCE_THRESHOLD, ai as MAX_CUE_TEXT_CHARS, aj as ParseVTTCuesOptions, ak as PendingShotsResult, al as Shot, am as ShotRequestOptions, an as ShotsResult, ao as SkippedShotsResult, ap as TranscriptEmptyReason, aq as TranscriptFetchOptions, ar as TranscriptFetchStepResult, as as TranscriptResult, at as WaitForShotsOptions, au as buildTranscriptUrl, av as buildVttFromCueBlocks, aw as buildVttFromTranslatedCueBlocks, ax as concatenateVttSegments, ay as extractTextFromVTT, az as extractTimestampedTranscript, aA as fetchTranscriptDataForUrl, aB as fetchTranscriptForAsset, aC as filterVttByScope, aD as findCaptionTrack, aE as getHotspotsForAsset, aF as getHotspotsForPlaybackId, aG as getHotspotsForVideo, aH as getReadyTextTracks, aI as getReliableLanguageCode, aJ as getShotsForAsset, aK as parseVTTCues, aL as replaceCueText, aM as requestShotsForAsset, aN as sanitizeUntrustedText, aO as secondsToTimestamp, aP as splitVttPreambleAndCueBlocks, aQ as stripVttMetadataBlocks, aR as vttTimestampToSeconds, aS as waitForShotsForAsset } from './transcripts-DYpx6Mac.js';
2
2
 
3
3
  interface HeatmapOptions {
4
4
  /** Time window for results, e.g., '7:days' (default: '7:days') */
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { M as MuxAiErrorDependency, a as MuxAiErrorFacts, b as MuxAiErrorSource, c as MuxAiErrorType, d as MuxAiError, e as MuxAsset, f as MuxAiErrorFactValue, g as MuxAiErrorCode, C as ClassifiedError, W as WorkflowCredentials, S as StoragePutObjectInput, h as StoragePresignGetObjectInput } from './transcripts-qZm-RokR.js';
2
- export { A as AssetTextTrack, i as ChunkEmbedding, j as ChunkingStrategy, k as ClassifiedErrorInit, l as CodedClassification, E as Encrypted, m as EncryptedPayload, n as ErrorCatalogEntry, o as ErrorCauseSummary, I as ImageSubmissionMode, p as MUX_AI_ERROR_CATALOG, q as MUX_AI_ERROR_CODES, r as MUX_AI_ERROR_CODE_VALUES, s as MUX_AI_ERROR_DEPENDENCIES, t as MUX_AI_ERROR_DEPENDENCY_VALUES, u as MUX_AI_ERROR_SOURCES, v as MUX_AI_ERROR_SOURCE_VALUES, w as MUX_AI_ERROR_TYPES, x as MUX_AI_ERROR_TYPE_VALUES, y as MuxAIOptions, z as MuxAiErrorInit, P as PlaybackAsset, B as PlaybackPolicy, D as ScopedMuxAIOptions, F as SerializedClassification, G as SourceAndDependency, H as StorageAdapter, T as TextChunk, J as TokenChunkingConfig, K as TokenUsage, L as ToneType, U as UsageMetadata, V as VTTChunkingConfig, N as VideoEmbeddingsResult, O as WorkflowCredentialsInput, Q as WorkflowMuxClient, R as WorkflowScope, X as assertNever, Y as classificationInit, Z as decryptFromWorkflow, _ as encryptForWorkflow, $ as errorDetailFact, a0 as internalError, a1 as isTransientStatus, a2 as restoreClassification, a3 as serializeClassification, a4 as wrapError } from './transcripts-qZm-RokR.js';
3
- export { I as ISO639_1, a as ISO639_3, L as LanguageCodePair, M as MUX_TRACK_PASSTHROUGH_MAX_CHARS, R as ReplaceAndCreateTextTrackInput, b as ReplaceAndCreateTextTrackResult, c as ReplaceAndCreateTrackInput, d as ReplaceExistingTracksPolicy, e as ReplaceSourceTrackInput, f as ReplaceableTrackType, S as SourceTrackReplacementPolicy, g as SupportedISO639_1, h as SupportedISO639_3, T as TextTrackReplacementPlan, i as TextTrackSummary, j as TextTrackTarget, k as TrackReplacementBlocked, l as TrackReplacementBlockedReason, m as TrackSummary, n as TrackTarget, o as buildMuxAiTrackPassthrough, p as findNameCollisionTextTracks, q as findSameLanguageTextTracks, r as getLanguageCodePair, s as getLanguageName, t as isDuplicateTrackNameError, u as isMuxGeneratedTextTrack, v as isUndeterminedLanguageCode, w as isValidISO639_1, x as isValidISO639_3, y as normalizeTrackLanguageCode, z as normalizeTrackName, A as planSourceTrackReplacement, B as planTextTrackReplacement, C as replaceAndCreateTextTrack, D as replaceAndCreateTrack, E as replaceSourceTrack, F as summarizeTextTrack, G as toISO639_1, H as toISO639_3, J as trackReplacementBlockedError, K as trackTargetFacts, N as validateTrackPassthrough, O as workflows } from './index-BUM1MVpR.js';
1
+ import { M as MuxAiErrorDependency, a as MuxAiErrorFacts, b as MUX_AI_ERROR_SOURCES, c as MuxAiErrorSource, d as MuxAiSiteDependencyCode, e as MuxAiErrorType, f as MuxAiError, g as MuxAiDependencyStatusCode, h as MuxAsset, i as MuxAiErrorFactValue, j as MuxAiErrorCode, C as ClassifiedError, W as WorkflowCredentials, k as ClassifiedErrorsOption, S as StoragePutObjectInput, l as StoragePresignGetObjectInput } from './transcripts-DYpx6Mac.js';
2
+ export { A as AssetTextTrack, m as ChunkEmbedding, n as ChunkingStrategy, o as ClassifiedErrorInit, p as CodedClassification, E as Encrypted, q as EncryptedPayload, r as ErrorCatalogEntry, s as ErrorCauseSummary, I as ImageSubmissionMode, t as MUX_AI_DEPENDENCY_STATUS_CODES, u as MUX_AI_DEPENDENCY_STATUS_CODE_VALUES, v as MUX_AI_ERROR_CATALOG, w as MUX_AI_ERROR_CODES, x as MUX_AI_ERROR_CODE_VALUES, y as MUX_AI_ERROR_DEPENDENCIES, z as MUX_AI_ERROR_DEPENDENCY_VALUES, B as MUX_AI_ERROR_SOURCE_VALUES, D as MUX_AI_ERROR_TYPES, F as MUX_AI_ERROR_TYPE_VALUES, G as MuxAIOptions, H as MuxAiErrorInit, P as PlaybackAsset, J as PlaybackPolicy, K as ScopedMuxAIOptions, L as SerializedClassification, N as SourceAndDependency, O as StorageAdapter, T as TextChunk, Q as TokenChunkingConfig, R as TokenUsage, U as ToneType, V as UsageMetadata, X as VTTChunkingConfig, Y as VideoEmbeddingsResult, Z as WorkflowCredentialsInput, _ as WorkflowMuxClient, $ as WorkflowScope, a0 as assertNever, a1 as classificationInit, a2 as decryptFromWorkflow, a3 as encryptForWorkflow, a4 as errorDetailFact, a5 as internalError, a6 as isTransientStatus, a7 as restoreClassification, a8 as serializeClassification, a9 as wrapError } from './transcripts-DYpx6Mac.js';
3
+ export { I as ISO639_1, a as ISO639_3, L as LanguageCodePair, M as MUX_TRACK_PASSTHROUGH_MAX_CHARS, R as ReplaceAndCreateTextTrackInput, b as ReplaceAndCreateTextTrackResult, c as ReplaceAndCreateTrackInput, d as ReplaceExistingTracksPolicy, e as ReplaceSourceTrackInput, f as ReplaceableTrackType, S as SourceTrackReplacementPolicy, g as SupportedISO639_1, h as SupportedISO639_3, T as TextTrackReplacementPlan, i as TextTrackSummary, j as TextTrackTarget, k as TrackReplacementBlocked, l as TrackReplacementBlockedReason, m as TrackSummary, n as TrackTarget, o as buildMuxAiTrackPassthrough, p as findNameCollisionTextTracks, q as findSameLanguageTextTracks, r as getLanguageCodePair, s as getLanguageName, t as isDuplicateTrackNameError, u as isMuxGeneratedTextTrack, v as isUndeterminedLanguageCode, w as isValidISO639_1, x as isValidISO639_3, y as normalizeTrackLanguageCode, z as normalizeTrackName, A as planSourceTrackReplacement, B as planTextTrackReplacement, C as replaceAndCreateTextTrack, D as replaceAndCreateTrack, E as replaceSourceTrack, F as summarizeTextTrack, G as toISO639_1, H as toISO639_3, J as trackReplacementBlockedError, K as trackTargetFacts, N as validateTrackPassthrough, O as workflows } from './index-Be9HQB67.js';
4
4
  import { WORKFLOW_SERIALIZE, WORKFLOW_DESERIALIZE } from '@workflow/serde';
5
- export { i as primitives } from './index-DtZUwuCb.js';
5
+ export { i as primitives } from './index-D_kEPGJj.js';
6
6
  import '@mux/ts';
7
7
  import 'ai';
8
8
  import 'zod';
@@ -11,7 +11,7 @@ import '@ai-sdk/anthropic';
11
11
  import '@ai-sdk/google';
12
12
  import '@ai-sdk/openai';
13
13
 
14
- var version = "0.65.0";
14
+ var version = "0.66.0-canary.107";
15
15
 
16
16
  interface DependencyErrorInit {
17
17
  dependency: MuxAiErrorDependency;
@@ -22,10 +22,20 @@ interface DependencyErrorInit {
22
22
  requestId?: string;
23
23
  facts?: MuxAiErrorFacts;
24
24
  cause?: unknown;
25
- /** Source for a 404. Defaults to `internal` (we built the request). */
26
- notFoundSource?: MuxAiErrorSource;
27
- /** Source for a 401/403. Defaults to `internal` (our own credentials). */
28
- authSource?: MuxAiErrorSource;
25
+ /**
26
+ * Source for a 404. Defaults to `internal` (we built the request). `asset` when the
27
+ * call was for something belonging to the asset: `dependencyError` codes it
28
+ * `asset_resource_not_found`. Only sources with a code; `classifyDependencyFailure`
29
+ * takes any (see {@link DependencyFailureInit}).
30
+ */
31
+ notFoundSource?: typeof MUX_AI_ERROR_SOURCES.INTERNAL | typeof MUX_AI_ERROR_SOURCES.ASSET;
32
+ /**
33
+ * Source for a 401/403. Defaults to `internal` (our own credentials). `account` when
34
+ * the call used the caller's Mux credentials: `dependencyError` codes it
35
+ * `account_credentials_rejected`, blamed on `credentials` unless `authInputs` names
36
+ * others. Only sources with a code, as for `notFoundSource`.
37
+ */
38
+ authSource?: typeof MUX_AI_ERROR_SOURCES.INTERNAL | typeof MUX_AI_ERROR_SOURCES.ACCOUNT;
29
39
  /** The caller's inputs a 401/403 is blamed on (e.g. `credentials`), recorded as the `inputs` fact. */
30
40
  authInputs?: readonly string[];
31
41
  /** The call timed out before a response arrived. */
@@ -41,6 +51,30 @@ interface DependencyErrorInit {
41
51
  /** Site override, as on `MuxAiError`, e.g. when the dependency says whether a new attempt may succeed. */
42
52
  retryable?: boolean;
43
53
  }
54
+ /**
55
+ * {@link DependencyErrorInit} plus the catalog code a per-dependency rule recognized in
56
+ * the response, e.g. `provider_rate_limited`. Kept apart from `DependencyErrorInit` so
57
+ * consumers that build their own errors from it can add their own `code`.
58
+ */
59
+ interface RecognizedDependencyErrorInit extends DependencyErrorInit {
60
+ /**
61
+ * The code sets the type and source, and its own retry policy wins over the status
62
+ * rules. Only codes whose site names the dependency, so the error can't contradict the
63
+ * catalog's dependency. A fallback code a status can't express is passed the same way,
64
+ * e.g. `dependency_response_failed` for a dependency that answered with an error of its
65
+ * own. Without one, the error gets the status's fallback code (see
66
+ * {@link dependencyFailureCode}).
67
+ */
68
+ code?: MuxAiSiteDependencyCode;
69
+ }
70
+ /**
71
+ * What {@link classifyDependencyFailure} reads: {@link DependencyErrorInit}'s fields, with
72
+ * any source for a 404 or 401/403, for consumers classifying failures on their own catalogs.
73
+ */
74
+ type DependencyFailureInit = Pick<DependencyErrorInit, "call" | "status" | "requestId" | "facts" | "authInputs" | "timedOut" | "idempotent" | "transient" | "retryable"> & {
75
+ notFoundSource?: MuxAiErrorSource;
76
+ authSource?: MuxAiErrorSource;
77
+ };
44
78
 
45
79
  /**
46
80
  * The classification of a failed call to a remote service, from its HTTP status:
@@ -50,7 +84,7 @@ interface DependencyErrorInit {
50
84
  * by {@link dependencyError} and by consumers building their own errors on the same
51
85
  * model, so remote failures are classified the same way everywhere.
52
86
  */
53
- declare function classifyDependencyFailure(init: Pick<DependencyErrorInit, "call" | "status" | "requestId" | "facts" | "notFoundSource" | "authSource" | "authInputs" | "timedOut" | "idempotent" | "transient" | "retryable">): {
87
+ declare function classifyDependencyFailure(init: DependencyFailureInit): {
54
88
  type: MuxAiErrorType;
55
89
  source: MuxAiErrorSource;
56
90
  facts: MuxAiErrorFacts;
@@ -58,16 +92,72 @@ declare function classifyDependencyFailure(init: Pick<DependencyErrorInit, "call
58
92
  retryable?: boolean;
59
93
  };
60
94
  /**
61
- * Classifies a failed call to a remote service from its HTTP status (see
62
- * {@link classifyDependencyFailure}). Transient failures are retried by the Workflow
95
+ * The fallback code for a remote call's failure, from its HTTP status (or the lack of
96
+ * one). Use it only when no per-dependency rule recognized the response. It names what
97
+ * was observed, never a cause: a 400 is `dependency_request_rejected`, not a bad request.
98
+ */
99
+ declare function dependencyFailureCode({ status, timedOut }: Pick<DependencyErrorInit, "status" | "timedOut">): MuxAiDependencyStatusCode;
100
+ /**
101
+ * Classifies a failed call to a remote service. Every failure gets a code, and the code
102
+ * sets the type and source: the site's `code` from a per-dependency rule; else the code
103
+ * for a source the site chose for a 404 or 401/403; else the status's fallback code
104
+ * (see {@link dependencyFailureCode}). Transient failures are retried by the Workflow
63
105
  * step runner; everything else is fatal.
64
106
  */
65
- declare function dependencyError(message: string, init: DependencyErrorInit): MuxAiError;
107
+ declare function dependencyError(message: string, init: RecognizedDependencyErrorInit): MuxAiError;
66
108
  /** Reads the HTTP status off an SDK error (`status` or `statusCode`), if it has one. */
67
109
  declare function httpStatusOf(error: unknown): number | undefined;
68
110
  /** Reads a request id from response headers (a `Headers` instance or a plain record). */
69
111
  declare function requestIdOf(headers: unknown): string | undefined;
70
112
 
113
+ /**
114
+ * What went wrong with an ElevenLabs call, as plain data so it can cross a
115
+ * workflow step boundary intact. Thrown errors lose their custom fields there.
116
+ *
117
+ * `detail` is internal diagnostics (status line, provider message, request ID)
118
+ * and must never reach a customer; callers build the customer-facing message
119
+ * from `reason` and `retryable` instead.
120
+ */
121
+ interface ElevenLabsFailure {
122
+ /** HTTP status, when the call got a response. */
123
+ httpStatus?: number;
124
+ /**
125
+ * ElevenLabs' machine-readable reason, such as `unsupported_target_language`,
126
+ * or `timeout` / `network_error` / `unexpected_response` when there was no
127
+ * usable response.
128
+ */
129
+ reason?: string;
130
+ /**
131
+ * Every machine-readable value the error body carried: its `code` and its legacy
132
+ * `status` field (ElevenLabs is moving from `status` to `code`, and may send both).
133
+ * The rules in `ELEVENLABS_ERROR_CODES` match any of them.
134
+ */
135
+ providerCodes?: string[];
136
+ /** ElevenLabs' request ID, when the response carried one. */
137
+ requestId?: string;
138
+ /** Whether repeating the same call could succeed. */
139
+ retryable: boolean;
140
+ /** Internal diagnostics for logs. Never customer-facing. */
141
+ detail: string;
142
+ }
143
+ type AudioReason = "corrupt" | "unsupported_format" | "too_long" | "too_short";
144
+ /** The rule matching any of a failure's provider codes, if one does. */
145
+ declare function elevenLabsErrorRule(failure: Pick<ElevenLabsFailure, "reason" | "providerCodes">): {
146
+ code: MuxAiSiteDependencyCode;
147
+ reason?: AudioReason;
148
+ } | undefined;
149
+ /**
150
+ * The classified error for a failed ElevenLabs call, raised once the workflow has
151
+ * finished retrying it. The provider's detail goes in facts. Not transient: the
152
+ * caller already retried, or the call is a paid create that must not repeat.
153
+ * `failure.retryable` says whether a new job may succeed.
154
+ */
155
+ declare function elevenLabsFailureError(message: string, call: string, failure: ElevenLabsFailure, facts?: MuxAiErrorFacts): MuxAiError;
156
+ /** Describes a failed HTTP response, such as a download from a signed output URL. */
157
+ declare function elevenLabsResponseFailure(response: Response): Promise<ElevenLabsFailure>;
158
+ /** Describes an error thrown by `@elevenlabs/elevenlabs-js`. */
159
+ declare function elevenLabsSdkFailure(error: unknown): ElevenLabsFailure;
160
+
71
161
  /**
72
162
  * Which file to read from an asset whose static renditions come from the
73
163
  * deprecated `mp4_support` option.
@@ -261,6 +351,10 @@ declare const MUX_AI_ERROR_PUBLIC_MAPPINGS: {
261
351
  retryable: boolean;
262
352
  }) => string;
263
353
  };
354
+ readonly audio_unprocessable: {
355
+ readonly facts: readonly ["reason"];
356
+ readonly message: (facts: Readonly<Record<string, MuxAiErrorFactValue>>) => string;
357
+ };
264
358
  };
265
359
  /** The SDK's wording for a failure without a public code: by source, then by type. */
266
360
  declare function genericPublicMessage(error: ClassifiedError): string;
@@ -290,7 +384,8 @@ type WorkflowCredentialsProvider = () => Promise<WorkflowCredentials | undefined
290
384
  */
291
385
  declare function setWorkflowCredentialsProvider(provider?: WorkflowCredentialsProvider): void;
292
386
 
293
- interface WorkflowStorageClientOptions {
387
+ /** With `classifiedErrors`, uploads fail with classified `storage` errors (see `storage-errors.ts`). */
388
+ interface WorkflowStorageClientOptions extends ClassifiedErrorsOption {
294
389
  accessKeyId?: string;
295
390
  secretAccessKey?: string;
296
391
  }
@@ -303,6 +398,7 @@ interface WorkflowStorageClientOptions {
303
398
  declare class WorkflowStorageClient {
304
399
  private readonly accessKeyId?;
305
400
  private readonly secretAccessKey?;
401
+ private readonly classifiedErrors?;
306
402
  constructor(options?: WorkflowStorageClientOptions);
307
403
  private resolveCredentials;
308
404
  putObject(input: StoragePutObjectInput): Promise<void>;
@@ -312,4 +408,4 @@ declare class WorkflowStorageClient {
312
408
  }
313
409
  declare function createWorkflowStorageClient(options?: WorkflowStorageClientOptions): WorkflowStorageClient;
314
410
 
315
- export { ClassifiedError, type DependencyErrorInit, type LegacyMp4SupportRendition, MUX_AI_ERROR_GENERIC_MESSAGES, MUX_AI_ERROR_PUBLIC_MAPPINGS, MuxAiError, MuxAiErrorCode, MuxAiErrorDependency, MuxAiErrorFactValue, MuxAiErrorFacts, MuxAiErrorSource, MuxAiErrorType, type MuxAiPublicError, MuxAsset, type MuxPlaybackService, type PublicError, type PublicErrorMapping, STATIC_RENDITIONS_GUIDE_URL, StoragePresignGetObjectInput, StoragePutObjectInput, WorkflowCredentials, type WorkflowCredentialsProvider, WorkflowStorageClient, classifyDependencyFailure, createPublicErrorView, createWorkflowStorageClient, dependencyError, genericPublicMessage, getLegacyMp4SupportRenditionSizeError, getMuxPlaybackOrigin, httpStatusOf, requestIdOf, resolveLegacyMp4SupportRendition, setWorkflowCredentialsProvider, toPublicError, usesLegacyMp4Support, version };
411
+ export { ClassifiedError, type DependencyErrorInit, type DependencyFailureInit, type ElevenLabsFailure, type LegacyMp4SupportRendition, MUX_AI_ERROR_GENERIC_MESSAGES, MUX_AI_ERROR_PUBLIC_MAPPINGS, MUX_AI_ERROR_SOURCES, MuxAiDependencyStatusCode, MuxAiError, MuxAiErrorCode, MuxAiErrorDependency, MuxAiErrorFactValue, MuxAiErrorFacts, MuxAiErrorSource, MuxAiErrorType, type MuxAiPublicError, MuxAiSiteDependencyCode, MuxAsset, type MuxPlaybackService, type PublicError, type PublicErrorMapping, type RecognizedDependencyErrorInit, STATIC_RENDITIONS_GUIDE_URL, StoragePresignGetObjectInput, StoragePutObjectInput, WorkflowCredentials, type WorkflowCredentialsProvider, WorkflowStorageClient, classifyDependencyFailure, createPublicErrorView, createWorkflowStorageClient, dependencyError, dependencyFailureCode, elevenLabsErrorRule, elevenLabsFailureError, elevenLabsResponseFailure, elevenLabsSdkFailure, genericPublicMessage, getLegacyMp4SupportRenditionSizeError, getMuxPlaybackOrigin, httpStatusOf, requestIdOf, resolveLegacyMp4SupportRendition, setWorkflowCredentialsProvider, toPublicError, usesLegacyMp4Support, version };